On Tuesday, 13 May 2014 at 04:46:41 UTC, Russel Winder via
Digitalmars-d wrote:
On Tue, 2014-05-13 at 04:07 +0000, logicchains via
Digitalmars-d wrote:
[…]
This sounds a bit like an 'issue' of sorts that Rust has with
borrowed pointers, where certain types of datastructures
cannot be written without resorting to the 'unsafe' parts of
the language. The solution they've adopted is having such code
written in libraries so that the user doesn't have to mess
around with 'unsafe'.
Probably re-finding many of the things people have to use
sun.misc.Unsafe for on the JVM.
Which is why the Java designers are looking on how to make Unsafe
an official package as of Java 9.
And did the survey a few months ago, about how Unsafe was being
used in major Java projects.
--
Paulo