Kernel buffer overflow exposes iPhone 11 Pro to radio based attacks

IGotD- nise at nise.com
Wed Dec 2 15:04:29 UTC 2020


On Wednesday, 2 December 2020 at 12:32:02 UTC, M.M. wrote:
>
> Oh, OK, I see. I was thinking that modern C++ would be equally 
> suitable as D or Rust or any other "modern" language of that 
> sort. But what you explain give me a different view on that.

I also forgot to mention that when there is an out of bound 
access, both C++ and D throw an exception. Exceptions are usually 
a big no no in kernels because the potential memory allocation. 
In kernels you want to reduce and have absolute control over 
memory allocations. Only the new proposal "lean exceptions" in 
C++ might be interesting for kernels.


More information about the Digitalmars-d mailing list