Again, I write scientific/engineering programs in C. I want my codes to be used forever so it is very important that they be portable. As I'm developing a code about every few months, I'll recompile the program on every machine that I have access to. Not only does this insure portability but it shakes out many of the "sleeping bugs" that remain hidden when developing on only one machine. Sometimes keeping an old machine alive is useful because it has a squirrely compiler that is super sensitive to bugs. The CCC compiler for the Alpha was an example this. Some of my curliest bugs would pop up for easy removal if I compiled under CCC. Too bad its obsolete and now an orphaned product.
Gary
Space/Science » in reply to More like, "Write once, test everywhere"
I use portability for debugging
The whole thread (45 posts)
- a comment on the go for shuttle launch
- re: a comment on the go for shuttle launch
- re: a comment on the go for shuttle launch
- my view as posted on msnbc.com
- Could you imagine what the doctors would say if you had a backup heart?
- Intermittent problems are tough to fix
- re: Intermittent problems are tough to fix
- It's like the "array out of bounds" bug in C programming
- which is itself the best argument against C.
- re: It's like the "array out of bounds" bug in C programming
