3 ms·
But not at the language level, which is what started this thread. As another example: compare "GC'd versus non-GC'd memory in Rust" to "coherent versus non-coh
by amelius 5y ago
But not at the language level, which is what started this thread.
As another example: compare "GC'd versus non-GC'd memory in Rust" to "coherent versus non-coherent memory in CPU architecture"; here Rust gives us just the bare machine, while CPU architects give us quite some abstraction plus a choice.
It is true that you could theoretically write a GC in Rust, but using it from the language itself would probably break ergonomics so much that you'd be better off with another language.