Are programs/OSes written in D more secure than programs written in C/C++?
Walter Bright
newshound1 at digitalmars.com
Thu Jun 7 21:34:12 PDT 2012
On 6/6/2012 3:04 PM, J.Varghese wrote:
>
> I'm not a programmer, so can someone explain this to me: Will
> programs and operating systems written in D be safer (I speak of
> both memory safety and security bugs) than existing operating
> systems written in C and C++?
D offers a number of features designed to reduce and even eliminate
security problems due to exploits of memory corruption issues. For
example, @safe functions.
D does offer things like better encapsulation methods that enable the
programmer to better define interfaces, such as contracts, but designing
that for security would be entirely up to the programmer.
More information about the Digitalmars-d
mailing list