Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Can this produce a static AOT compiled binary ? This seems to be currently one of the biggest limitations to Julia (and even Python) in terms of distribution, especially in the embedded space. PackageCompiler.jl helps, but binaries are still huge


How big are the binaries? (what I mean is, are they 1MB, or 100MB, or worse?)


Over 150 MB for "Hello world" [1][2].

There are a few options for going smaller (e.g. StaticCompiler.jl), but they're not very mature yet.

[1]: https://www.reddit.com/r/Julia/comments/ytegfk/size_of_a_hel...

[2]: https://discourse.julialang.org/t/standalone-hello-world-exe...


Julia's binaries are currently 50mb to 1gb depending on what you put in them. The large floor comes from the fact that you have to ship LLVM which is around 50 MB by itself. (the 1gb binaries are if you include a couple thousand packages in the binary also).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: