|
|
|
|
|
by yzzxy
4243 days ago
|
|
I was just thinking about the battle that would have to be fought to keep JS away from becoming the standard scripting language. JS is a mess - there are people doing great things with it like React, but it's a mess. There's a total lack of design philosophy at the heart of the language, necessitating things like "The Good Parts." I think the main scripting language for an OS should at be considered near-perfect when the OS begins - like C for Unix. One of the design goals for that language should be to work well for graphical UI - imagine if a framework like React had a language designed around it instead of being shoehorned onto JS. We could start talking about ideas like separating the layout, styling, and interactive components in a better balance than that between HTML, CSS, and JS. Really my main point is - There's a conversation to be had around starting from (near) scratch. I think in the end a lot of *nix would have to be incorporated to deal with the realities of hardware and established protocols, but we could also look at starting in a VM and working towards bare metal. Or cave and include POSIX-style standards in a way that is not limiting to desktop OS design. |
|