Michel Fortin:

>Just use data.ptr if you want to escape the bound checks.<

Ah, thank you.


>Do we need that when we have exceptions in D?<

You are right. But maybe people that write a kernel may prefer to check error 
return values instead of using exceptions. Note this article was about GCC used 
to write the Linux kernel, that has different (and harder) requirements 
compared to application code, for example I think you don't need 
__builtin_return_address often in normal code.

Bye,
bearophile

Reply via email to