|
|
|
|
|
by ncmncm
2556 days ago
|
|
This analysis assumes that not using GC costs something. However, in modern C++ code, as in Rust code, you can root around as long as you like and not find any code outside low-level, standard libraries that does any memory management. Avoiding GC costs exactly nothing in progress or in iteration time. So, the analysis of GC overhead is always going to pit cost X against cost zero, no matter how low you manage to get X. |
|
Aside from that, rewriting something in C++ based on code in a higher-level language with better abstractions might cost additional developer time, maintainability, and quality.