Just curious, does Julia have some way to save functions it has compiled to a file alongside the script it ran?
I’ve used PackageCompiler.jl, but to my understanding this saves a version of the entire Julia runtime along with compiled functions from the code that you had it run. I’m thinking something more along the lines of a Julia version of Java .class or Python .pyc files that the standard Julia system image can run (maybe in tandem with the original script). So maybe the difference is the compiled parts are saved with the target script rather than the system image. The creation and reuse of the compilation file is handled automatically when running a script from the command line.
I don’t understand all the inner workings of Julia, so some clarification here would be great.