Hacker News new | ask | show | jobs
by hpb42 1922 days ago
C++ is widely used for High Energy Physics. The ROOT framework [0], developed at CERN, is mostly C++.

I'd be tempted to say that Rust could be used as well, but the equivalent of MPI and OpenMP for Rust is still not as fast as in C++/C/Fortran.[2] That's easy to understand: there are decades of investment in MPI/OpenMP for C/C++/Fortran, and Rust is not there yet.

Also, in some cases where high throughput is needed, languages with garbage collector are not suited. In this scenario, deterministic execution time and deterministic latency are very important. Not directly related to HPC, but Discord migrated from Go to Rust for this reason[2].

[0] https://root.cern/

[1] https://github.com/trsupradeep/15618-project

[2] https://blog.discord.com/why-discord-is-switching-from-go-to...

1 comments

Thanks, discord’s article is fascinating.