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

Larry McVoy via COFF coff at tuhs.org
Tue Jan 6 08:57:10 AEST 2026


On Mon, Jan 05, 2026 at 10:28:48PM +0000, segaloco via COFF wrote:
> All in all, I simply wish there was more of a trend of "upgrading
> languages" more regularly, taking on more precise or more expressive
> vehicles as one goes, rather than having to invest in a specific language
> and then forever be beholden to or influenced by its specific "accent".

Amen, brother.  A large part of the complaints with C would evaporate if
there was a C with a string type.  Where the allocation, reallocation,
truncation, etc, all happened under the type.  Lots and lots of the 
buffer overflows are on buffers that are for strings.  Add a string 
type and they go away.

I find it distasteful that people think they need to invent a new syntax
to solve their $PROBLEM.  It doesn't respect the investment people have
made in learning C syntax to force rust syntax or Go syntax on them.

I made an attempt to make an advanced C, it never really went anywhere,
I'm probably the only user.  But it shows you how far you can push C
syntax.  It's pretty far.

https://www.little-lang.org/
-- 
---
Larry McVoy           Retired to fishing          http://www.mcvoy.com/lm/boat


More information about the COFF mailing list