4 ms·
React is a javascript library. Javascript needs its own runtime. Why not just write stuff in native windows controls and save having to run an entire javascript
by voidUpdate 6mo ago
React is a javascript library. Javascript needs its own runtime. Why not just write stuff in native windows controls and save having to run an entire javascript runtime for no reason?
- anthonylevine 6mo ago> Why not just write stuff in native windows controls and save having to run an entire JavaScript runtime for no reason? Idk, and I'm not saying it's not a good question, but it's irrelevant to the comparison in OP's comment.
- voidUpdate 6mo agoUsing an entire javascript runtime and framework to make your OS start menu is using a ridiculous overpowered electric screwdriver that strips heads. Using native windows controls is using a proper manual screwdriver that just works
- serf 6mo agoit's also just a numbers thing. react and more broadly JS developers are a dime-a-dozen as far as availability goes compared to winapi folks. which on one hand, good -- fuck microsoft and the monolith; on the other hand we get react start menus when we have to use microsoft.
- p_ing 6mo ago.NET Framework needs its own runtime. Java needs its own runtime. What's the issue?
- voidUpdate 6mo agoI have no issue with user-facing applications doing whatever they want, electron apps bundle an entire chromium to do their thing, but there's a win32 and win64 api in C for a reason, to make OS level stuff fast
- jamesnorden 6mo agoI wouldn't want my start menu to load the entire Java runtime before opening, that's the issue at hand.
- someguyiguess 6mo agoOnly someone who has not tried to write stuff in "native windows" would ask this question. If you want a real answer, go try and develop a Windows native application real quick. I'll wait...
- voidUpdate 6mo agoI would hope that the windows developers who are working on the windows shell would know how to write a windows native application in C. If it's that bad, they should improve the API, not just write it all in react instead
- hannahoppla 6mo agoWindows 7 was not written in react, it looked great and worked great. Get those guys to write the UI for Windows 11.
- mexicocitinluez 6mo agoWhat parts of Windows was written in React?
- kergonath 6mo agoThis is such a ridiculous argument. Applications were developed long before JavaScript was a thing.
- CamperBob2 6mo agoI learned Win32 programming from the Petzold book circa 1993. Pretty much everything in there still works, if I type it in and compile it with the current Visual C/C++ toolchain. I might need to get rid of a few MOVEABLE and DISCARDABLE tags here and there, I suppose.