Lurker News

Comments (170) 40 threads

Earlier comments
srikz#
This got me excited as I will soon start working on a visualiser / developer tool for a niche industry. I am looking for desktop gui frameworks to build performant desktop apps with lot of visuals on the screen. Will give Ultralight a try along with some other suggestions in the comments.

In my app there will be lot of trees and mind-map style diagrams with traced signals. These will react to user input and as there is a change in state.
There is a need to support huge monitors or a multi screen setup so, I have currently ruled out Electron and looking at building a native tool as cross platform is not a priority.
Any suggestions are welcome.
I recently came across this excellent article comparing GUI frameworks [1]. It is definitely worth a read for anyone looking at building a serious desktop app. I have put my particular requirement in a longer format here if anyone is curious and has some suggestions [2]. [1]: http://blog.johnnovak.net/2016/05/29/cross-platform-gui-trai.... [2]: https://pastebin.com/8SUpcgWJ

dgreensp1 reply#
Is there a video or screenshot anywhere, I wonder? I'd like to see it in action. Rendering HTML could mean a lot of things.

It's not clear how much of a browser they are reimplementing. Features include XSLT and local storage, scroll bars, "text selection and dragging"? While on the to-do list is "full GIF support" and "CSS shadows." It's such a mixture of things that doesn't sound based on what you'd minimally need for a game UI.
"We've stripped WebKit to the bare essentials" - Sounds like maybe they took the non-rendering part of WebKit (eg layout) and wrote their own renderer(s)?
Fascinating.

woodrowbarlow2 replies#
i recommend putting screenshots of your acid test results right on your website. it's the first test people will run when evaluating your SDK anyway.

http://www.acidtests.org/

adamjs#
Great idea! Thanks.
cormacrelf#
What? No major browsers pass Acid3 these days, AFAIK. Chrome and FF on my mac only get 97/100. Who are these people still running acid tests?
tfha4 replies#
I would really like to replace Electron. It's way too heavy for the types of things we want to use it for.

But two things make it extremely valuable:
1. Ability to render css and js, so that web devs can build our app
2. Easily cross platform. This is so valuable to us.

throwaway86x64#
Just a shameless plug, we're working on https://github.com/ndsol/VolcanoSamples to integrate imgui and skia across all major platforms.

It's still very early stages, but maybe interesting to you?

ahartmetz#
QML from Qt Quick is actually much better suited for creating UIs. It still shows that HTML is a document markup language...
danenania#
To add some weight on 2 - with Electron, you rarely have to even think about platform differences, and just about everything you'll need to handle for a typical app (including installers, code signing, automatic updates, app linking, notifications, etc. et al) can be taken care of easily, either through core libraries or community libraries.

Electron isn't just Chrome in a box. It's a whole ecosystem of libraries that dramatically accelerate and simplify cross-platform desktop development.
Just because you can get another project running on all platforms, that doesn't mean the experience is going to be a smooth one. There are so many potential boondoggles lurking here. Do you really want to bet your company on something that uses less RAM or CPU but could easily confront you with problems like, hmmm, suddenly 43% of your Windows users can no longer update their apps and you have no clue why and the maintainers aren't responding on Github?
Electron has its faults, but if we want to build something better, we should also understand its strengths. Despite its performance drawbacks, it's an impressive technology that gets many important things right.

jpm_sd2 replies#
This is pretty cool. If you told me 20 years ago that the future of UI rendering would be GPU-accelerated HTML... I would have laughed. Heartily.
solarkraft#
The next generation pf applications will be made with quantum computer accelerated excel spreadsheets.
c-smile1 reply#
Why such a surprise?

20 years ago Windows had .dlg resources that define layout and content of dialog windows. .dlg is just a binary representation of serialized window DOM.
16 years ago Visual Basic had .frm files that are close to what now known as QML.
Et cetera.
So there is nothing new with markup defining UI structure. What is new and quite valuable is CSS with its declarativeness and cascading.

pjmlp#
And all of those were/are easier to work with than picking a div and turn it into a component.

One gets to write a bit of CSS soup and then ensuring it works as expected across all target browsers.

Load more comments