Conversation

Replying to
I think it's more about language design and OS APIs than hardware support. userfaultfd and MREMAP_DONTUNMAP haven't been around for long and help a lot with compacting GC without requiring new hardware. MADV_FREE is useful too. Hardware has a lot of capabilities not being used.
1
2
Replying to and
Languages can be designed around thread-local heaps with special types for either transferring ownership of data to another thread or sharing data. JavaScript is essentially designed that way with the ability to transfer an ArrayBuffer or to explicitly use a SharedArrayBuffer.
1
1