Reference to D class instance with a C library
Jacob Carlborg
doob at me.com
Sun Jul 14 02:29:02 PDT 2013
On 2013-07-13 20:53, Leandro Motta Barros wrote:
> Hey, thanks! This makes sense :-)
>
> Am I now wondering... how safe, portable and future proof would this
> be? If some future version of D implements a garbage collector capable
> of moving objects around the heap, I could get in trouble, right?
Walter has always said that there's nothing in the language (D) that
stops it from having moveable GC. In this case we would hope there would
be way to pin objects.
--
/Jacob Carlborg
More information about the Digitalmars-d-learn
mailing list