Comment by kaba0

3 years ago

Manual memory management does close-couple memory layout/ownership with the public API, and that will objectively make refactors regarding that layout breaking changes, causing many downstream changes required.

A quote from the GC Handbook: “modules should not have to know the rules of the memory management game played by other modules”

While Rust does make these refactors safe, it is nonetheless work that simply doesn’t have to be done in case of Java for example.