4 ms·
The easiest solution to have Julia on the background is using Revise.jl. Basically you import your program on the REPL and it will automatically track any chang
by ddragon 7y ago
The easiest solution to have Julia on the background is using Revise.jl. Basically you import your program on the REPL and it will automatically track any change to the source code and precompile and update the environment as soon as you save it (and any function you run on the REPL, including slow to compile such as plotting, will be faster on the second time forward). You can combine it with other useful REPL modules such as Rebugger.jl, OhMyREPL.jl and Infiltrator.jl which you can import automatically in the startup.jl file.
The compiler team is prioritizing the compile-time latency and error messages for the 1.4 release, which if they succeed will make the language more approachable for people who use the same workflow as other dynamic languages (running the code from the shell).
- alpaca128 7y agoThanks for the suggestion. The first overhead is even more extreme but afterwards it works pretty smoothly.