News for hackers. Stuff that matters.
Re:Can Rust Beat JavaScript in 2023? by kaba0 on Friday April 21, 2023 @04:17PM (#35659468)
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.

There are no comments on this comment yet.