4 ms·
If you can deploy that runtime maybe. How well does Julia work when you need to ship a static library?
by marmaduke 8y ago
If you can deploy that runtime maybe. How well does Julia work when you need to ship a static library?
- pjmlp 8y agoAs far as I know, Julia only allows for dynamic libraries. https://github.com/JuliaLang/PackageCompiler.jl https://github.com/JuliaLang/PackageCompiler.jl Which really for me they are good enough, I don't remember the last time I cared about producing a .a/.lib file for delivery.
- ChrisRackauckas 8y agoIt can make static libraries. There are some old blog posts on how it can be done. No one has packaged it up though, and it will always be limited to chosen specializations of course.
- dnautics 8y agoUse a container. I recommend singularity, works great with julia. Shipped a single binary, deployed on a supercompute center, ran 20 batches over 500 nodes, 16 cores per node, no problem.
- marmaduke 8y agoThanks I know how to container in HPC, question was about shipping libraries.
- dnautics 8y agoThen you are constructing a problem specifically for julia to fail. Congratulations on being a jerk that doesn't pose a question that is relevant to anyone's real use case. Counter question: Can you in 24 hours ship a binary library built in C or C++ that in guaranteed to work on ARM, x86, and also detect NVIDIA or AMD GPUs and use those for acceleration as needed?
- 3rdAccount 8y agoThe container has the OS, Julia install, and code?