|
|
|
|
|
by krumbie
1590 days ago
|
|
I don't think it's frowned upon to compile, many people want this capability as well. If you had a program that could be proven to use no dynamic dispatch it would probably be feasible to compile it as a static binary. But as long as you have a tiny bit of dynamic behavior, you need the Julia runtime so currently a binary will be very large, with lots of theoretically unnecessary libraries bundled into it. There are already efforts like GPUCompiler[1] that do fixed-type compilation, there will be more in this space in the future. [1] https://github.com/JuliaGPU/GPUCompiler.jl |
|
[1] https://github.com/tshort/StaticCompiler.jl
[2] https://github.com/brenhinkeller/StaticTools.jl
[3] https://github.com/tshort/StaticCompiler.jl/pull/58