Kernel buffer overflow exposes iPhone 11 Pro to radio based attacks
M.M.
matus at email.cz
Wed Dec 2 12:32:02 UTC 2020
On Wednesday, 2 December 2020 at 12:06:57 UTC, IGotD- wrote:
> 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.
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.
More information about the Digitalmars-d
mailing list