Hi,
Could you help me by explaining how does RuntimeGeneratedFunctions.jl work, i.e., how it generates functions without world-age issue? I would really appreciate it.
Hi,
Could you help me by explaining how does RuntimeGeneratedFunctions.jl work, i.e., how it generates functions without world-age issue? I would really appreciate it.
I think their docs are pretty good, no? If you have a specific question about something that is unclear in the docs or a specific task you are trying to do but having trouble with, we can be a lot more helpful!
I‘m assuming the question is about how the implementation works, i. e. how it manages to avoid the world age problem. As far as I can tell, this is not explained in the documentation.
From what I can tell, one pre-existing method of a @generated
function is compiled with the cached “function” expressions instead of actually eval
uating a new method or function, which would exist in a newer world age.