3 ms·
FWIW, we've developed and supplied safety-critical, soft-real-time applications in BBC BASIC. It was a genuinely serious language. I also developed symbolic
by ColinWright 14y ago
FWIW, we've developed and supplied safety-critical, soft-real-time applications in BBC BASIC. It was a genuinely serious language.
I also developed symbolic execution and partial verification systems for it, and that helped confirm that our systems were appropriate for the context in which they were used.
- rjek 14y agoPlease tell me who you work for, so I know to avoid any of your products. Using BBC Basic like this terrifies me. If anything, because its total lack of type safety for anything but the simplest of values.
- ColinWright 14y agoOut of interest, let me ask: Do you believe it's impossible to write safety-critical software in C?
- meaty 14y agoAnecdotally, I think you got the wrong end of the stick regarding type safety. I used to work for a defence contractor who avidly programmed everything in ADA with verified compilers and mathematically proved algorithms. Stuff still broke because the algorithms and designs were wrong. That particular problem is far more problematic than type constraints. Regarding BBC BASIC, it is strongly typed but all casts and conversions are implicit so you need to know what it's going to do: REM win p%=4;q%=4;r%=p%/q%;PRINTr% REM fail p%=4;q=4.0;r%=p%/q;PRINTr% The earlier has no cast, the latter does. When it goes wrong, it's not usually the code that's gone phut: http://www.ntk.net/2000/07/14/dohtrain.jpg http://www.ntk.net/2000/07/14/dohtrain.jpg
- saw-lau 14y agoWow! Thanks for the reminder about how great NTK was. :-)
- meaty 14y ago+1 for awesomeness :)