Hacker News new | past | comments | ask | show | jobs | submit login

That should really apply to any systems language other than C for a text editor. As long as you have bounds checking and a test suite you're golden.



> 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.


Which one is that?




Consider applying for YC's Summer 2025 batch! Applications are open till May 13

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: