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 can't stand using VSCode so I wrote my own
41–50 of 186 posts
Re: I can't stand using VSCode so I wrote my own
#42I 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
#43VSCode 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…
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
#44VSCode 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…
Re: I can't stand using VSCode so I wrote my own
#45After 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
#46And Zed?
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…
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…
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>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
#50I 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.
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).