4 ms·
Some days I feel the biggest failure of the web is how (script lang="whatever") does not work. Yes I know the obvious problem with that, it would probably requ
by somat 2y ago
Some days I feel the biggest failure of the web is how (script lang="whatever") does not work.
Yes I know the obvious problem with that, it would probably require changing our fundamental understanding of how a web browser works, I suspect the webbrowser would need to be at it's core an application specific vm designed around untrusted input. that is strict limits on cpu time, gated device access, etc. then the dom generator, languages and rendering engine would be implemented in this asvm.
The secondary problem, is this would probably destroy one of the webs greatest assets, everything is in plain text. yes, I know, there are all sorts of hoops you can jump through to obsfucate the text, but that is the thing, the default is shipping the source around. to do otherwise takes effort. A asvm based system would default to shipping compiled binaries around, which would suck.
But fundamentally changing the web is a boil the ocean type problem, never going to happen, we are stuck with our current web, much of it good, and much of it bad.
- palmfacehn 2y agoThis would have been possible within the HotJava paradigm.