My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more

Rust Performance Pitfalls - Llogiq on stuff

j's photo
j
·Jun 8, 2017

Overall, Rust is pretty good for performance. Write the most simple stuff, and it will usually run within a factor of two from optimized C/C++ code. However, Rust makes some tradeoffs for different reasons than sheer speed, so here's a handy list of some things that may bite you and how you can speed them up.