Re:C++ vs. Rust Build Times
by not_the_fda on Friday January 06, 2023 @05:43AM
(#34273218)
What big c++ projects do is split things up into libs which can be linked as individual units. still bigger than a single file, but it helps.
[ Parent
| on HN ]
I think being snarky is against the rules?
Also creating nested libs as separate compilation units is so difficult with cmake etc I rarely seen a large C++ project do this... it is much easier with Cargo.
Re:C++ vs. Rust Build Times
by not_the_fda on Friday January 06, 2023 @01:22PM
(#34278712)
Creating nested libs in cmake is trivial and is done all the time.
I'm sorry I was a bit snarky. But the thing is that the Rust evangelists don't understand the domains and types of large scale projects that C++ is used in and how those systems are built. Yet the they come along and keep pushing for Rust without understanding why C++ developers aren't switching and wave their hands at the issues we have with Rust.
Show me a successful multi million line Rust project. Maybe throw in a complex UI. Maybe some GPU computation.
I wouldn't call myself a rust evangelist. I prefer Java because it's productive and I can finish projects in it and not have to touch them for years.
FWIW Rust is great for high performance web services, not so much UI stuff. C++ would be better for that.