Hacker News new | past | comments | ask | show | jobs | submit login

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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: