News for hackers. Stuff that matters.
Re:Lapce – Fast open-source code editor by hgomersall on Thursday March 17, 2022 @04:57AM (#30709000)
Really? I take it to mean "fast and won't randomly segfault".
Re:Lapce – Fast open-source code editor by mhh__ on Thursday March 17, 2022 @10:39AM (#30711672)
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.
Re:Lapce – Fast open-source code editor by shakow on Thursday March 17, 2022 @11:18AM (#30712074)
> As long as you have bounds checking and a test suite you're golden.

And other hilarious jokes you can tell yourself

Re:Lapce – Fast open-source code editor by mhh__ on Thursday March 17, 2022 @08:29PM (#30717366)
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?
Re:Lapce – Fast open-source code editor by mburee on Thursday March 17, 2022 @02:56PM (#30714643)
I can't remember the last time any C tool segfaulted on me
Re:Lapce – Fast open-source code editor by tekknik on Sunday March 20, 2022 @11:47AM (#30743645)
Sublime text is written in C, and before VSCode it was arguably the most popular editor on the planet.
Re:Lapce – Fast open-source code editor by lifty on Thursday March 17, 2022 @03:52PM (#30715203)
Which one is that?