Live data from Hacker News

Hyper 2, Electron based terminal

zeit.co

61–70 of 231 posts

Re: Hyper 2, Electron based terminal

#61

Pop quiz: what's more ridiculous, nodejs based command line utilities that do the same thing as two existing shell utilities and a pipe or a while loop etc; OR, an electron "shell"... which can then run those same nodejs "utilities"... Oh maybe that's the whole point. They want "it's javascript all the way down". I think I'd literally rather use a shell built on actual turtles. A turtle-shell, if you will.

[deleted]

Re: Hyper 2, Electron based terminal

#62
post #4

Interested to see how this compares in performance and resource usage with Alacritty[1] [1]: https://github.com/jwilm/alacritty

tl;dr: Hyper 1 did pretty bad. I don't expect much from Hyper 2

https://drive.google.com/file/d/1eQJPan-hs4AgX1pK45WS2UNjjVg...

source: https://danluu.com/term-latency/

Re: Hyper 2, Electron based terminal

#63
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.

I've been using VSCode for years and it's been great, but I'm always looking for learning something new. I keep reading about Vim and last time I checked it seems SO complicated to use. I don't understand how it's so popular. Is it because it's blazing fast?

Re: Hyper 2, Electron based terminal

#64

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…

Because it's pretty. Because you get state of the art Unicode decoding and support. Because you can get a terminal on Linux in a first class GUI system that's normalized across all major operating systems backed by billions of investment.

Most modern terminal emulators will give you all of this, in fairness, and it’s probably one of the simplest classes of programs for which to provide this!

Re: Hyper 2, Electron based terminal

#65
post #36

Earlier quoted context omitted.

- Easier to make a multiplatform application, compared to alternatives. - Makes it possible for people who don't know (and/or don't want to know) anything beyond the web stack to build "desktop" applications. - Easy to make it look nice by default, because you can reuse all the work that went into building the browser as a runtime, + you have a ton of eyecandy JS libraries to choose from.

Also you can have interesting rendering possibilities like in-line display of images, charts, tables. Longer-term: new generation of command-line tools with different ux paradigms for interactive use? Like, Funny that people "get" jupityr notebooks but not this.

I'd totally love to see that happening. Except it isn't. I would even accept Electron if the primary motivation was to enable such a rich terminal interaction experience. But that's not what's the case here, apparently.

Re: Hyper 2, Electron based terminal

#66

Pop quiz: what's more ridiculous, nodejs based command line utilities that do the same thing as two existing shell utilities and a pipe or a while loop etc; OR, an electron "shell"... which can then run those same nodejs "utilities"... Oh maybe that's the whole point. They want "it's javascript all the way down". I think I'd literally rather use a shell built on actual turtles. A turtle-shell, if you will.

Turtle [0] indeed is a much more useful "shell" (it's not actually a shell, but so isn't this electron thing)

[0] - https://hackage.haskell.org/package/turtle

Re: Hyper 2, Electron based terminal

#68
post #25

Earlier quoted context omitted.

The whole electron stack disgusts me. Mainly because of battery usage on my laptop and my phone! Its a clear example of "We can do it but should we do we?" The answer is NO!

hey, how else can I change the transparency of my shell with css ?

Why do you need to use CSS specifically?

macOS built-in Terminal.app has had transparency (even varying transparency for focused vs background windows) for years.

Edit: oh, maybe you were being sarcastic? It's been a long day.

Re: Hyper 2, Electron based terminal

#69
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.

"Electron is horrible to deal with as an end-user" - this is not reflective of your average user at all. Most people are just happy to have an app that looks, acts and feels native.

Re: Hyper 2, Electron based terminal

#70
post #46

I just can't stand Electron based applications at all. I can't stand JavaScript actually, but that's something different entirely. I'm really looking forward to learning Flutter ( https://flutter.io ) so I can finally do some mobile based application development in a cross platform manner without having to use JavaScript. Prior to Flutter I was considering Swift and Kotlin and just maintaining two code bases (and two…

I've been playing with Flutter and it seems pretty good. Dart isn't too hard to get your head around and isn't too annoying, although I do find myself disappointed that I have to learn yet another language for it. I don't have a particular problem with learning languages, but it's another speedbump on the way.

And Dart is about a million times better than JS for the way I like to think about code.

Post reply on HN