It is trivial to create cross platform user interfaces with native code using Qt.
Html/js is no better than java swing. You'll end up with something that behaves in non-standard ways on all platforms. I think people underestimate the effort it takes to implement even the simplest form dialog in a way that is looks like a native window on more than one platform. Qt is the only framework i know that behaves at least passable on a wide range of platforms.
Qt is the way to go. But noooo, let's do it in Javascript/HTML because you know, webscale and shit. Totally a waste of talent because those guys could be investing their time not only writing in Qt but also contributing to make Qt better and encourage people to use it in their own projects. HTML is pure crap.
It looks like that application's author opted to create their own UI, using their own layout, styles, etc. Qt has a module for native widgets; here's what it looks like in Android for example:
I looked at a few of the Mac samples and found them equally unsettling, I just figured Android would be a more accessible example. "Cross platform UI toolkit" in my experience means "feels like Windows everywhere".
The looks are the least of the aspects I would care about. I would rather have an ugly non-standard pure text interface if it had all the features I need in a fast and efficient way (I'm not saying that's the case for atom.....) than a beautiful piece of native-looking sluggish mess.
An editor doesn't need to look native, indeed. I need it to behave natively. Qt creator doesn't look like a native app either, but it behaves as one. It uses my OS text rendering settings, it uses my OS style of hotkeys, it uses my OS file picker dialog.
Have you ever used GIMP on windows? When i close gimp, a dialog box comes up that asks whether i want to save the current image or not. I always hit n instinctively. But no, the gimp developers have decided to assign d to that particular action. I press d a few times, nothing happens. O wait, i need alt + d ... This is the kind of stuff that completely breaks my workflow. A mac user would tell me that the buttons are in the wrong order.
I rely on standard behavior so much that i can point out UI bugs in windows explorer and windows media player. Apparently, even Microsoft can't get basic behavior right 100% of the time in their core apps.
Nearly it's based on atom shell now called electron which is a framework that allows you to write x-platform apps in HTML and JS and is itself based on chromium and io.js.
I don't think the problem is the JS part but the HTML rendering part.
There are editors written in slower VMs than the V8 engine.
They could have still used nodejs and implemented the interface using some established toolkit rather than using a stripped down Chromium. Even stripped down it's still a beast. Plus now they have the extra burden of having to maintain their own Frankenstein... they even needed to create a custom fork of nodejs to be able to embed it properly
View all comments
Show parent comment
10
u/thelehmanlip Jun 25 '15
Yeah, Visual Studio Code did the same thing. I'm not totally sure why.