Interesting memory safety topic

Paulo Pinto pjmlp at progtools.org
Wed Feb 13 07:45:15 UTC 2019


On Wednesday, 13 February 2019 at 07:30:35 UTC, JN wrote:
> On Tuesday, 12 February 2019 at 21:31:35 UTC, H. S. Teoh wrote:
>> The second biggest cause of memory safety problems IMO is not 
>> using a GC. I.e., manual memory management.
>>
>> Unfortunately, many folks with C/C++ background seem to be 
>> allergic to the GC, and will undoubtedly hate me for saying 
>> that not using a GC is one of the leading causes of their 
>> memory safety problems. But the historical facts speak for 
>> themselves.
>>
>>
>> T
>
> Seems like the tide has turned. While folks with C/C++ are 
> still allergic to a GC, they are very open to Rust-like static 
> analysis solutions which seem to be working.

Not all of them sadly. There is a talk from Herb Sutter at CppCon 
where only 1% of the audience claimed to use any kind of static 
analysis during their daily workflows.

However Microsoft is the one pushing for lifetime analysis 
tooling on VC++ and clang.

--
Paulo


More information about the Digitalmars-d mailing list