D not considered memory safe

Timon Gehr timon.gehr at gmx.ch
Thu Jul 11 00:19:26 UTC 2024


On 7/10/24 23:50, Walter Bright wrote:
> On 7/8/2024 4:18 PM, Timon Gehr wrote:
>> The simple fact is that if you program in a language without footguns, 
>> you are free to not worry about shooting your own foot. (Assuming you 
>> like having feet.)
> 
> A "footgun" is just another word for "bug".

This is not true. A footgun in this context is something that encourages 
the creation of bugs. A "footgun" is another word for "error-prone design".

> There is no known way to 
> craft a computer language to make bugs impossible.
> 
> Oh, perhaps there is a way - a programming language that doesn't allow 
> you to do anything.

There is a wide spectrum between the two extremes. You are here engaging 
in unproductive black and white thinking.

Again, just watch your own keynote from last year's DConf. All airplanes 
can crash, that does not mean all cockpit designs are equivalent.


More information about the Digitalmars-d mailing list