3 ms·
> like piping CLI commands together, in Julia's case you're looking at pathetic 3 execs per second. If you want to build CLIs without the JIT overhead, you can
by phonebucket 7y ago
> like piping CLI commands together, in Julia's case you're looking at pathetic 3 execs per second.
If you want to build CLIs without the JIT overhead, you can compile your Julia code: https://github.com/JuliaLang/PackageCompiler.jl https://github.com/JuliaLang/PackageCompiler.jl
- peatmoss 7y agoHow big are the resulting binaries these days? It’s been some time since I tried this, but I decided that the size of the compiled code didn’t fit my use case (a serverless function IIRC)
- myrryr 7y agoHorrendous is the answer :) It is still crazy big, because it still has to include the LLVM compiler in it.
- norcalli 7y agoIt doesn't work very well. I got SEGFAULTs every time I tried; filed a bug report; no resolution. So, while it does exist, it's not a high priority for the Julia team, so I wouldn't rely on it.
- jruth 7y agoI had the exact same experience when I tried over a year ago. The package was eventually closed IIRC, but a recent news letter claimed to have fixed it.
- xiaodai 7y agoIt's getting better. See how I managed to compile a bunch of data science packages https://discourse.julialang.org/t/201908-compiling-a-data-science-image-for-julia-on-windows-to-combat-compilation-latency/27640 https://discourse.julialang.org/t/201908-compiling-a-data-sc...