Hacker News new | ask | show | jobs
by nox101 524 days ago
I have, it's called Visual Studio Code and I ditched my old native editor(s) for it.

I'd even suggest that the fact that it's JS based has significantly changed the tech world because the editor itself will run in a browser so it's here https://godbolt.org/ , and here https://codesandbox.io, and here https://www.postman.com/, and here https://aws.amazon.com/pm/cloud9/ and 100s or 1000s of other sites.

3 comments

VSC is the least bad Electron app I’ve ever used, but (heavily subjective) it pales in comparison to Neovim + Tmux. It’s not even close.

Related: I was looking at WinRAR’s site last week after reminiscing about it with coworkers, and found that a. They haven’t really updated their UI since I last used it a decade+ ago b. The download is still 4 MB. THAT is why native is superior – if you know what you’re doing, you can get incredible performance with absurdly low filesizes.

why do i care about filezises though? storage is sized for HD video now
Because I need the space for videos and games and that's why I have large storage. Not for tiny applications wasting 300 MBs because someone thought that an electron app would reduce engineering cost.
Aside from the fact that it shouldn’t take hundreds of MB to launch the simplest of apps, and that it’s incredibly wasteful on its face? Memory. Where do you think those bytes end up when you launch it?
It's not, plenty of old hardware exists, but if you personally don't care about waste, what do you expect, a convincing argument that you should?
I use VSC because some mature plugins only exist for VSCode, like Rust, and Microsoft pushing it for stuff like PowerShell, killing their ISE IDE.

And it only performs that well, because all critical code is written in a mix of C++ and Rust running in external processes, and they have ported text rendering into WebGL.

It's an interesting example, because the fact that it is js makes it trivial for most developers to make modifications to it by opening the Chrome DevTools. Even if you're not a js dev, you probably occasionally write some js.

I'm arguing that it's successful because any of its users can trivially hack something on top of it and distribute it, including things the original devs never intended or think is a good idea. In that way, its success mirrors Excel.

> I'm arguing that it's successful because any of its users can trivially hack something on top of it and distribute it

Emacs and Vim are way easier to extend.

Vimscript and elisp suck, but Lua isn't bad despite being 1-indexed.

But in terms of access, JS wins hands down.

You may not like the languages, but it's way easier to add a new feature to these editors than doing the same in VSC. Especially extending a plugin.
I think with out a working definition of "easy/hard" it's all hand-waving.

From a documentation, examples, accessibility, tooling, and number of people you can get help from, JS wins.

What other metrics should we consider when comparing, API complexity, LOC for average plugins, google results?

I think if we had a reasonable baseline for comparison, it would be helpful.

> From a documentation, examples, accessibility, tooling, and number of people you can get help from, JS wins

Maybe as a general purpose language, but for this specific comparison (extending editors). Elisp and Emacs wins. Vimscript is not the best plugin language, but the interation process is way better than VSC.