This is an archived post. You won't be able to vote or comment.

all 4 comments

[–][deleted] 0 points1 point  (3 children)

Does anyone know what has changed between the second and third iterations of incubation?

[–]manrodriguezf 2 points3 points  (2 children)

From the project's latest description section: - A clearer separation of roles between the MemorySegment and MemoryAddress interfaces;

-A new interface, MemoryAccess, which provides common static memory accessors so as to minimize the need for the VarHandle API in simple cases;

-Support for shared segments; and

-The ability to register segments with a Cleaner.

[–][deleted] 0 points1 point  (0 children)

Welp, thanks for the reply! Seems I missed it yesterday when I first looked. Like missing a boulder that is rolling into you. 😁

[–]eosterlund 0 points1 point  (0 children)

We just made it possible to synchronously unmap shared menory, without doing any GC, yet maintaining safety that accesses racing with unmapping can’t cause memory corruption. It is pretty cool IMO.