Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Go (by itself without modifications) is a poor example because it has shared memory.

Though Rust would be a good example of a language where a garbage collection could be added, because the only way to data is transferred between other tasks is through channels wherein only PODs or owned pointers may pass.

A linear type system really helps with coordinating multiple garbage collectors across many threads.



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

Search: