Blog post: Review of trimming for AoC 2025

Dear all,

I wrote a new blog post on Julia. This time, a review of the use of trimming for Advent of Code so far.

It also contains a bunch of opinions / speculation / rambling about Julia and Julia development in general. Enjoy.

9 Likes

Thanks for sharing! Learned something new :slightly_smiling_face:

Not the prettiest, or most readable error. It says fatal: error thrown and no exception handler available. . I would guess that Julia’s normal exception handling is one of those critical components of Julia itself that unfortunately contains dynamic APIs, and therefore can’t be trimmed - probably, JuliaC has a separate, inferrible implementation of exceptions.

We can and maybe should fix this, try catch is perfectly inferable, it’s just that we don’t insert one around your main function like Julia normally does. But printing a stack trace properly is hard funnily enough. julia/base/client.jl at 3484331cb1925a67b7e08f706bd36d34791ae9d6 · JuliaLang/julia · GitHub for where it usually happens

2 Likes