Overflows in Phobos

deadalnix via Digitalmars-d digitalmars-d at puremagic.com
Tue Jul 26 22:03:13 PDT 2016


On Wednesday, 27 July 2016 at 03:31:07 UTC, Adam D. Ruppe wrote:
> 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.

Can you explain what's the difference ?


More information about the Digitalmars-d mailing list