top | item 30790552

(no title)

inamiyar | 3 years ago

I'm not sure if I'm reading this right but either duktape or WebView might do what you want.

https://duktape.org/ https://github.com/webview/webview

discuss

order

beamatronic|3 years ago

I'm thinking of a world with Javascript, but without HTML or a web server.

cxr|3 years ago

You're describing the Mozilla platform's old XUL strategy, or the modern Gnome desktop. JS has permeated GTK for the last 10 years. It was a huge part of Gnome 3. For a brief moment, pushing people to start with JS for their next GTK app was an explicit strategy for the Gnome project. There was so much backlash, though, that they backed away from that position a month or two later. Had they had the courage to stand their ground, the rise of Electron might never have happened. A world with a better GTK as the go-to cross-platform UI toolkit would have been a lot better than where we ended up instead.