> As long as you have bounds checking and a test suite you're golden.
And other hilarious jokes you can tell yourself
I wouldn't recommend such a simple approach for something like a compiler, but for a text editor I don't think it's unreasonable. How many allocations can it actually need within any given subsystem which you can test individually?
I can't remember the last time any C tool segfaulted on me
Sublime text is written in C, and before VSCode it was arguably the most popular editor on the planet.