4 ms·
Great blog post! Nathan also gave an excellent talk at JuliaCon this year about building and distributing Apple App Store apps in pure Julia: https://www.youtu
by StefanKarpinski 8y ago
Great blog post! Nathan also gave an excellent talk at JuliaCon this year about building and distributing Apple App Store apps in pure Julia:
https://www.youtube.com/watch?v=kSp6d3qSb3I https://www.youtube.com/watch?v=kSp6d3qSb3I
- nathandaly 8y agoHaha thanks Stefan! :)
- e12e 8y agoIs there a tl;dw synopsis? I thought static compilation was a ways off - does this involve bundling all of Julia w/llvm and all?
- StefanKarpinski 8y agoStatic compilation has already been possible for several years, it's just not very user-friendly.
- nathandaly 8y agoLike Stefan said, static compilation has been possible for years, just not very user friendly. We've been working on making compilation easier here: https://github.com/JuliaLang/PackageCompiler.jl https://github.com/JuliaLang/PackageCompiler.jl And we have a package for building complete, standalone, desktop applications out of the compiled code, here: https://github.com/NHDaly/ApplicationBuilder.jl https://github.com/NHDaly/ApplicationBuilder.jl > does this involve bundling all of Julia w/llvm and all? Yeah, more or less. It involves bundling the julia runtime shared library (no different than a C++ program needs access to the C++ runtime library, except that usually comes pre-installed), and all its dependencies, which yes, includes llvm and all. A far-off goal is to be able to shave off the pieces of the runtime you don't need, such as LLVM if everything is precompiled, FFTW if your program isn't doing heavy linear algebra, etc.