Feb 3, 2022
New data on an old, boring subject from someone without an axe to grind

I just tracked down my umpteenth memory corruption bug in Teliva: https://github.com/antirez/kilo/pull/81

I'm pretty sure this was the one that got me to lose data on several days of Advent of Code 2021.

The number of such bugs found in this tiny codebase (https://github.com/antirez/kilo/search?q=memory is not comprehensive) is a huge case against C. I'm not out of practice, I'm just only able to manage memory reliably in C++, for all that I dislike it.

This post is part of my Freewheeling Apps Devlog.

Comments gratefully appreciated. Please send them to me by any method of your choice and I'll include them here.

archive
projects
writings
videos
subscribe
Mastodon
RSS (?)
twtxt (?)
Station (?)