Re:Fil-Qt: A Qt Base build with Fil-C experience
by timschmidt on Monday January 19, 2026 @07:08AM
(#46678065)
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.
[ Parent
| on HN ]
Re:Fil-Qt: A Qt Base build with Fil-C experience
by fooker on Monday January 19, 2026 @07:24AM
(#46678212)
Great, how much faster was this multithreaded version for a real use case?
Re:Fil-Qt: A Qt Base build with Fil-C experience
by timschmidt on Monday January 19, 2026 @07:30AM
(#46678253)
That afternoon effort on the hot loops netted ~3x improvement on the test suite on an 8 core machine. The test suite is intentionally minimal, so I'd say that represents a reasonable low bound. The greater the number of polygons in an operation, the more it would benefit.