logoalt Hacker News

timschmidtyesterday at 12:08 PM1 replyview on HN

I write a bit of everything, including a little Rust CAD library which is a continuation of work I did in C++ 20 years ago. The C++ version was never multithreaded. The Rust library was fully multithreaded in an afternoon by importing Rayon behind a cargo feature, and using par_iter in place of iter in a few hot loops. That alone made the rewrite worth it.


Replies

fookeryesterday at 12:24 PM

Great, how much faster was this multithreaded version for a real use case?

show 1 reply