[#]rustlang #garbage_collector
... Rust's ownership system is a garbage collector, one that automatically calculates lifetime expiration based on lexical scope during compilation rather than at runtime based on ref-counts or root-traceability. What you call statically managed memory, I call lexical garbage collection.
Usually I dub GC as "automatic dynamic memory management", C as "manual static memory management", and Rust as "automatic static memory management.
https://www.reddit.com/r/ProgrammingLanguages/comments/6sq6nv/comment/dlerbd5/
=> More informations about this toot | View the thread | More toots from yugaego@fosstodon.org
=> View rustlang tag | View garbage_collector tag This content has been proxied by September (3851b).Proxy Information
text/gemini