3 ms·
There are a lot of articles about Julia being the language of everything. I gave it a try but did not like the syntax. Why would anyone prefer it over other lan
by yalph 9y ago
There are a lot of articles about Julia being the language of everything. I gave it a try but did not like the syntax. Why would anyone prefer it over other languages?
- CarVac 9y agoIt's like Matlab or SciPy in terms of how easy it is to set up a quick script, but far more performant. The syntax is fairly similar to Matlab, which makes it familiar for engineers like me. And then there's the speedup. For one benchmark I wrote when evaluating the language, it had a 60x speedup over Octave, but I'll have to see what happens when I finish porting over all of my code.
- jey 9y agoI found it was a lot like my experience with Python and its indentation. First it seemed weird, but then I quickly got used to it and ended up appreciating it. A lot of careful thought actually does go into the design of the Julia language, and they take the ergonomics of the language very seriously.
- banku_brougham 9y agoThe type system is really well thought out, its easy to write generic code with parametrized types. User-defined types are first class, so the conpiler provides the same performance benefits for those. Matrix operations are good, and functions can be arguments. Macros are cool, code can be generated at runtime which can be very elegant in the right uses. This is the language you want if you are reading a research paper and want to implement the mathematical formulas directly from the paper and still have good performance. Its a serious high performance computational language, but somehow accessible and not arcane.