Kernel buffer overflow exposes iPhone 11 Pro to radio based attacks

IGotD- nise at nise.com
Wed Dec 2 12:06:57 UTC 2020


On Wednesday, 2 December 2020 at 11:19:08 UTC, M.M. wrote:
>
> Why do you think that D is better than C++ in that respect?

C++ does not have array bounds checking, at least in its original 
form. C++ added std::array which is kind of wrapper around its 
static arrays. However, since it is in the STL library you need 
to compile it and it doesn't play that well bare metal 
programming. Also when you include STL binary size shoots up the 
roof. Therefore C++ + STL is often not suitable for kernels and 
this problem applies for D as well. BetterC is more suitable for 
kernels.


More information about the Digitalmars-d mailing list