Overflows in Phobos

Adam D. Ruppe via Digitalmars-d digitalmars-d at puremagic.com
Tue Jul 26 20:31:07 PDT 2016


On Wednesday, 27 July 2016 at 03:13:38 UTC, Shachar Shemesh wrote:
> Does that mean D isn't meant to be used to develop code that 
> will run in Ring-0?

assert(0) is never supposed to actually happen...

Though, I do think it might be better to make it output `forever: 
hlt; jmp forever;` which I think is just three bytes, and it is 
supposed to be unreachable anyway... so that'd work in all cases.


More information about the Digitalmars-d mailing list