On Wednesday, 2 December 2015 at 19:54:26 UTC, Vladimir Panteleev
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?
Warning, this is very unsafe and incompatible with the GC.
Bit-twiddling GC pointers can lead to memory corruption and
very hard-to-track bugs. Such a feature must be opt-in in a
very explicit way.
Iirc I'm the one that originally brought this up. There's no
reason for lsb smuggling in pointers to be unsafe
I personally think tricks like these are important in advertising
D as a systems language, as I'm often missing some low level
features compared to GNU C.
Bye.