Live data from Hacker News

I can't stand using VSCode so I wrote my own

bold-edit.com

41–50 of 186 posts

Re: I can't stand using VSCode so I wrote my own

#41

Earlier quoted context omitted.

Opening a 1GB JSON file and scrolling, editing, and keeping syntax highlighting correct is something that even native text editors struggle with.

Sublime have opened way larger files with no issues for me

I’ll second this. And to emphasize, so it’s not just a useless “+1 comment”: I never cared for Sublime as an editor, despite some effort to appreciate it when it was at its popularity peak. But it instantly became, and remained, my go to editor for working with huge files.

Re: I can't stand using VSCode so I wrote my own

#42
>I'd tweak the script; then to see the results I would press F5 to run the already built binary and wait over a second EVERY SINGLE TIME (about 1480ms).

I put in a bug report for this years ago but it got ignored :( https://github.com/microsoft/vscode/issues/137066

Vscode has gotten slower over time. It's true you can't get nanosecond performance out of JS, but anything under 17ms should be trivial. I believe the vscode developers are skilled, it's just they don't care (imo) enough about performance for whatever reason, and that's a shame.

Re: I can't stand using VSCode so I wrote my own

#43
post #14

VSCode is slow? I mean, for 7 years? Somewhere around early 2017 things started to get out of hand and VSCode was super hyped. To the point 99% on HN was saying it was very fast. Initially ( Pre 2017 ) it was compared to Atom which means the bar was low. And then somehow people start claiming it was as fast as Sublime or they see no difference. As someone mentioned down below, both Lapce and Zed is designed with spee…

Probably a combination of new developers and wide spread use of SSDs have made it's public image of speed. But really it is pretty quick, on modern hardware it is more or less instant at most tasks.

I use Jetbrains IDEs and am migrating to neovim, even Jetbrains is basically instant searching across large codebases once on good hardware.

Re: I can't stand using VSCode so I wrote my own

#44
post #14

VSCode is slow? I mean, for 7 years? Somewhere around early 2017 things started to get out of hand and VSCode was super hyped. To the point 99% on HN was saying it was very fast. Initially ( Pre 2017 ) it was compared to Atom which means the bar was low. And then somehow people start claiming it was as fast as Sublime or they see no difference. As someone mentioned down below, both Lapce and Zed is designed with spee…

If I were to guess, like everything else, it’s fast until you install extensions.

Re: I can't stand using VSCode so I wrote my own

#45
When I had a 2 GB laptop lying around, I always wanted a simple text editor with auto-completion etc. (Though only for Python, Linux)

After trying KDevelop, Kate, Eric, Sypder etc. I thought I could write my own.

I had a simple plugin system in mind, with similar to LSP style features (VSCode was not released that time).

The UI was inspired by Blender. Blender has such a fluent UI where you can customize everything.

So I wrote a small GTK library to mimic Blender's UI.

And started development of the text editor. But then got busy with school and left the idea.

Then I found out Emacs and Doom Emacs and dropped the idea of a custom text editor eventually :).

Two reasons: 1. Emacs was 200% configurable, which is what I wanted to implement in my editor too.

2. Emacs worked pretty good on my 2 GB laptop with all the goodies.

But compared to 10 years back (when I was trying these things), it is quite easy now thanks to LSP, Tree-Sitter etc. But it is always a fun ride with algorithms and data structures. :)

I haven't used VSCode, but it is really nice how it changed the text-editor platform with LSP etc.

Now I have a laptop with 24 GB RAM but I'm forever vendor locked-in with Emacs :D

Re: I can't stand using VSCode so I wrote my own

#47

>I'd tweak the script; then to see the results I would press F5 to run the already built binary and wait over a second EVERY SINGLE TIME (about 1480ms). I put in a bug report for this years ago but it got ignored :( https://github.com/microsoft/vscode/issues/137066 Vscode has gotten slower over time. It's true you can't get nanosecond performance out of JS, but anything under 17ms should be trivial. I believe the vsc…

[flagged]

Re: I can't stand using VSCode so I wrote my own

#48

>I'd tweak the script; then to see the results I would press F5 to run the already built binary and wait over a second EVERY SINGLE TIME (about 1480ms). I put in a bug report for this years ago but it got ignored :( https://github.com/microsoft/vscode/issues/137066 Vscode has gotten slower over time. It's true you can't get nanosecond performance out of JS, but anything under 17ms should be trivial. I believe the vsc…

Everybody who worked writing code in the 70s-90s is smirking at “wait over a second”.

Back in the day, I used to go get my coffee, shoot the shit in the break room for a few minute, and come back to find my debug runs just starting.

Re: I can't stand using VSCode so I wrote my own

#49
post #48

>I'd tweak the script; then to see the results I would press F5 to run the already built binary and wait over a second EVERY SINGLE TIME (about 1480ms). I put in a bug report for this years ago but it got ignored :( https://github.com/microsoft/vscode/issues/137066 Vscode has gotten slower over time. It's true you can't get nanosecond performance out of JS, but anything under 17ms should be trivial. I believe the vsc…

Everybody who worked writing code in the 70s-90s is smirking at “wait over a second”. Back in the day, I used to go get my coffee, shoot the shit in the break room for a few minute, and come back to find my debug runs just starting.

Wasn't that mostly compiling though? VSCode's CMake tools take multiple seconds just starting an already-built executable.

Re: I can't stand using VSCode so I wrote my own

#50

I use vscode for doing devops-y things (Terraform, OpenTofu, JSON, python, yaml, txt, dockerfiles, etc.) and sometimes the way it bogs down my system drives me bananas. I'll punt to Sublime Text on occasion and use it for a few days, but then start running into papercuts in various places and have to go back to vscode. I so, so wish there was a better way to do this without fucking electron.

I have like 10 separate VSCode workspaces (windows) open at all times along with 2 browsers and dozens of tabs and I never feel like my system is bogged down.

In that sense I wonder if your computer just needs an upgrade?

I’m not advocating for e-waste but also if you’re a developer then you’re the most justified person to invest in a beefy system.

E.g., if you have any kind of Intel Mac, you absolutely should upgrade.

I don’t let my computers get older than 3-5 years because compromises to my workflow aren’t worth the cost savings (I just make sure I keep them in good shape and sell them to someone who is going to continue using them). I want to choose the best software for my workflow, which is not necessarily the software that is most resource efficient (that would be like choosing MS Paint instead of Photoshop).

Post reply on HN