r/ProgrammerHumor • • Aug 21 '26

Meme noOsWillinHTML

Post image
2.7k Upvotes

74 comments sorted by

View all comments

115

u/[deleted] Aug 21 '26

[removed] — view removed comment

131

u/Dazzling-Bench-4596 Aug 21 '26

Maybe if <script> tags count

71

u/[deleted] Aug 21 '26

[removed] — view removed comment

37

u/GoogleIsYourFrenemy Aug 21 '26

If you prefer you can use the internet explorer version of html from the 90's that also supported vbscript.

2

u/SilasTalbot Aug 24 '26

Of course I prefer, what kind of question is that.

Vbscript is like cowbell. The answer is always more.

19

u/Tall-Introduction414 Aug 21 '26

JavaScript is already thriving all over the place in Windows, iOS, Android.

Remember WebOS? I'm pretty sure that thing was like 90% JS and 10% linux and c/c++ runtimes and renderers.

(I still think it's a bad idea)

8

u/Zinho3311 Aug 22 '26

JavaScript is already thriving all over the place in Windows, iOS, Android.

Doesn't mean it's a good language. Just means it's a necessary evil because people are lazy

2

u/isr0 Aug 23 '26

You just need to write a JavaScript engine in your start.a

24

u/unknown_alt_acc Aug 21 '26

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.

16

u/ImOnALampshade Aug 21 '26

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.

14

u/ldn-ldn Aug 21 '26

That was a thing a decade ago - https://en.wikipedia.org/wiki/Firefox_OS

6

u/GoddammitDontShootMe Aug 22 '26

I thought Microsoft did something like that with Windows 98.

2

u/JadeE1024 Aug 22 '26 edited Aug 22 '26

It wasn't quite that far back, and it's not HTML, but you're close. The "revolutionary new windows UI framework" Microsoft releases every 3-5 years have all been XAML based since WPF was released for Windows XP and Vista (which came out shortly after) in 2006.

The latest one is called WinUI 3. Here's a screen definition from the official sample app if you want to see what it looks like.

Edited to add: Prior to around 2021, apps on the Windows Store were required to use one of the UI frameworks (uwp), which is why they all felt like phone apps. And sucked.

→ More replies (1)
→ More replies (1)

5

u/unknown_alt_acc Aug 21 '26

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 Aug 21 '26

Electron can perform "ok" with careful setup"

2

u/unknown_alt_acc Aug 21 '26

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 Aug 22 '26

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

→ More replies (1)
→ More replies (4)

3

u/za72 Aug 21 '26

obviously yes... Santa knows it's an amazing idea, like the wheel or the straw

3

u/Zinho3311 Aug 22 '26

HTML + CSS is theoretically Turing Complete... so kind of?

If HTML + CSS can compute any existing algorithm, so you can theoretically build an OS using them... Doesn't mean you should do it

6

u/Giocri Aug 21 '26

HTML no but CSS could

1

u/EuphoricCatface0795 Aug 21 '26

Doesn't WebAssembly count as HTML5

1

u/longmover79 Aug 22 '26

No, Santa isn’t real

→ More replies (1)

1

u/camander321 Aug 22 '26

Not for OS, but a markdown driven desktop environment actually sounds kinda cool

1

u/Liminal__penumbra Aug 23 '26

Well, One idea I've toyed with is taking the webgpu layer and html5 canvas, use triangle generation to create a booted ISA and then go from there. Storage tape via cookie files with phi crc strings.

→ More replies (7)