News for hackers. Stuff that matters.
Re:It is fast or it is wrong by widdershins on Saturday December 29, 2018 @12:39PM (#18784699)
The fact is that a viable, efficient, native and cross-platform GUI solution has failed to emerge. Note the word 'viable'. Those who might suggest that Qt covers that role have to explain why, even though it has been capable of fast, attractive apps for a long time, nobody built Slack, Discord, Atom or VSCode in it.

This is the point about Clojurescript too: yes it compiles slower and runs slower, but it allows access to what is essentially the world's largest and most complete UI framework, known as the browser. That makes apps cheaper and faster to produce, at the cost of sluggish/bloated performance. The market has indicated that this is an acceptable tradeoff. Until some other solution can match it on these axes, Electron/Javascript/React SPAs will dominate.

I work with a Qt-like C++ GUI framework (JUCE), but we've seen increasing portions of our front-end work replaced with Electron/React Native. It saddens me to see binary sizes and memory consumption balloon, because native development encourages you to care about these things. But even I cannot deny the order-of-magnitude improvements in productivity from hot-reloading, a deep (if byzantine) system for styling and layout (including text), and reuse of modular components across all platforms.

Re:It is fast or it is wrong by pjmlp on Saturday December 29, 2018 @02:53PM (#18785356)
> Those who might suggest that Qt covers that role have to explain why, even though it has been capable of fast, attractive apps for a long time, nobody built Slack, Discord, Atom or VSCode in it.

Because those are companies dominated by webdevs that can't be bothered to learn anything else.

Even VSCode is probably a side effect of Microsoft trying to be cool and cattering to the new generations that don't know anything else.

For me, it just made me buy a Sublime Text license instead.

Re:It is fast or it is wrong by bunderbunder on Saturday December 29, 2018 @04:11PM (#18785697)
VSCode grew out of a project to make a browser-based IDE. So, when they decided to make a desktop-like user experience instead, Electron was the natural choice, as a way to make it a port rather than a complete rewrite.

You could argue that it's a similar story for things like Slack - for business reasons, they more-or-less needed to have a web-based UI. If you're already committed to that, then it makes sense to use Electron in order to maximize your code reuse.

I can't speak to Discord or Atom. Those ones make less sense to me, but there might be a reason there, too.

Speaking completely personally, Qt has never felt like a viable option for a commercial project to me. It does have some bindings for other languages, but, at least last I checked, they're all community supported. When you're talking about language binding libraries, it's reasonable to think of "community" as a polite way of saying "poorly". That can quite justifiably influence a person's willingness to rely on them for non-hobby projects.

I don't like JavaScript much better than I like C++, but at least I can more easily think of business cases for why I might accept being locked into JavaScript. The ones up above, for example.

Re:It is fast or it is wrong by latexr on Saturday December 29, 2018 @06:23PM (#18786310)
> I can't speak to Discord or Atom. Those ones make less sense to me, but there might be a reason there, too.

Electron exists because of Atom (yes, in that order). Electron was previously called Atom Shell[1] because it was created specifically to house Atom, although they mention it wasn’t created just for that. If there’s one app that has a reason to be built on Electron, it’s Atom, because it was an experiment to see how viable that solution would be.

But even they understand that solution wasn’t the best because it’s slow, so they’re experimenting with a model where the application logic is written in Rust and only the UI is built with web technologies[2].

[1]: https://electronjs.org/blog/electron

[2]: https://github.com/atom/xray

Re:It is fast or it is wrong by danellis on Saturday December 29, 2018 @04:47PM (#18785910)
At least part of the reason is probably the lack of a good layout engine that's more flexible than rich text and less complex than a web page. An embedded browser gives them everything they need for their highly stylized layout, but at a great cost.
Re:It is fast or it is wrong by pjmlp on Saturday December 29, 2018 @05:17PM (#18786042)
You can do quite powerfull layouts with QML.
Re:It is fast or it is wrong by spullara on Saturday December 29, 2018 @05:58PM (#18786216)
Discord also has an identical web UI.
Re:It is fast or it is wrong by zakius on Friday January 11, 2019 @07:15AM (#18882969)
that has less than half functionality (and across different browsers it may be even worse)
Re:It is fast or it is wrong by pseudalopex on Saturday December 29, 2018 @08:21PM (#18786756)
Qt includes JavaScript bindings. Python has commercial support. Java used to.

Electron is good for an MVP if you have or need a web app. Companies keep using it afterward because it commodifies developers and externalizes costs.

Re:It is fast or it is wrong by coldtea on Saturday December 29, 2018 @08:24PM (#18786766)
>Because those are companies dominated by webdevs that can't be bothered to learn anything else

I doubt Microsoft (VSCode) is in that camp. Or that that was the main concern of the others. And I think that's a facile explanation anyway: the same kind of companies flocked to do native mobile apps in the past -- but nobody much cared for QT on desktop still.

Re:It is fast or it is wrong by pjmlp on Sunday December 30, 2018 @06:12AM (#18788564)
It surely is, given the amount of love JavaScript has gotten since WinRT introduction, TypeScript, and Channel 9 sessions mostly done by newly hires.
Re:It is fast or it is wrong by pseudalopex on Saturday December 29, 2018 @08:40PM (#18786825)
Efficiency is more important for mobile apps.
Re:It is fast or it is wrong by threatofrain on Sunday December 30, 2018 @03:06AM (#18788034)
I would argue that VSC beat faster and more mature editors for one simple reason -- intellisense. All the other editors allowed the seductiveness of intellisense to go unanswered for years.

Otherwise I'm not sure why most people care about the internals of their editor.

Re:It is fast or it is wrong by 21 on Saturday December 29, 2018 @03:05PM (#18785410)
The Visual Studio Installer was rewritten from a native app to an Electron one.

They had a native app. They decided to throw it all away.

Re:It is fast or it is wrong by zakius on Friday January 11, 2019 @07:16AM (#18882978)
it's amusing how they managed to make the new installer as bad as old one was
Re:It is fast or it is wrong by pragmatic on Saturday December 29, 2018 @08:07PM (#18786713)
Can you elaborate on that?
Re:It is fast or it is wrong by pjmlp on Sunday December 30, 2018 @06:14AM (#18788573)
The JavaScript camp inside WinDev managed to get Electron to replace the WPF installer for VS 2017.
Re:It is fast or it is wrong by devxpy on Saturday December 29, 2018 @03:51PM (#18785605)
> Because those are companies dominated by webdevs that can't be bothered to learn anything else.

Tell me about it!

Re:It is fast or it is wrong by jcelerier on Saturday December 29, 2018 @01:50PM (#18785068)
> I work with a Qt-like C++ GUI framework (JUCE), but we've seen increasing portions of our front-end work replaced with Electron/React Native.

working on Max/MSP by any chance ?

> Those who might suggest that Qt covers that role have to explain why, even though it has been capable of fast, attractive apps for a long time, nobody built Slack, Discord, Atom or VSCode in it.

But someone built Telegram with it, which is of fairly equivalent complexity (https://aozoeky4dglp5sh0-zippykid.netdna-ssl.com/wp-content/...).

Besides, I'd say that there are enough quality Qt apps in the KDE ecosystem to not need $ELECTRON app :-) just yesterday Krita was making the highlights for instance. Likewise, I doubt people being used to the power and speed of KDevelop or QtCreator would feel the need to switch to VSCode.

Even going outside of the "libre" ecosystem, there are many many many nice-looking recent apps written with it... take a look at substance painter (https://www.allegorithmic.com/sites/default/files/DML_1.jpg), the Blizzard launcher (https://i.kinja-img.com/gawker-media/image/upload/s--zbfvud8...), Native Access (https://support.native-instruments.com/hc/article_attachment...)...

Re:It is fast or it is wrong by Zarel on Saturday December 29, 2018 @03:44PM (#18785582)
I just downloaded Telegram because I was curious how Qt's macOS support was, and it turns out the Mac version of Telegram isn't even written in Qt.

I did eventually download the Qt version. It doesn't support emacs keybindings. I can't use ctrl+b ctrl+f to move my cursor in text boxes, like I can in every macOS native app and Electron app.

I think this is a pretty strong argument for Electron: It actually behaves like a native app.

I also think Telegram is lower complexity than Slack, Discord, Atom, or VS Code. For instance, as far as I can tell, it doesn't have features like emoji reacts, which I'd guess would be something easier to implement in HTML/JavaScript than in Qt.

Re:It is fast or it is wrong by pseudalopex on Saturday December 29, 2018 @08:35PM (#18786805)
The Emacs key bindings don't work in every Electron app. They also don't support Services.
Re:It is fast or it is wrong by wlesieutre on Saturday December 29, 2018 @02:09PM (#18785172)
I haven't used Allegorithmic's stuff recently, but my previous experience was that it's neigh unusable on a Mac laptop. Much worse than anything I've experienced in electron.

Substance Designer is a giant graph editor that should be perfect for multitouch trackpad pan/zoom gestures, but it doesn't support them. To zoom in and out you scroll up and down as if you're using a mouse wheel, but moving your fingers about 1mm will zip you instantly past where you were trying to get. And IIRC it expects a middle mouse button that you can drag to pan; on a laptop you get to two-finger-drag while holding down Option.

Electron, being based on a web browser, is probably easier to set up for various input types beyond keyboard and mouse.

EDIT: Here's an old video I recorded of the trackpad zoom. If you look very very very closely you might see my fingers move.

https://gfycat.com/FlippantBonyHusky

TLDR cross platform UIs still take work

Re:It is fast or it is wrong by mroche on Saturday December 29, 2018 @07:16PM (#18786527)
The issue there is you're running a VFX application on a Mac :P I mean that 50% sarcastically and 50% sympathetically. Apple support has not been stellar the past few years across 3D applications. Not sure when the last time you used their products, but they did go through a redesign and things have improved a fair bit.

From the thread's master:

> The fact is that a viable, efficient, native and cross-platform GUI solution has failed to emerge. Note the word 'viable'. Those who might suggest that Qt covers that role have to explain why, even though it has been capable of fast, attractive apps for a long time, nobody built Slack, Discord, Atom or VSCode in it.

Most industry standard VFX applications utilize Qt for the UI and other application parts. It helps that there was a standards body (admittedly, very Linux biased but starting to open up) set up between vendors and studios for choosing major frameworks/libraries (VFX Reference Platform[0]):

* Autodesk Maya

* Autodesk 3DS Max

* SideFX Houdini

* Foundry Nuke

* Foundry Mari

* Foundry Katana

* Foundry Modo

* Allegorithmic Substance Painter

* Allegorithmic Substance Designer

With the exception of macOS in the very recent years, these applications work pretty seamlessly and efficiently. Qt is not as easy to get up and running with compared to web based frameworks like Electron, it does provide a pretty 'viable' framework for building cross-platform applications. Getting 'native' in appearance will probably never happen 100%, but Qt does a pretty bang-up job. Regarding the apps listed above, they all use custom styling so you get the same interface across all platforms, so native doesn't even matter anymore.

[0] http://vfxplatform.com/

Re:It is fast or it is wrong by wlesieutre on Saturday December 29, 2018 @07:47PM (#18786640)
I primarily ran it on my Windows desktop where it worked better (except for being tiny because they hadn’t implemented any sort of UI scaling for high DPI displays, making the 10pt-ish UI font nearly unreadable), so it wasn’t a huge deal, but still was disappointing. Faster CPU and much faster GPU on my desktop, but I’m not always at that computer.

The bigger bummer is that “cross platform” for this sort of thing is only talking about Windows, Linux, and maybe Mac. Substance Designer and Painter would both be outstanding to use on an iPad Pro as long as you had someone on desktop platform feeding you the 3D models.

Re:It is fast or it is wrong by mroche on Saturday December 29, 2018 @11:59PM (#18787495)
> except for being tiny because they hadn’t implemented any sort of UI scaling for high DPI displays, making the 10pt-ish UI font nearly unreadable

Designer has had proper Hi-DPI/scaling support since early/mid-2017. Painter has the support, too, but not to the same degree. Apparently it rounds between 100% and 200%, but nothing in between. Although a user said 150% works.

https://forum.allegorithmic.com/index.php/topic,1191.0.html

> The bigger bummer is that “cross platform” for this sort of thing is only talking about Windows, Linux, and maybe Mac.

That I think is between Qt and Apple. Mari 4 came out at the end of last year and the macOS version has been in a perpetual beta since about 6 months after GA, but should arrive with the 4.5 release currently in beta (fingers crossed for those users). As reported by the dev team, it comes down to some serious stability and useability issues from Qt on macOS (the way they've implemented it) that is just not working well between various macOS versions. Some users the beta works fine, others not at all. And this happens to users of the same OS version and hardware.

Re:It is fast or it is wrong by wlesieutre on Sunday December 30, 2018 @09:44AM (#18789382)
I was pretty early on the 4K train (mid 2014), of all the things to not adopt that fast, texture editing software was pretty unfortunate. Glad to hear things are better now.

On the platforms, my bigger issue is the complete lack of iOS for these apps more than the iffy Mac support. It would’ve been really good.

Heck, even the Surface Pro would’ve been great if they’d properly supported gestures in the graph view. They didn’t though, and I don’t have a Surface Pro anymore.

Re:It is fast or it is wrong by coldtea on Saturday December 29, 2018 @08:26PM (#18786772)
>Most industry standard VFX applications utilize Qt for the UI and other application parts.

And most of their UIs look alien and unusable crap only a professional forced to use it would...

Re:It is fast or it is wrong by mroche on Sunday December 30, 2018 @12:03AM (#18787521)
I've never seen an application that has a seriously broad range of functionality where I went "Wow. That's amazing." And not just from a visual standpoint, but from a navigation and process perspective.

It always takes a small adjustment period of getting used to the application's actions paradigm and you get over it. The UI's don't really get in the way, and you kind of stop caring about visual appearances after the first few weeks. At the end of the day, it's all panels and buttons. As long as it's internally cohesive and consistent.

Re:It is fast or it is wrong by coldtea on Sunday December 30, 2018 @07:43AM (#18788902)
>I've never seen an application that has a seriously broad range of functionality where I went "Wow. That's amazing." And not just from a visual standpoint, but from a navigation and process perspective.

Even so, 3D apps have it way worse than pro apps like Photoshop, Cubase, etc with equally "wide range of functionality".

Re:It is fast or it is wrong by wlesieutre on Sunday December 30, 2018 @12:57PM (#18790390)
I mainly use AutoCAD at work and I’m constantly thankful that it has a command line still. Hardly touch the UI except for the 3D view and whatever popup windows I summon with commands.

The ribbons thing admittedly is more discoverable, so occasionally I’ll look for something there instead of going straight to google, but once I know what it’s called I’m right back to the command line.

Re:It is fast or it is wrong by zakius on Friday January 11, 2019 @07:18AM (#18882991)
you mentioned "nice looking" but then linked everything that looks like homework project from some web design course instead of proper, intuitive app
Re:It is fast or it is wrong by ken on Saturday December 29, 2018 @06:37PM (#18786357)
"Emerge" is a very interesting choice of word. Why do we think that a property like "interoperability" could be emergent? Has it ever been?

Web browser developers have shown by example that you can come up with a sophisticated standard, including executable code, have everybody implement it on their platform, beat them into compliance with cool validation tests, and even starting with one of the worst possible architectures for performance (sending raw JavaScript code over the wire!) make it perform far better than anyone might have reasonably expected.

Meanwhile, operating system vendors are doubling down on proprietary APIs. These days you practically need to use the right programming language for your OS, too.

A whole lot of groups seem to have completely missed the web's lesson. Instead of "standardization is great", they heard "HTML/CSS/JS is the ideal substrate for writing applications".

Re:It is fast or it is wrong by mamcx on Saturday December 29, 2018 @01:25PM (#18784943)
> The fact is that a viable, efficient, native and cross-platform GUI solution has failed to emerge

FreePascal have one. TCL, before.

The bigger problem, I think, is the language tie-in. For get the amazing Delphi/FreePascal UI you need to work with pascal.

To get TCL-UI, you need to work with TCL. This mean anybody that not want to code on that not even consider the option.

And how integrate your language of choice? You need to pass by C. C sucks. SUCKS SUCKS SUCKS. Is so bad that is the glue for native development.

In the other hand, Elector/React Native is tied-in with JS. If C sucks, JS sucks even more, BUT, you DO NOT HAVE A CHOICE. Is Js or the highway by proxy of the browser. So, even if you code in other language, you MUST (not everyone, but enough) soon or later to accept this fate.

And interface with JS is not as bad as with C.

Re:It is fast or it is wrong by zakius on Friday January 11, 2019 @07:24AM (#18883032)
Delphi was a pretty fun thing: nice IDE and nice language (would prefer c-style, but still c++ is much less friendly), but terrible licensing made it niche (VS had completely free, including commercial use Express edition + non-comercial Pro licenses for students while Delphi was few bags of gold for personal license for whatever reason making it completely irrelevant on a global scope, freemium is the way to go with stuff like this, this is the exact reason why windows and office are so easy to crack) and you know, C sucks, c++ sucks, every language I ever heard of sucks but the ones that get laughed at the most: JS and PHP seems to suck much less in terms of usability but sure, lack of proper runtime/native compilers and GUI bindings make them niche (or used to, now unfortunately we have electron to make JS based GUI apps...)
Re:It is fast or it is wrong by pinum on Saturday December 29, 2018 @02:25PM (#18785237)
>C sucks. SUCKS SUCKS SUCKS.

The more of my project I can write in C, the happier I am.

Re:It is fast or it is wrong by fouric on Saturday December 29, 2018 @05:18PM (#18786049)
People sometimes irrationally like sucky things. C's memory model, type system, and feature set are sorely lacking by modern standards.
Re:It is fast or it is wrong by pjmlp on Saturday December 29, 2018 @06:23PM (#18786311)
Given the feature set of Turbo Pascal 6.0 for MS-DOS in 1992, C was already sorely lacking back then.
Re:It is fast or it is wrong by zozbot123 on Saturday December 29, 2018 @01:41PM (#18785020)
> The bigger problem, I think, is the language tie-in.

Same issue with WxWidgets, which is otherwise great - AIUI, it was started as a C++98-ish library with support for lots of pre-standard compilers, and a lot of its deep weirdness is a direct consequence of that. OTOH, at least it has good bindings for other languages like wxPython.

Re:It is fast or it is wrong by zakius on Friday January 11, 2019 @07:28AM (#18883055)
looking at available bindings I guess c++ is still the least terrible choice this or JS one yeah, I know, there are some py lovers but I can't stand this thing
Re:It is fast or it is wrong by sandov on Saturday December 29, 2018 @02:57PM (#18785374)
Of all the popular non-functional languages, I think C and D are the ones that sucks less, but D is not as popular, so that leaves us with C.
Re:It is fast or it is wrong by mamcx on Saturday December 29, 2018 @03:11PM (#18785449)
And this is the main problem. C, alike JS, ruin the chances of anything else to take over. Pascal is one that could have been much better to rely on. D is nice. Rust is too, but the chances of them to replace C is like typescript replacing JS.

In the other hand, I wish C get allowed to improve much more, and do python2/python3 split (with better handling of the situation, of course), to remove lingering issues, clean the syntax/API, and just add algebraic data types, match and Option<T>, and a good UTF-8 string (the only additions that I think are worthwhile without making C too different).

I envision a C-good that transpile to C-classic and slowly take over.

Re:It is fast or it is wrong by naikrovek on Saturday December 29, 2018 @09:37PM (#18787015)
While not what you envision, I recommend looking at Go if you haven't.

I experience bliss while writing stuff in Go. It is not as fast as C, but it is getting closer with every release. Garbage collection in Go is so fast now that there may as well not be any pause at all.

It's worth a look, in my opinion.

Re:It is fast or it is wrong by mamcx on Sunday December 30, 2018 @01:37PM (#18790590)
I have look at Go. It impress me the first time, specially the CPS stuff. But now I'm working on Rust (apart of F#, python, Swift). Rust is nice, but too strict, and is very hard to be productive on it.
Re:It is fast or it is wrong by Rotten194 on Sunday December 30, 2018 @04:13AM (#18788230)
The lack of generics kills Go for me. I know it's an old rag and they'll never add them, but I just can't get over it. Maybe I should try Rust...
Re:It is fast or it is wrong by naikrovek on Sunday December 30, 2018 @03:50PM (#18791243)
C doesn't have generics, either.

I was recommending Go to someone that wanted C plus a few things. For me, that's Go.

Why does the lack of generics come up all the time?

Re:It is fast or it is wrong by viraptor on Saturday December 29, 2018 @03:35PM (#18785533)
There's a bit of new syntax, but overall it does what you asked for: https://ooc-lang.org/ even compiled down to C

It didn't get very popular though.

Re:It is fast or it is wrong by devwastaken on Saturday December 29, 2018 @02:11PM (#18785180)
I think a lot of it is that browsers are far superior in creating the design you want. You may have to work around things, but you don't have to learn completely new things that are only for your application.

If you learn to make great looking and functional websites then you can make that into electron. Add to the fact that many services want to have a desktop and web application, it just makes a lot more sense to design its core in Js in a browser environment

As for the obligatory "qt can do that" qt uses chromium to do browser related tasks. The alternative is webviews which are unreliable in any full sized application.

Re:It is fast or it is wrong by fiddlerwoaroof on Saturday December 29, 2018 @02:55PM (#18785367)
To some degree I think the desire to have “any design you want” is anti-user: I really don’t want to use apps that have the design their developer picked for me, I want to use apps that respect the conventions of my system and the preferences I have set (e.g. on Mac, I want the accent color to be the one _I_ picked in System Preferences. On Linux, I want the apps to fit in with my choice of gtk or qt theme.)

These days Qt is fairly close to this ideal, even on Mac: apps like calibre look a bit weird but their menus are in the right place and their coloring roughly matches my os settings. Electron apps are all over the place: vscode, slack, etc. all pick their own design styles and ruin the visual consistency of my desktop.

Re:It is fast or it is wrong by AnIdiotOnTheNet on Saturday December 29, 2018 @06:39PM (#18786367)
> To some degree I think the desire to have “any design you want” is anti-user

To some degree? It is incredibly anti-user, especially if the user happens to have a disability. I know I've said this before but it is absolutely ridiculous that having a "dark mode" is considered some kind of notable feature in 2018, when in 1995 you could just set all your colors and fonts however you preferred them.

But that's the world we live in now. Personal computing is dead, you just rent your computing from some corporation and they'll tell you when to update and how everything should look and what you can and cannot install (for your own good comrade!).

As far as personal computing is concerned we're living in the darkest timeline. Makes me ashamed to have anything to do with the tech industry.

Re:It is fast or it is wrong by jacoblambda on Saturday December 29, 2018 @08:36PM (#18786808)
Something that actually blew my mind is that by default most Qt apps actually can accept a theme sheet by command line argument. This means that you can pretty much retheme any Qt app by adding a file and editing how shortcuts/registry/however else you can launch applications. I know that there is a programmatic way to do all that on linux but not sure of how for win and mac.
Re:It is fast or it is wrong by AnIdiotOnTheNet on Sunday December 30, 2018 @11:34AM (#18789902)
That's still a huge step down from the single configuration dialog we used in Windows 95. And it's slower.
Re:It is fast or it is wrong by fiddlerwoaroof on Sunday December 30, 2018 @08:13PM (#18792391)
On Linux, at least, there is such a central dialog. It’s just that Qt exposes the configuration via command line overrides
Re:It is fast or it is wrong by fiddlerwoaroof on Saturday December 29, 2018 @06:51PM (#18786416)
Well, I think what we call "design" has two parts: one is "theming" concerns and is made up of things like colors, icons and cursor shapes (to give an incomplete list); the other is more functional and has to do with the logical structure of the various inputs and outputs in a UI. Generally speaking, I think the former concern should be totally under the user's control while the latter concern is what UX people and front-end devs should be doing.
Re:It is fast or it is wrong by mercer on Saturday December 29, 2018 @04:00PM (#18785643)
Comparing Calibre favorably to VSCode and Slack highlights how different perhaps audiences are: while I love what Calibre does, I really dislike its interface and vastly prefer VSCode and Slack.
Re:It is fast or it is wrong by fiddlerwoaroof on Saturday December 29, 2018 @04:53PM (#18785943)
I actually agree with that overall. The point was more that Qt has come a long way towards integrating with OS X.

For an apples-to-apples comparison, I’d rather use Slack through something like Adium that puts me in control of the ui. And VSCode would be nicer if it looked more like textmate.

Re:It is fast or it is wrong by devwastaken on Saturday December 29, 2018 @06:51PM (#18786414)
UI is art, art doesn't fit in such limited terms as native UI. Your personal preferences of liking the same UI style should not hold back the potential useability improvements that electron apps do infact have. Their presentation of content and organization of information is on point in ways existing applications didn't have, that's why they're popular.
Re:It is fast or it is wrong by goldfeld on Saturday December 29, 2018 @07:06PM (#18786486)
I'm pretty sure UI tends to be science, with art kept for flight of fancy systems interactive like Emacs, vim, the Leo editor or Bret Victor's ideas--none of which would pass muster in committee UI decisions in for-profit companies. Shells are some black art.
Re:It is fast or it is wrong by devwastaken on Sunday December 30, 2018 @12:12AM (#18787549)
Art is about presentation of content, styling. Every cartoon has it's own way of doing 2D presentation in a way that content matches up to be pleasing to the eye. If UI is not designed to a consistent eye pleasing assortment of styled information, it doesn't work well. That's the whole point of native styling.
Re:It is fast or it is wrong by devxpy on Saturday December 29, 2018 @01:10PM (#18784857)
Speaking of "a viable, efficient, native and cross-platform GUI solution", I have high hopes for flutter.
Re:It is fast or it is wrong by dangoor on Saturday December 29, 2018 @01:21PM (#18784909)
Can Flutter really be called "native", though? As I understand it, it operates like Swing: it draws all of its own widgets. They do their best to emulate the platform's widgets, but it's not using the native APIs for them.
Re:It is fast or it is wrong by devxpy on Saturday December 29, 2018 @02:49PM (#18785336)
Yes, you are correct.

I think Flutter means native in the sense that it runs at native speed, perhaps even faster in some carefully selected apps

As for a look and feel thing, Flutter widgets feel alright to me..

Re:It is fast or it is wrong by kkarakk on Saturday December 29, 2018 @02:56PM (#18785372)
i'm seeing a lot of complaints on iOS flutter apps of how the UI looks(microstutters/not frame perfect). it's only the usual small vocal minority but boy do they kill your app's reception on the programmer heavy social media
Re:It is fast or it is wrong by devxpy on Saturday December 29, 2018 @03:02PM (#18785401)
Can you link a specific issue that wasn't immediately a result of a problem with the user code, perhaps too much work on the main thread?

I have found the perf to be just fantastic on android. Especially compared to react native, which is a native offering.

Re:It is fast or it is wrong by kkarakk on Monday December 31, 2018 @06:04AM (#18794043)
android is fine,it's the iOS side that complains
Re:It is fast or it is wrong by naavis on Saturday December 29, 2018 @01:48PM (#18785051)
AFAIK Flutter is "only" for Android and iOS, excluding desktop applications.
Re:It is fast or it is wrong by devxpy on Saturday December 29, 2018 @02:47PM (#18785329)
The flutter team has announced that it is now working on desktop and web ports of flutter.

What's interesting is that you can literally run the same app on all platforms, because flutter draws the whole ui in dart code, using the canvas. And well, dart can run basically anywhere now...

Re:It is fast or it is wrong by HALtheWise on Saturday December 29, 2018 @02:31PM (#18785270)
There are people successfully running Flutter on desktops, but it isn't currently the main thrust of the project.

https://medium.com/flutter-community/flutter-on-desktop-a-re...

Re:It is fast or it is wrong by rvanmil on Saturday December 29, 2018 @02:20PM (#18785211)
I wish I could share this sentiment because Flutter really does look great, but I don't think it will succeed as long as it's based on Dart and not JavaScript.
Re:It is fast or it is wrong by devxpy on Saturday December 29, 2018 @02:42PM (#18785313)
That's very bold, considering the popularity of JavaScript, an esoteric, joke of a language in earlier times (no offence).

Bottom line, Its very safe to say that dart is a much better language than JS.

The language of choice has never ever, really mattered in software history.

And don't forget that the big G is behind this thing, which is well equipped to push it forward without the need of it being as popular as js.

Re:It is fast or it is wrong by pjmlp on Saturday December 29, 2018 @02:59PM (#18785382)
The big G dropped the ball on Dart 1.0, which was rescued by the AdWords team.

Right now Flutter/Dart looks like an ongoing political war between ChromeOS, Android and Fuchsia.

By the way, Fuchsia is getting Android suport and a new language agnostic UI composition engine, Scenic, so lets see for how long Flutter stays as the Fuchsia official UI toolkit.

Re:It is fast or it is wrong by devxpy on Saturday December 29, 2018 @03:07PM (#18785429)
Nice point about fushsia.

But isn't the point of a truly cross platform framework just that? So what if fuschia has a different native toolkit. Maybe they are trying to launch a platform specific api that's more bare metal.

I mean Isn't the whole point of flutter is that you take the same app and run it anywhere?

Re:It is fast or it is wrong by cube2222 on Saturday December 29, 2018 @07:20PM (#18786541)
What do you mean with "Fuchsia is getting Android support"?
Re:It is fast or it is wrong by pjmlp on Sunday December 30, 2018 @04:24AM (#18788264)
Android is being ported to work on Fuchsia as well, just like it happened with ChromeOS.

https://android-review.googlesource.com/q/fuchsia

Re:It is fast or it is wrong by disishhsha on Saturday December 29, 2018 @03:52PM (#18785611)
To be more specific about the value here:

Maintaining parity between two applications running on different GUI platforms is very expensive - much more than twice the effort of maintaining a single codebase.

Re:It is fast or it is wrong by pseudalopex on Saturday December 29, 2018 @09:16PM (#18786955)
Not at all. Core logic can be shared. Single-platform frameworks usually have large libraries of well-tested controls. You can often get good performance, OS integration, and accessibility without really trying.
Re:It is fast or it is wrong by bytematic on Saturday December 29, 2018 @02:21PM (#18785220)
Not to mention a huge pool of talent for JavaScript devs