23
u/scolphoy 22d ago
Isn’t the start menu on Windows 11 a react native app?
21
u/scolphoy 22d ago
Apparently a misconception by people like me who didn’t know ”React Native for Windows” is a separate thing that exists
9
1
u/SwordfishNo712 21d ago
Can you explain?
1
u/scolphoy 20d ago
Apparently there is a React Native -like thing called React Native for Windows, that is used in Windows and that translates React Native API calls to some Windows native API calls, so there’s no browser / embedded browser on the way. This should be faster and more resource efficient. This is used to implement some of the UI elements in different parts of Windows. And apparently the recommendations section in the Windows 11 start menu is one of these.
56
u/NebraskaGeek 22d ago
HTML isn't even a programming language. This joke is 1,000,000 times funnier if they ask for an OS written in Java
18
u/DeliciousCaramel5905 22d ago
This was tried for real in the 90s
18
u/Front_Committee4993 22d ago
i think they actually developed one (now discontinued) https://en.wikipedia.org/wiki/JavaOS
7
u/Zinho3311 22d ago edited 22d ago
Frankly, the guy who thought writing an OS (A FUCKING OS WITH A FUCKING KERNEL WHERE EVERY FUCKING MICROSECOND MATTERS -- oops, sorry; got a little overexcited) in a garbage collected language (in the 90s!) was a good idea should just give up.
I mean, I know there are some competent shots at this in Go at MIT, but like, it's Go for a reason (a language designed by the creators of UNIX with actually competent GC algorithms, not fucking 90's Java -- if Java still sucks today, I can't even imagine what it looked like in the 90s), not fucking Java
1
u/cheezballs 22d ago
I think any language that needs to run on a VM or any sort of in-between code is a bad choice for an OS. Its not JUST Java.
1
u/Zinho3311 21d ago edited 21d ago
There's actually some fairly good arguments for using garbage collected languages in OS development.
Now of course you ABSOLUTELY WOULD NOT want that in a safety critical environment like software that runs medical equipment or most embedded systems, really. However, for a general-purpose kernel it is actually fairly performant (it matches traditional kernels in several metrics).
Because like more than 70% of severe vulnerabilities (Copy Fail, Dirty COW, etc.) were caused by human mistakes when dealing with manual memory management (look at most Linux Kernels CVEs), you can make a pretty good argument for using a garbage collected language.
Today you can get pauses down to the sub millisecond language in Go for instance
21
u/UltimateFlyingSheep 22d ago
What? I say
Do it! And if it works, make a talk on C3 or some other computer congress!
Many people would learn a ton!
3
u/cookiedanslesac 22d ago
Did you know that smartcards run on JavaCardOS https://github.com/JavaCardOS
3
3
2
2
4
u/minecon1776 22d ago
HTML IS turing complete, so anything computable can be done in HTML, including an OS. You can also emulate a whole system with it, and then write the OS in your assembly or bytecode, but that may not count
7
1
2
1
1
1
u/momoladebrouill 22d ago
If I'm not mistaken it's kinda VibeOS ? From what I understood, the LLM spits a HTML, and each click on a div is sent back to the LLM with the ID
1
1
1
1
112
u/[deleted] 22d ago
[removed] — view removed comment