Re:Potential of the Julia programming language for high ener...
by staunton on Monday December 04, 2023 @11:56AM
(#38519713)
> Pluto.jl does solve the state problem of notebooks
Yes it does, unless you do crazy stuff (which you probably should put in a Julia file and let it precompile). The order of cells and execution order does not matter (unless you do crazy stuff).
Re:Potential of the Julia programming language for high ener...
by markkitti on Tuesday December 05, 2023 @04:25AM
(#38528613)
A Pluto.jl notebook is also a regular file. You need to use a package for precompilation caching though.
Re:Potential of the Julia programming language for high ener...
by tamasgal on Monday December 04, 2023 @12:53PM
(#38520505)
I have no idea what kind of problems you have ;) I use Revise.jl on a daily basis and it works flawlessly. I don't have any comparable workflow in any other language I work with on a daily basis. I wish I could do this style in those as well...
Yes, you should give it a go (again)!
Re:Potential of the Julia programming language for high ener...
by staunton on Monday December 04, 2023 @10:34PM
(#38526797)
I'm not sure how Revise would work with a notebook though... Guess it's only useful in the REPL, which is a different way to work.
Re:Potential of the Julia programming language for high ener...
by bobbylarrybobby on Monday December 04, 2023 @11:03PM
(#38526964)
In VSCode, in an ordinary Julia file you can place the magic comments `# %%` at the start of a code cell (needs to be on its own line), and then you can send these “cells” to the REPL to execute. No notebook needed.
Re:Potential of the Julia programming language for high ener...
by staunton on Tuesday December 05, 2023 @12:01AM
(#38527300)
What do you do with it? Especially that benefits from Revise?
Re:Potential of the Julia programming language for high ener...
by jampekka on Tuesday December 05, 2023 @10:33AM
(#38532164)
For example these: https://timholy.github.io/Revise.jl/stable/limitations/#Limi...
How is the module reloading story nowadays? Last time I gave up the state of the art was Revise.jl, which was a world of pain.