borrowed pointers vs ref

Russel Winder via Digitalmars-d digitalmars-d at puremagic.com
Mon May 12 21:46:28 PDT 2014


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. 

-- 
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder at ekiga.net
41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel at winder.org.uk
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder



More information about the Digitalmars-d mailing list