4 ms·
I read it, thanks. That wasn't the point of the article at all. Also, Variable handles only represent a small part of what unsafe is used for.
by sreque 8y ago
I read it, thanks. That wasn't the point of the article at all. Also, Variable handles only represent a small part of what unsafe is used for.
- cogman10 8y agoRight, and they are just one example of unsafe apis moved into the public jdk. Oracle took a fairly measured approach here, they saw what was used and made public apis that are either clones of the private ones or that better capture common usage. That it took so long isn't great, but they are certainly going the right way.
- didibus 8y agoI think OP means, how in C#, you have the unsafe keyword, which restricts unsafe usage to particular unsafe code blocks, and allows any unsafe operation to be contained.