Making alloca more safe

Max Samukha spambox at d-coding.com
Tue Nov 17 11:13:36 PST 2009


On Tue, 17 Nov 2009 02:51:13 -0800, Walter Bright
<newshound1 at digitalmars.com> wrote:

>
>I suppose nobody much cares if it writes out a corrupted audio file. 
>People care very much if their airplane suddenly dives into the ground.
>
>Be that as it may, it is certainly possible to catch seg faults in an 
>exception handler and write files out. That would be an unacceptable 
>behavior, though, in a system that needs to be safe.

Yeah, you are right. It was just one example where continuing the
execution after failure makes sense.

>> Then, instead of sticking with Windows and the likes, you may want to
>> think about porting dmd to a more serious environment specifically
>> designed for developing such systems. What about a real-time
>> microkernel OS like this one:
>> http://www.qnx.com/products/neutrino_rtos/ ?
>
>dmd targets Windows because that's where probably half the programmers 
>are. I'd certainly like to do embedded systems, too, but realistically 
>that's going to be the purview of gdc or ldc.

Ok.



More information about the Digitalmars-d mailing list