Comment

Comment by HervalFreire

There is a reference counting GC in rust. It's just not default and you have to be explicit about invoking it. It's similar to shared pointers in C++. See Arc.

For something like python the heap allocation or stack allocation is handled behind the scenes so the entire concept is abstracted away from you.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton