Author Archives: Frames White

Resident Eval, Top level metaprogramming patterns in JuliaLang

By: Frames White

Re-posted from: https://www.oxinabox.net/2023/06/17/resident-eval.html

This post brought to you by the same manic “I gotta stay awake to move my body clock to Boston” as last night’s blog post.
But it’s even more manic, as I am very much jetlagged now. Expect typos.
And weird digressions.
Anyway, topic this time is metaprogramming patterns.
In particular patterns for how to use eval at the top level.

Continue reading

Top level code in JuliaLang doesn’t do what you think it does

By: Frames White

Re-posted from: https://www.oxinabox.net/2023/06/16/top-level-code-in-julia.html

Hiii, it’s ya girl.
She is sleep deprieved because she need to adjust her sleep cycle 12 hours to prepare for JuliaCon 2023 in Boston.
Thus this blog-post is coming to you fresh from the small hours of the morning in Australia, to keep me awake.
Expect this to be more manic than usual.
I am here today to tell you that you are probabl wrong about what top-level code in julialang does.
Though if you understand precompilation well, then you do know that.
This post will explain what is even the point of __init__.

Continue reading