Hacker News new | ask | show | jobs
by mschuster91 28 days ago
Back in the Windows era... you could embed Internet Explorer as an ActiveX control in your VB6 app and interface with it, albeit very rudimentary.

Maybe, since Electron has evolved as a somewhat common standard... the major OS providers should get together and revive this idea. The OS provides, similar to say Java JRE, a base runtime of a browser and a JS interpreter with a specified set of helper APIs to use local functionality such as filesystem access, raw networking, notifications, yadda yadda, and apps just call that runtime.

4 comments

Modern Windows already offers exactly this, including defaulting to evergreen but having the option to bundle, in WebView2 https://developer.microsoft.com/en-us/microsoft-edge/webview...

But they dropped plans to support it on macOS and Linux so it's a bit useless as an Electron replacement. Not that it was exactly a drop in for Electron - it's web based but with a different set of extra APIs. I don't think things will move as fast to something else now that apps are already built on Electron and the savings is for the user rather than the developer. It really needs to be 100% Electron compatible, just with the difference in launch behavior.

The OS's do provide webviews pretty uniformly, and the browser engines they ship with behave more similarly than in the days of IE.
That's not really any different from what Electron does with Chrome except that it includes its own copy of Chrome instead of loading it from system32.

It's a shame common frameworks like ActiveX died, and now everything you want to embed has to be embedded in a different custom way, too.

Yeah, like some kind of web OS.

This is exactly what Palm created in the late '00s. Just like the Amiga, it was a bit too early and kneecapped by sub-par overpriced hardware (and a bad acquisition by HP).