▲ | adastra22 3 days ago | |
It is weird to lump C++ and Rust together. I have used Rust code bases that compile in 2-3 minutes what a C++ compiler would take literally hours to compile. I feel people who complain about rustc compile times must be new to using compiled languages… | ||
▲ | pjmlp 3 days ago | parent | next [-] | |
There is a way to make C++ beat Rust though. Make use of binary libraries, export templates, incremental compilation and linking with multiple cores, and if using VC++ or clang vLatest, modules. It still isn't Delphi fast, but becomes more manageable. | ||
▲ | surajrmal 2 days ago | parent | prev [-] | |
If you use lto, rust compilation is far worse for comparable c++ code. |