3 ms·
I don't think this is a great reason to avoid julia. Why is latency a concern for you? Are you running a lot of short, one-off scripts? If so, an easy solution
by eigenspace 6y ago
I don't think this is a great reason to avoid julia.
Why is latency a concern for you? Are you running a lot of short, one-off scripts? If so, an easy solution is to just keep a julia session running and re-use it for each each script rather than constantly starting up and closing julia sessions. DaemonMode.jl [1] is a package that was recently developed that makes this workflow effortless.
Another option if you've got some production code that needs to be run over and over again is to create a custom sysimage with everything AOT compiler. PackageCompiler.jl [2] makes this workflow pretty easy nowadays.
[1] https://github.com/dmolina/DaemonMode.jl https://github.com/dmolina/DaemonMode.jl
[2] https://github.com/JuliaLang/PackageCompiler.jl https://github.com/JuliaLang/PackageCompiler.jl