Hacker News new | ask | show | jobs
by kaba0 1175 days 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.
1 comments

I'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.
Sure, a segfault was just more visual, that’s why I went with that.