Warnings / Compiler switch for secure programming

Alexander Panek a.panek at brainsware.org
Fri Mar 23 09:15:31 PDT 2007


Hello Matthias,

I think there have been discussions about such kind of switches. Yet, 
there's actually no reason for not allowing "insecure" (as in: C-like) 
code. It's not a bug, it's a real feature, to stay compatible to C! And 
yes, this also implies manual memory management with malloc & friends, 
as those are meant to be used within time/speed-critical applications 
(e.g.: games [not so critical, but it's appreciated to have a game 
running with low latency]) and applications with lots of managed memory. 
There are approaches with memory pools in that regard, though I don't 
know if they are open source or available anywhere.

Kind regards,
Alex



More information about the Digitalmars-d mailing list