3 ms·
C is definitely not a good choice for this, I would hate to come back 2 days later to my computation and see “segfault” as the only output.
by kaba0 4y ago
C is definitely not a good choice for this, I would hate to come back 2 days later to my computation and see “segfault” as the only output.
- Matumio 4y agoI'd be happy getting just a "segfault" from C. It would be so much better than subtly wrong results from reading uninitialized memory or out-of-bounds access, results that change depending on debug vs optimized build, or when changing some adjacent code.
- kaba0 4y agoSure, a segfault was just more visual, that’s why I went with that.