3 ms·
> And you would probably want to focus on parallelism, where C++ again is not the best. Here again, this is wrong. 99% of highly scalable parallel code that r
by adev_ 8y ago
> And you would probably want to focus on parallelism, where C++ again is not the best.
Here again, this is wrong.
99% of highly scalable parallel code that run on supercomputers is C++ or Fortran.
And there is reasons to that, if you want parallelism, you want generally performance. If you want performance you want control on NUMA, SIMD, cache locality, etc... and C++ gives you that. Not Java.
- pjmlp 8y agoYet Julia and Chapel are winning hearts of HPC researchers. Java is not the only language with GC, there are others which offer control over NUMA, SIMD, cache locality, like .NET Native with C# 7/8, or D as two possible examples.
- gmueckl 8y agoBut the GC is frowned upon a lot in the D community. A lot of D programmers try to make everything they write @nogc.
- pjmlp 8y agoA GC in a systems programming language is there as a productivity and safety mechanism, by no means as the only way of doing 100% of memory allocations. A vocal sub-community of D programmers argue for @nogc due to GC phobia, as ex-C++ devs, and a GC implementation found lacking. A situation that might improve with the recently released GC pluggable API and a new precise tracing GC. Many devs that prototype their apps in D without doing premature memory optimizations, end up realizing that for their use case it actually good enough.