News for hackers. Stuff that matters.
Re:A Julia Interpreter and Debugger by register on Thursday March 21, 2019 @03:20PM (#19456261)
This should be a game changer. I had tried Julia before and was disappointed by the interactivity of the REPL because redefinition of code at runtime was anything but easy to achieve. If it works as stated Julia REPL now should be on par with CL's one. I'll give Julia another try!
Re:A Julia Interpreter and Debugger by npr11 on Thursday March 21, 2019 @04:35PM (#19457019)
> Revise.jl allows you to modify code and use the changes without restarting Julia.

Might be helpful :) https://timholy.github.io/Revise.jl/stable/

Re:A Julia Interpreter and Debugger by register on Thursday March 21, 2019 @05:17PM (#19457422)
I tried Revise and the fact that it doesn't require you to restart Julia doesn't mean that it allows you to change code on the fly. It means that you don't have to close the REPL and restart it and that you don't have to explicitly reload code. To see the effects of a change to a function invoked in a loop you have to wait for the loop to complete and return back to the REPL. This is not really SO interactive. In CL you see the effect of any change immediatly at the next iteration of the loop. What Revise does is to automatically recompile updated code by detecting changes automatically. I hope that this interpreter brings the same level of interactivity as CL. I'll try it for sure.
Re:A Julia Interpreter and Debugger by flavio81 on Thursday March 21, 2019 @06:26PM (#19457963)
>In CL you see the effect of any change immediatly at the next iteration of the loop.

This. I just did this today on CL, because I needed it. I was running a long process and can't afford to stop it.

And note that i'm using a CL compiler that compiles down to machine language, not an interpreter.

Re:A Julia Interpreter and Debugger by lispm on Thursday March 21, 2019 @06:55PM (#19458176)
> In CL you see the effect of any change immediatly at the next iteration of the loop.

unless the code has been inlined

Re:A Julia Interpreter and Debugger by superdimwit on Friday March 22, 2019 @08:15AM (#19461774)
Is CL Common Lisp?