Are programs/OSes written in D more secure than programs written in C/C++?

Mehrdad wfunction at hotmail.com
Wed Jun 6 23:37:18 PDT 2012


On Thursday, 7 June 2012 at 06:33:41 UTC, Kapps wrote:
> On Thursday, 7 June 2012 at 05:04:30 UTC, Mehrdad wrote:
>>> no programming language will save you from that
>>
>> LINQ isn't exactly susceptible to SQL injection. :P
>
> I would consider Linq to SQL more of a library than a language, 
> even though it has compiler support. It's also something that 
> should be doable in D (and in a more optimized way than in C#), 
> especially if that __traits(codeof) pull gets added.

Huh.. for me, it's exactly the opposite.

You can use LINQ with _any_ library that provides the 
functionality.

The library itself doesn't really do much -- it's the syntax (& 
transformation) that's the key!


More information about the Digitalmars-d mailing list