|
|
|
|
|
by ddragon
2536 days ago
|
|
>since I'm relying on fast editing/execution cycles While you can't do it from the shell very well right now (rerunning the program at each step like you would with an interpreted language), that kind of fast cycle is something very common in Julia development but with a particular REPL based workflow [1] in which you use a tool like Revise.jl [2] to automatically update the definition whenever you save a file in your project (the only restriction is that it doesn't automatically updates new type definitions) and directly interacting with the program in the REPL. This way it will only recompile what you just altered, and it's very fast to actually run the code. Other interesting tools are Rebugger.jl (debugger for the REPL) [3] and OhMyREPL (coloring for the REPL) [4], which you can add to your startup.jl to always automatically load them. [1] https://docs.julialang.org/en/v1/manual/workflow-tips/index.... [2] https://github.com/timholy/Revise.jl [3] https://github.com/timholy/Rebugger.jl [4] https://github.com/KristofferC/OhMyREPL.jl |
|