in reply to Projects where people can die
I would not use Perl. Nor any language that cannot be compiled to machine code and run from ROM. Harddisks can suffer dropouts.
In at least one machine code, a one-bit change in an opcode could change a common condition JUMP instruction in to a HALT instruction.
A single bit change in a ascii '0' makes it an ascii '1' and vice vera. In Perl, that could make
while( 1 ) { ## Critical code }
Into
while( 0 ) { ## Critical code that never gets run. }
With compiled code written to ROM (PROM, EEPROM maybe), preferably with EEC and an embedded crc check, testing can validate the final binary image. There are simply too many possibilities of accidental or malicious change to the source code of non-compiled, and runtime compiled languages.
I'd use Perl to prototype it maybe, and to test it, but not for final, life-critical application code.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Projects where people can die
by davis (Vicar) on Sep 07, 2006 at 22:27 UTC | |
by BrowserUk (Patriarch) on Sep 07, 2006 at 23:46 UTC | |
by hv (Prior) on Sep 08, 2006 at 11:46 UTC | |
by MidLifeXis (Monsignor) on Sep 08, 2006 at 17:06 UTC | |
by BrowserUk (Patriarch) on Sep 08, 2006 at 13:37 UTC | |
by Fletch (Bishop) on Sep 08, 2006 at 02:46 UTC |