3 ms·
Note that this feature doesn't necessary require work by the core devs. It is completely feasible (at least in theory) to write a library that can output static
by adgjlsfhk1 6y ago
Note that this feature doesn't necessary require work by the core devs. It is completely feasible (at least in theory) to write a library that can output static exectuables.
- ChrisRackauckas 6y agoIt's actually done all of the time. GPUCompiler.jl, the core of the CUDA and AMD GPU stack, builds static binaries (compiled to .ptx by LLVM for CUDA for example, but the choice is just a switch), then stashes those binaries to use with a ccall in a Julia function. You could in theory use that stack to statically-compile anything that's GPU compliable, and it's really well-tested.