Google's take on memory safety

Walter Bright newshound2 at digitalmars.com
Sun Mar 10 04:24:15 UTC 2024


On 3/9/2024 3:32 PM, Lance Bachmeier wrote:
> I "ported" a few thousand lines of C to D in a couple hours this afternoon. That 
> includes the time it took to put all C memory allocation inside SafeRefCounted. 
> With the overhead out of the way (setting up the SafeRefCounted structs, 
> testing, and some minor other things) I bet I could easily port 20,000 lines in 
> an 8-hour day. Working directly with C macros was the last thing needed to make 
> this go fast.

Thanks for posting that, I enjoy such testimonials!


More information about the Digitalmars-d mailing list