On Wednesday, 2 December 2015 at 23:38:33 UTC, deadalnix wrote:
On Wednesday, 2 December 2015 at 23:04:16 UTC, ZombineDev wrote:
On Wednesday, 2 December 2015 at 19:39:47 UTC, Andrei
Alexandrescu wrote:
Once done, this is a fantastic example of (a) the power of
generative programming, and (b) the advantages of using
library facilities instead of built-in features.
https://issues.dlang.org/show_bug.cgi?id=15397
Who would want to take it?
Andrei
So, something like
http://dlang.org/phobos/std_bitmanip.html#.taggedPointer?
Yeah, that'd be great if we could remove these scary warning
about the GC on these, this is only FUD. It works just fine
with the GC.
With the current GC, yes. If we allow this, any future GC
implementation will have to expect pointers to be misaligned. If
a GC is type aware, it can use this information to reject false
pointers without having to look them up. Anyway, I guess that
will not affect performance much, so it's probably ok.