How do I build an executable from my (hello world) simple script?

given that Julia executes as fast as C and internally compiles to machine code (except when in interpreted mode and thus using microlisp) - then I can easily get my binary?

looking into command line options with julia -h I can’t find something related,
googling the question leads me to PackageCompiler - is this a currently recommended way or there is a simplier approach?

thanks in advance! Vadim

I believe PackageCompiler.jl is the best way right now. Check out Part 3 of this video (18:22):

4 Likes

don’t be surprised if your helloworld is >~100MB

2 Likes

… I am prepared for large executable size after I’ve found several executables of about 100M and even one 180Mb dll in Julia installation:)

1 Like