News for hackers. Stuff that matters.
Re:Garbage Collection for Systems Programmers by mdavidn on Saturday March 30, 2024 @01:03PM (#39876549)
Rust is more similar to C++, in that the compiler inserts calls to free as variables exit scope. Runtime reference counting is limited to those objects wrapped with Rc or Arc.

I agree with pron’s larger point. GC is fine for most applications. It’s just factually inaccurate to compare Rust’s memory management with languages like Python and PHP.

There are no comments on this comment yet.