Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Julia is another contender. Julia code can be as performant as C++ code, but Julia code may be even more elegant than C++. Even without accounting for Julia's metaprogramming features, the compile-time expressiveness is top-notch.

It shares some of the same drawbacks as C++, though. The language is extremely powerful, so while it is easy to write performant code, it is also easy for non experts to write very suboptimal code.



Julia is not a systems language. Also its design (GC, dynamic typing) does not allow it to reach exactly the same level as C++.


you are right one has to be careful to avoid the GC and dynamic dispatch, but if you do it can for sure reach the same level as C++. with tightly optimized Julia code there is little to no overhead over any other low-level language.


Julia only cares about numerical performance, and in that regime, it’s pretty fast.

So not generally fast, no.


> Julia code can be as performant as C++ code, but Julia code may be even more elegant than C++

But not at the same time


depends on the workload. many are elegant and fast. some require a bit of clunkiness to wring out the last drops of performance




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: