I hope this doesn’t come across as a “complaining” post. I just have some big concerns about this and was curious if the problem is being addressed.
I am a primary contributor to a DOE funded project for a new, modern, differentiable code for accelerator physics simulations. I have been coding in Julia for about 2 years now, and thanks to many of you on this forum , Slack, etc feel I have a pretty good grasp of the language at this point. My development process consists of the REPL+ Revise.jl combo with VS code. This has overall been a breeze and pleasure to do development with.
Recently some colleagues at one of the labs asked me to perform some calculations, and I figured a Jupyter notebook would be perfect to show the computation step by step. However, I found Julia to be significantly slower in the notebook than in the REPL. The speed difference seems primarily associated with the JIT time. For example, one step of the computation required a numerical solution (I use NLSolve). In the REPL, the JIT time included it might be ~10 seconds. In Jupyter notebooks, the calculation was over 2 minutes. And any changes to the function to optimize would require another compilation, waiting another 2 minutes. This becomes basically unusable.
Last week I also taught a Julia crash course to some colleagues, and they expressed similar complaints about Jupyter notebooks, instead using the REPL.
Because I expect most users of our simulation code will use Jupyter notebooks for its ease of use and familiarity from Python experience, I am quite concerned to see how slow it is. I was wondering if this problem is being addressed and if others have a similar experience.