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

You can also call out to these libraries from other languages that have far better safety features.


How to expose C++ templates through C API do that they can be used from other safe languages?


"Safety" is largely irrelevant for scientific computing. Manipulation of memory is handled by libraries like Eigen and you don't have to use raw pointers at all.


Safety is much broader than memory safety. Rust’s “fearless concurrency” is very relevant to scientific codes — being able to use the type system to enforce invariants that make sure you don’t have data races and other concurrency issues that can very much lead to crashes, or worse: bad or corrupt computations.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

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

Search: