Live data from Hacker News

Hyper 2, Electron based terminal

zeit.co

141–150 of 231 posts

Re: Hyper 2, Electron based terminal

#143

Wow so much hate in this thread. First, the author is not doing this for his CV. Second, the benefits of using electron are enormous for any JS developer and there are a lot. Third, I also hate electron apps and wouldn’t use this app, but I’m not going to jump back to “why electron is bad” discussion, since I can’t suggest anything better in 2018.

"Second, the benefits of using electron are enormous for any JS developer and there are a lot."

Disagree. I'd argue using Electron actually holds back developers, because they don't learn languages other than JS.

Re: Hyper 2, Electron based terminal

#145
post #51

Like I've said a million times, https://medium.com/p/electron-is-cancer-b066108e6c32 Why would you use a full web stack terminal emulator, over.. well a normal native and actually reasonably fast terminal emulator? The trend is catching on, so maybe one day we can't even reach for a native email client because it will be unmaintained in favour of the hackable html webstack email client. Congratulations on reaching v2…

Good read. Thanks. And I agree: Electron is horrible to deal with as an end-user. I've been using Vim for some time and then decided to use VS Code. The integrations, plugins, and everything else were awesome, but man the 3-4GB of RAM was just crazy. Despite the fact my machine has 16GB of RAM, I'm dealing with quite a few VMs and Docker containers locally, so actually 16GB isn't a lot.

> but man the 3-4GB of RAM was just crazy

What kind of files do you usually work with? Because I've currently got two 10000+ line python files open which are part of a project that is at least a million lines of code, and my VSCode instance is using less than 300 MB of RAM.

Re: Hyper 2, Electron based terminal

#146
post #76

Earlier quoted context omitted.

Come on, what is bad and old on c++? :)

I like to Keep it simple - and it's very painfull to do that in C++. Yes, you can write simple code, but it's lot easier to do it in other languages.

Modern C++ is not simple, but modern JavaScript is?

Re: Hyper 2, Electron based terminal

#147

Earlier quoted context omitted.

Rust Evangelism Strike Force to the rescue.

I laughed real hard at this phrasing: > Alacritty is the fastest terminal emulator in existence. Bold.

Especially true when the methodology to test performance was just `find /usr` [1], and comparing it with a just a few alternatives. I'm sure they have a better and more thorough benchmark these days, but that was pretty funny.

[1] https://github.com/jwilm/alacritty/issues/289

Re: Hyper 2, Electron based terminal

#148
post #120

Earlier quoted context omitted.

> pypy, which is 50 times faster than V8. Ehhh V8 is pretty competitive with C for number crunching. Where are you getting that 50 times figure from?

threads.

http://doc.pypy.org/en/latest/faq.html#does-pypy-have-a-gil-...

If you're using parallelism for non-IO-related reasons, then in either language, you'll probably end up using multiple processes rather than multiple threads.

Re: Hyper 2, Electron based terminal

#149
post #49

Like I've said a million times, https://medium.com/p/electron-is-cancer-b066108e6c32 Why would you use a full web stack terminal emulator, over.. well a normal native and actually reasonably fast terminal emulator? The trend is catching on, so maybe one day we can't even reach for a native email client because it will be unmaintained in favour of the hackable html webstack email client. Congratulations on reaching v2…

Look several years into the future and what you could have there is electron being faster/lighter. Being web-based gives you a standard way for fetching and displaying content. It's just a matter of time that the performance improves. Especially when many people are experimenting with it. > maybe one day we can't even reach for a native email client because it will be unmaintained in favour of the hackable html webst…

Why spend the time and effort to do that, though? The amount of resources used to bring Electron into something reasonable could be better used elsewhere, advancing things that we don't already have.

Re: Hyper 2, Electron based terminal

#150
post #137

My gripe was always having a terminal not blend in with the editor which makes this nice but vscode essentially does that out of the box for me. Now if I ever need the terminal and I'm not looking to code anything, I just use the native terminal. I can see why some people might like this if they are using sublime, atom, etc other editors that don't have terminal included but that was the only void this somewhat filed…

I solve this problem by using vim, so my terminal is my editor.

Believe me, I wish I spent more time getting familiar with vim to enjoy that workflow. The bottleneck in programming something is very rarely my typing speed though.
Post reply on HN