[TUHS] Buffer overflow found/fixed in v4 tape ;)

Arnold Robbins via TUHS tuhs at tuhs.org
Tue Jan 6 03:44:06 AEST 2026


Clem Cole via TUHS <tuhs at tuhs.org> wrote:

> I recall that some of the language folks (particularly those heavily
> involved in the Pascal *vs.* C war) like to say things like: *"See, the
> compiler should have general bounds-checking code."  *I can't say I agreed
> on the general topic (there were too many things Pascal got wrong), but
> note that today both Go and Rust provide automatic bounds checking for all
> array and slice accesses at runtime.

You can thank Moore's Law for that.  We can afford the "penalty" on
today's hardware.  On yesterday's it was a *much* more painful decision.

Arnold


More information about the TUHS mailing list