Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Rust compilations are also very much longer

Longer than? C++?

You might be interested in this post that shows they’re about the same - https://quick-lint-js.com/blog/cpp-vs-rust-build-times/



from your link:

> Scaling beyond 17k SLOC [...] > C++ full builds scale better than Rust

Chromium has millions of line of code not 17k, so, although the scaling test is fairly artificial, rust might get worse and worse as the project get bigger. Paradoxically, the stupid include model of C++ allows to extract more parallelism form the build.

I wouldn't be surprised if C++ with modules has similar scalability behavior as rust though.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: