Modern C++ Won't Save Us
Dominikus Dittes Scherkl
dominikus at scherkl.de
Mon Apr 26 11:44:26 UTC 2021
On Monday, 26 April 2021 at 07:21:38 UTC, Petar Kirov
[ZombineDev] wrote:
> On Monday, 26 April 2021 at 01:28:35 UTC, Walter Bright wrote:
>> https://alexgaynor.net/2019/apr/21/modern-c++-wont-save-us/
>>
>> Lists some perfectly reasonable code in Modern C++ style that
>> has hidden memory safety bugs.
>
> Unfortunately, Phobos got bitten by exactly the same
> use-after-free bug as the article showcases:
>
> https://github.com/dlang/phobos/pull/7988/commits/08927149ccbb3a20fb7e97687065fe66a33e2cb8
Yeah. And were got it bitten?
In its f***ing C interface.
null terminated strings are a piece from hell that should be
banned, not proliferated!
More information about the Digitalmars-d
mailing list