State of creating Executables for Julia code

How do we create an executable app for whatever code we’ve written in Julia?

I am relatively new to the language. Creating my little project I felt like checking out how executables work in Julia.

To my surprise, there seems to be no clear way to do it.
PackageCompiler.jl, as portrayed in online Discussions, is not ideal and creates large exe files even for very basic code blocks.
StaticCompiler.jl is still an experimental project.

All the posts on the topic however are from 2 years ago are more. Is there a convenient way to distribute your work to other machines where they don’t have to install Julia per se now? How lightweight is it?

I just want to know the present state of the matter. Thank you!

You are in luck - the present state has been presented a few days ago at JuliaCon:

An individual recording of that talk should be available in the somewhat near future, but in the meantime, but here’s the timestamped livestream:

(In case the timestamp doesn’t work, you can find it at ~7:41:30)

There’s still a bunch of stuff that needs to be done there, but this is pretty much the way forward.

14 Likes