News for hackers. Stuff that matters.
Re:The memory models that underlie programming languages (2016) by pkolaczk on Thursday June 10, 2021 @10:37AM (#27461273)
Non-deterministic garbage collection applies to a tiny fraction of the state problem though - the memory part. It does not apply to other types of resources: file descriptors, sockets, database sessions, connections, threads, etc. - generally anything that needs proper disposal and is not (only) memory.

It is also worth noting you can perfectly have garbage collection in Rust - reference counted pointers or epoch GC. Refcounted pointers have the advantage of being deterministic.

There are no comments on this comment yet.