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

Most modern C++ code bases also completely lack explicit frees/deletes, but not many would argue that C++ is a managed language.

Though a more objective distinction is hard to give on what is a managed language, I found the garbage collection handbooks’ quote on the topic the most illuminating (linking to my older comment): https://news.ycombinator.com/item?id=35332600

In Rust and in C++ memory layout is part of your public APIs and has to be refactored when it changes. This is not the case with managed languages.



Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

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

Search: