Why don't we have a shared "libchrome" the way we have glibc or DirectX?
The status quo of shipping a cross platform desktop app easily for the past years have been electron, but this comes at the cost of pretty much shipping a chromium with each app which is not ideal. So why don't we have a libchrome like we have glibc in Linux or DirectX in windows. Imagine every game would bundle their own DirectX version with them. The big blocker I imagineis stability glibc doesn't change much but chrome is constantly changing, but I feel this is easily fixable by maintaining a LTS version of the library and calling it a day. Has anyone pitched this idea before. Is chromium as an engine too coupled in logic with chrome as a desktop app making it impossible to ship it as a library?
> 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".
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.