Hacker News new | ask | show | jobs
by HexDecOctBin 1 day ago
But if I don't care for object atomicity, can I get struct-like behaviour in Java for arbitrary large types?
1 comments

From elsewhere I've seen that this is something they are thinking about offering but nothing concrete has surfaced. It would be an opt-in sort of thing where you say "I'm ok with my code breaking if I misuse this class".

It will likely require you poke in the `jdk.internal` package space.