I still think back to the times when I was new to programming and had first tried Julia. And oh my! It was a beautiful an exciting experience! It was just so joyful to write code in Julia. I just thought that the syntax and the design philosophy made sense. It was also fast*! Of course, it took some getting used to in the way it doesn’t have the traditional class based Object Oriented Programming. But I got a hold of structs and multiple dispatch in time. I still haven’t had the chance to fully understand the way Julia is to be used with defining your own projects and packages and modules and all that.
But as mentioned in some of my posts a few years ago… what I disliked in Julia… was the first run time. It claimed to solve the Two Language Problem. But ended up not completely holding either of the two fronts properly.
- On testing things ideas quickly:
Opening a plot itself would take several seconds! Not to mention, adding a package like GLMakie.jl to an environment takes several minutes! Of course, as I realize now, it is certainly much faster than our days of using punch cards… but it just didn’t feel as fluid as I would have liked it to be. Python for instance, does that part really well.
- On the efficiency front:
Yes, I can write code in Julia that compiles efficiently on my machine after the first wait. But at least as far as I could tell, there still isn’t a ubiquitous way, baked into the language, to quickly and easily share what your code does with others with a standalone binary. It’s support to run its code in the browser with Web-Assembly or just a standalone online collaboration IDE (at least one that also isn’t too slow to setup your environment with: one that doesn’t take 15-20 mins to just install your dependencies) is also limited.
No surprises, JavaScript and TypeScript do that really well. So does Go! or Rust, Or Python Itself has great support for that, even though not native.
And yet, I still love using Julia whenever I can. I have used other languages of course, for the above mentioned reasons and found them to be really convenient and nice to work with. I also have seen a lot of ghosted packages in Julia. Which is very unfortunate. (Although, interesting no note that there are state of the art packages in Python that are now relying on packages written in Julia: PySR).
I hope things have now been improving more than going downhill.
Have have the two fronts been making progress?
Would anyone help shed light on things I may have missed or new routines that are now standard on how to tackle the two problems?
(For beginners! I don’t want to convince people in my lab to switch to using Julia by first having them do 100 different things or compile my whole code-base in a package/project or anything)
Any other languages that you guys have come across that you think has the balance of both worlds? The joy of writing in a syntax that doesn’t hide things from you but also isn’t something you MUST define everything in. And yet being quick and having the ability to share things with others seamlessly?
Thank you so much!