News for hackers. Stuff that matters.
Re:Oni: An IDE powered by Neovim by izacus on Tuesday August 22, 2017 @07:59AM (#15071500)
"minimal effort" - that's exactly the keyword here. It allows absolute minimal effort and laziness from developer at the expense of end user. Electron is a technology that favors developer user experience over end-user user experience. And you wonder why it is hated?

It's like shitty iOS cordova packaged web apps - they also require "minimum effort" and "cross-platform functionality". At the tiny expense of horrible user experience.

> What would it take to achieve something like Electron but native? Why hasn't it been done yet?

Are you really that ignorant? Never heard of Qt, SWT, GTK and myriad of other cross-platform tools and widgets used to develop cross-platform apps since the 80s?

Re:Oni: An IDE powered by Neovim by borisj on Tuesday August 22, 2017 @08:21AM (#15071616)
It seems hated by some developers such as yourself, yet users of electron apps seem to quite like them, a lot. Not sure how slack's,spotify's, and visualcode's success indicate a horrible user experience. What Qt application has as much reach as slack? Every GTK app I've ever used outside of GNOME stuck out as out of place with the OS. Maybe some Qt apps flew under my nose but I'd say the same about them, at least to the extent that they always made it obvious via certain UI elements that they were Qt apps.
Re:Oni: An IDE powered by Neovim by cmiles74 on Tuesday August 22, 2017 @09:29AM (#15072146)
Slack and Spotify also have web applications that do essentially the same thing. I would be interested to know how many people download the Electron version but end up using the website more often, as this forces these apps to share the same runtime and puts some (meager) limits on CPU usage.

VS Code presents a good experience and it's resource usage is more reasonable, it's a good example of a successful Electron application. On the other hand, it has Microsoft behind it and there's probably good reasons why it's so much more performant than Atom, for instance. I am not convinced it's reasonable to expect all Electron applications to hit this relatively high bar in terms of quality.

In my opinion, Electron applications "stick out" as much as any other non-native application, this isn't an advantage to Electron. Indeed, I think Electron has proven that people aren't all that interested in a native application, as long as it's reasonably attractive and the interaction is fun. This could open the door for a new class of cross platform UI toolkit, one that drops the faux-native UI in favor of something simple, attractive and straightforward.

Re:Oni: An IDE powered by Neovim by tracker1 on Tuesday August 22, 2017 @01:30PM (#15074590)
I think that React-Native or similar combined with a control kit based on, for example Material Design could work very well. I know there's some effort from the Xamarin guys at MS towards this end. I also think that React-Native itself could become a better option for more platform-friendly implementations.
Re:Oni: An IDE powered by Neovim by howderek on Tuesday August 22, 2017 @09:22AM (#15072084)
"What Qt application has as much reach as slack?"

- KDE

- AMD's Radeon control panel

- VLC

- VirtualBox

Qt apps feel far more native than Electron apps in my opinion.

Re:Oni: An IDE powered by Neovim by epicide on Tuesday August 22, 2017 @02:22PM (#15075090)
KDE: not at all comparable to Slack's reach. Not an app. Not even cross-platform?

AMD's Radeon: admittedly, I have not used this.

VLC: hardly any UI. Mostly menu items.

VirtualBox: hardly any UI. Mostly menu items.

Edit: formatting.

Re:Oni: An IDE powered by Neovim by mclehman on Tuesday August 22, 2017 @04:08PM (#15075938)
I've used the Radeon control panel. I also use the Slack and Spotify apps all the time with no complaints.

The Radeon interface does not fit in at all with Windows (nor macOS or any Linux DE I've ever seen, for that matter) and is almost always glitchy for me.

Re:Oni: An IDE powered by Neovim by tazard on Wednesday August 23, 2017 @02:09PM (#15083716)
The Radeon control panel is worse than any electron app I have used, often glitching/freezing.
Re:Oni: An IDE powered by Neovim by davemp on Tuesday August 22, 2017 @08:51AM (#15071827)
Blizzard's battle.net client is a qt app. I don't think it's available on linux though.
Re:Oni: An IDE powered by Neovim by oneweekwonder on Tuesday August 22, 2017 @12:23PM (#15073935)
> I don't think it's available on linux though.

https://appdb.winehq.org/objectManager.php?sClass=version&iI...

Yes, feels strange to think that you need to run a qt app against wine because the publisher does not support gnu/linux.

But it is available on linux via `apt install wine` and downloading the exe.

Re:Oni: An IDE powered by Neovim by crystalmaze on Tuesday August 22, 2017 @09:40AM (#15072238)
Man, do I hate comments like these. Drive me nuts. I'd comment with my real username but I'm on travels on a public terminal.

"Favors developer user experience over end-user experience"

So, something that favors end-user experience over developer experience will produce spanking fantastic apps?

"It's like shitty IOS cordova.."

Like shitty android/ios apps without the cross-platform functionality?

"Are you really ignorant?"

Holy crap! Most of us here know the stuff from the 80's! We also know the awesome stuff we can do with modern tech.

Your comment sucks of classic cargo cow bullshit. Loosen up.

Re:Oni: An IDE powered by Neovim by e_proxus on Tuesday August 22, 2017 @08:25AM (#15071645)
Note that I don't prefer one technology over the other here, I just pointed out that this seems to be why people pick Electron.

I already know of the toolkits you mentioned, no need to call me ignorant. I have to admit I've never seen a single Qt, SWT, GTK app that looked and felt native. There probably are some but I would argue the effort is much higher than Electron.

Re:Oni: An IDE powered by Neovim by danielbarla on Tuesday August 22, 2017 @08:35AM (#15071709)
Interestingly, I'm an end user of both Visual Studio and Visual Studio Code on a daily basis, and far prefer the user experience of the latter, Electron or no.