Re:Show HN: Ultralight – Lightweight, Pure-GPU HTML UI Rende...
by solarkraft on Friday August 10, 2018 @12:36PM
(#17734794)
Pure HTML for UI is pretty shit, with Vue/Angular/React it's bearable to develop in (though now huge), but:
Everyone knows how to produce "fuck it, it works" results with it.
Everything (almost) supports it.
It already runs on the web.
Re:Show HN: Ultralight – Lightweight, Pure-GPU HTML UI Rende...
by krapp on Friday August 10, 2018 @06:24PM
(#17737139)
That's a valid excuse for the web, but there's no reason we can't take what works about the HTML/CSS as UI model and make it work better for native applications. Just sticking to the web model because it's familiar is laziness.
Re:Show HN: Ultralight – Lightweight, Pure-GPU HTML UI Rende...
by sounds on Friday August 10, 2018 @02:04PM
(#17735515)
There's a balance to be found by each app developer between roll-your-own and just-use-a-web-browser.
There's room in there for Ultralight, Awesomium, Chromium, Dear Imgui, SDL, Cairo, WPF, even GDI+.
That's basically because (I think) there's still a lot of effort being put into recreating UIs - especially for apps, games, and embedded.
(In embedded, as in, embedded systems running linux or VxWorks or something, the story is less well known, but it's the exact same balance and set of choices.)
Re:Show HN: Ultralight – Lightweight, Pure-GPU HTML UI Rende...
by panopticon on Friday August 10, 2018 @12:47PM
(#17734890)
I imagine the intent of something like this is so you can embed things in your app that you've already published online (e.g., support documentation, news posts, etc).
Re:Show HN: Ultralight – Lightweight, Pure-GPU HTML UI Rende...
by Pxl_Buzzard on Friday August 10, 2018 @01:16PM
(#17735122)
In addition to the other responses, when I was developing a game / game engine we chose Awesomium to render the UI to improve modding capabilities. A lot more people are willing to manipulate a website than some other scripting language. Planetary Annihilation had the same thought as well, if you want to see results on a published title.
But surely it's non-optimal for native applications that have direct access to the native renderer and GUI systems, or at least to limit them to HTML and CSS and not some more optimal domain specific subset of XML?
[0]assuming one accepts the premise that "web apps" should even be a thing, which I know is controversial on HN to say the least...