3 ms·
Julia mostly ignores static compilation (although there now is work to add the ability to statically compile for a relatively large but limited subset of the la
by adgjlsfhk1 4y ago
Julia mostly ignores static compilation (although there now is work to add the ability to statically compile for a relatively large but limited subset of the language).
The big thing that this allows is for you take the ideas of C++ templates to the extreme. In Julia pretty much every function behaves like a C++ function that is templated on the type of every input. This has the major advantage that it is really easy to write extremely fast generic code. This only works in general though because Julia only has to generate code for the types that actually appear rather than all the type combinations that static analysis can conclude might appear.