Live data from Hacker News

Writing my own text editor, and daily-driving it

blog.jsbarretto.com

31–40 of 124 posts

Re: Writing my own text editor, and daily-driving it

#31
> Cursor manipulation is difficult! When you’re using a text input widget, much of the behaviour you expect as table-stakes isn’t something you’re even conscious of. Exactly what happens when you hold a keybinding like ctrl + shift + left is probably muscle memory but the logic required to getting it all playing together nicely is not fun to write.

This is so true. And there are a lot of other cases where we just expect the OS or library to do it for us. Instead, we have to reimplement the wheel. Of course if understanding the wheel is part of the goal, then that works, but if you’re venture-backed good luck justifying the use of time to your investors. This is why Electron’s gravity is so strong.

Re: Writing my own text editor, and daily-driving it

#32

One of the best kept secret and one that he should have tried is "Kate". Good old style editor that is a native app, not an electron app. All the features that you might want and more, but simple and efficient. And the most important for me, super snappy. I can't bear the latency that you get for typing code when using things like vscode. I don't know how people can appreciate that.

I'm quite partial to Zed. Very snappy, and you can turn off all the AI features globally if you like.

Re: Writing my own text editor, and daily-driving it

#34
post #3

I use my own text editor too. Nobody else seems to get value from it. I’m still surprised by the value we get from home grown solutions.

I use my own text editor too. Sometimes I get surprise questions from my friends whenever they see my screen. “What’s that?” “That’s my own text editor!”

You can perform a legitimate muscle-flex when saying that too.

Re: Writing my own text editor, and daily-driving it

#37

One of the best kept secret and one that he should have tried is "Kate". Good old style editor that is a native app, not an electron app. All the features that you might want and more, but simple and efficient. And the most important for me, super snappy. I can't bear the latency that you get for typing code when using things like vscode. I don't know how people can appreciate that.

I'm quite partial to Zed. Very snappy, and you can turn off all the AI features globally if you like.

Yes, I'm happy with Zed a Sublime replacement, usually for general text-editing.

For coding, I'm still stuck with VSCode and nvim.

Re: Writing my own text editor, and daily-driving it

#38

One of the best kept secret and one that he should have tried is "Kate". Good old style editor that is a native app, not an electron app. All the features that you might want and more, but simple and efficient. And the most important for me, super snappy. I can't bear the latency that you get for typing code when using things like vscode. I don't know how people can appreciate that.

I'm quite partial to Zed. Very snappy, and you can turn off all the AI features globally if you like.

[deleted]

Re: Writing my own text editor, and daily-driving it

#39

Fond memory of when I wrote an editor in the 90's because we didn't want to use "ms edit" for COBOL and asm files. Syntax coloring, fast buffering and even a screen saver. You could even call the compiler directly from it. All this running on a pentium 120 and it felt a thousands times faster than today's vscode. But vscode can edit multiple files at the same time...

> But vscode can edit multiple files at the same time

borland turbo pascal and turbo c could also open multiple files at the same time.

Re: Writing my own text editor, and daily-driving it

#40

One of the best kept secret and one that he should have tried is "Kate". Good old style editor that is a native app, not an electron app. All the features that you might want and more, but simple and efficient. And the most important for me, super snappy. I can't bear the latency that you get for typing code when using things like vscode. I don't know how people can appreciate that.

I know this is just one data point, but I don't notice any latency when typing code in VS Code. It takes a while to start up, and that is annoying especially for quick short editing jobs, but other than that I never notice any sluggishness. Is this something many people experience?
Post reply on HN