Comment

Comment by slaymaker1907

I think this is an enormously bad idea. The whole point of using sun.misc.Unsafe is because you need to do something with basically no overhead, regardless of safety. In my opinion, they should just modularize it such that users must enable access to it explicitly. The MemorySegment API is nice, but sometimes you really want to skip bounds checking in a cross platform way.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton