Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Compute-intensive cross-platform library, which language?
2 points by kenarsa on May 21, 2024 | hide | past | favorite | 2 comments
Suppose you were going to create a compute-intensive cross-platform library in 2024. What would you use? C, C++, Rust, or something else?


If the domain is scientific computing, consider Fortran, for which compilers are available on most platforms.


It depends how portable they want their code to be across implementations and over time. Fortran compilers vary widely in their interpretations of the language, more so than mainstream C/C++ compilers do.




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

Search: