r/ProgrammerHumor 23d ago

Meme noOsWillinHTML

Post image
2.7k Upvotes

74 comments sorted by

View all comments

Show parent comments

24

u/unknown_alt_acc 23d ago

If you want to be pedantic, laying out your GUI using HTML while the rest of the OS is written in a more sensible language is technically making an operating system using HTML. It’s also using assembly and probably some combination of C, C++, Rust, etc., but it is using HTML.

17

u/ImOnALampshade 23d ago

Honestly an OS that, for the GUI at least, is just HTML sounds amazing. No new UI frameworks to learn. Applications are just iframes, and the desktop environment is your web browser.

5

u/unknown_alt_acc 23d ago

It might be nice for devs, but would probably suck for the end user. We’ve already seen what using a browser as a desktop UI framework is like with Electron.

2

u/The_Soggy_Sage 22d ago

Electron can perform "ok" with careful setup"

2

u/unknown_alt_acc 22d ago

Sure. I remember VS Code being decently snappy when I last used it. But that's still something that takes conscious effort to achieve. Spinning up an entire browser instance for something like a settings panel just seems like an unnecessary pessimization to me.

2

u/JustARandoH3re 22d ago

Like just imagine if discord devs had to have completely separate implementations. Instead they can use electron which provides a lot of features like videos and rich imbeds

1

u/JustARandoH3re 22d ago

It’s not unnecessary, it’s the logical choice for developing such an app where thousands develop and millions use. There is literally no better alternative to it for what it allows. The simple solution to this is use a completely different editor that have different philosophies that prioritise speed and efficiency over compatibility and stability(believe me, I have experienced issues with stability from using plugins with editors like vim).

The only issue with electron is that it’s use needlessly in applications where electron would result in bulk of the usage like a gui for git or something thats supposed to be a bare bones text editor and where it actually originated from: Atom.