Space/Science — HabitableZone

Space/Science » in reply to More like, "Write once, test everywhere"

I use portability for debugging

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

Log in or register to post.

The whole thread (45 posts)