3 ms·
Regarding performance, the opposite side of your question is as relevant, how many optimization opportunities would have been skipped because the C API is too h
by unrealhoang 5y ago
Regarding performance, the opposite side of your question is as relevant, how many optimization opportunities would have been skipped because the C API is too hard to guarantee correct usage [1]? Rust has already surpassed C on the benchmark game, can that be used as data points?
[1]: http://dtrace.org/blogs/bmc/2018/09/28/the-relative-performance-of-c-and-rust/ http://dtrace.org/blogs/bmc/2018/09/28/the-relative-performa...
- igouy 5y ago> Rust has already surpassed C on the benchmark game… Surpassed? Looks kind-of similar.
- Jensson 5y agoThe rust they write for those benchmarks looks like this: https://benchmarksgame-team.pages.debian.net/benchmarksgame/program/revcomp-rust-1.html https://benchmarksgame-team.pages.debian.net/benchmarksgame/... Just as safe and fast as C++, but with more work done to micro optimize.
- SubjectToChange 5y agoYou should read the author's other post: http://dtrace.org/blogs/bmc/2018/09/18/falling-in-love-with-rust/ http://dtrace.org/blogs/bmc/2018/09/18/falling-in-love-with-... They weren't trying to game benchmarks in their analysis.