I am not sure if Julia already has something like this, because there was some work precompilation. Can someone throw some light on this ?
If you are interested in more details, there was a talk two years about the compiler design: https://www.youtube.com/watch?v=osdeT-tWjzk (many type names and implementation details have changed since then, but conceptually it is still very applicable).