Windows has WebView2, macOS has WebKit, Linux has various libraries. Tauri uses these for example. There's also Chromium Embedded Framework which is cross platform but it's not included with the OS.
Every game does install its own version of DirectX BTW and WinSXS exists to keep all the versions straight.
Well yeah I guess "easy" wasn't the most appropriate word here I just wanted to communicate that API stability shouldn't be like a big wall if we wanted to bundle chrome as a library. but yeah maintaining any thing of the size of chrome would never be easy
There's not really a great framework for GUI apps on Mac/Windows to generically interact with a shared library. DirectX and friends are sort of an anomaly here.
So you'd need somebody to build the tooling for that kind of resource-sharing and convince people to use it (think about similar prior waves where various toolchains became common practice for things like update-checking, installers, etc). And they'd basically have to be doing it out of love-of-the-game, because there's not really any money in it and any time it breaks people would be pissed.
Windows has WebView2, macOS has WebKit, Linux has various libraries. Tauri uses these for example. There's also Chromium Embedded Framework which is cross platform but it's not included with the OS.
Every game does install its own version of DirectX BTW and WinSXS exists to keep all the versions straight.
> I feel this is easily fixable by maintaining a LTS version of the library and calling it a day.
I think you're really underselling the amount of work involved there. What makes you think that's ~"easy".
Well yeah I guess "easy" wasn't the most appropriate word here I just wanted to communicate that API stability shouldn't be like a big wall if we wanted to bundle chrome as a library. but yeah maintaining any thing of the size of chrome would never be easy
There's not really a great framework for GUI apps on Mac/Windows to generically interact with a shared library. DirectX and friends are sort of an anomaly here.
So you'd need somebody to build the tooling for that kind of resource-sharing and convince people to use it (think about similar prior waves where various toolchains became common practice for things like update-checking, installers, etc). And they'd basically have to be doing it out of love-of-the-game, because there's not really any money in it and any time it breaks people would be pissed.