4 ms·
Agreed, yet back in the day we even managed to do that with applications being written in Assembly, in some cases. Uphill both ways, should be easy for a compa
by pjmlp 9mo ago
Agreed, yet back in the day we even managed to do that with applications being written in Assembly, in some cases.
Uphill both ways, should be easy for a company doing C compilers with LLMs.
- codebje 9mo agoEarly games frequently took the approach of inventing an interpreted machine code in which the bulk of the game would be written, with an assembly interpreter that would need to be rewritten for each target IA and modified for the specific peripheral mixes of each target machine. The approach runs slower than a game written directly in assembly, but the cost to port to different architectures is much lower. Sort of like Electron trades off native performance and look-and-feel to make multi-platform apps much more achievable. IMO the OS vendors failed everyone by refusing to even attempt to agree on a common API for UI development, paving the way for web browsers to become the real OS and, ultimately, embedded browsers to be the affordable and practical way to be cross platform.
- paulryanrogers 9mo agoExcept the OS's don't even ship a consistent enough browser engine. (Standards be damned.) So apps ship their own browser over and over again.
- zadikian 9mo agoYeppp. Is there no way for Electron apps to use a shared engine if one is available?
- paulryanrogers 9mo agoI think Tauri tries this approach.
- edflsafoiewq 9mo agoOf course. Arch for example ships packages that use a shared system electron. But you'll often end up need multiple electron versions. There's also stuff like lorca which shells out to an installed Chromium browser.
- c01nd01r 9mo agohttps://neutralino.js.org/ https://neutralino.js.org/ But I think even there it’s possible to encounter platform-dependent bugs - starting from view issues (you know, different OS can use different browser engines) and up to those related to system APIs.
- pjmlp 9mo agoAnd then you guys complain about Google taking over the Web!?!? Go figure what would happen when Chrome gets shipped everywhere, because writing browser agnostic code is too hard.
- Geof25 9mo agoExactly what .NET does with MAUI, just little bit lower than electron
- carefree-bob 9mo agoHonestly I'm grateful to apps that otherwise wouldn't be available outside of windows.
- pjmlp 9mo agoGoogle does as well, ChromeOS Platform for the go!
- carefree-bob 9mo agoYeah, I'm really impressed with chromebooks and would recommend those as a cheap computer to friends.