Re:Faer-rs: Linear algebra foundation for the Rust programmi...
by 1980phipsi on Thursday April 25, 2024 @03:41PM
(#40162074)
What features of Rust let you write faster code than C/C++/Fortran?
[ Parent
| on HN ]
Re:Faer-rs: Linear algebra foundation for the Rust programmi...
by adgjlsfhk1 on Thursday April 25, 2024 @03:59PM
(#40162268)
most of it's just general programming niceness. If you have to spend a few hours to wrestle with make/bazel/etc every time you need to reach for a dependency, you don't depend on things and have to rewrite them yourself. If your programming language doesn't have good ways of writing generic code, you either have to write the code once per precision (and do all your bugfixes/perf improvements in triplicate) or do very hacky metaprogramming where you use Python to generate your low level code (yes the Fortran people actually do this https://github.com/aradi/fypp), or use the C preprocesser which is even worse.