News for hackers. Stuff that matters.
Re:C and C++ Prioritize Performance over Correctness by ianlevesque on Friday August 18, 2023 @04:32PM (#37181703)
The specific example that comes to mind was translating a Java application doing similarity search on a large dataset into fairly naive Rust doing the same. Throughput I guess. It may be possible to optimize Rust to get there but it’s also possible to (and in this case did) end up with less understandable code that runs at 30% the speed.

Edit: And probably for that specific example it’d be best to go all the way to some optimized library like FAISS, so maybe C++ still wins?

There are no comments on this comment yet.