Run code non-interactively with a Julia server

I read from Getting Started · The Julia Language that I can run a Julia script non-interactively:

$ julia script.jl arg1 arg2...

However, for certain scripts it will take time because Julia will need to compile it first.

I wonder if it is possible to run Julia like a server, and ask Julia to run a script from shell? In that way, previously compiled Julia codes will not need to be re-compiled, because I will be using the same Julia session through the Julia server.

1 Like

Thank you! I’m looking into it right now!

1 Like