Ask HN: How would the web rendering platform be designed today?
If the web rendering platform (css/dom, etc.) were created from scratch today, how would it be designed differently?
Knowing it will be used for web apps and WITHOUT backwards compatibility as a goal.
Edit: which css properties would be discarded/kept?
2 comments
[ 3.0 ms ] story [ 13.4 ms ] threadAutoLayout is not without issues, but a lot of them have been fixed over the past few years, and overall I think the mental model makes sense once it clicks.
CSS is the one thing the web got right, in my opinion.
I would imagine all of the rendering would be done natively, and browsers would be replaced by VMs, and the DOM with some sort of cross-platform application library like SDL.
So basically, like Java or Flash, but language agnostic (rather than serving HTML, sites would serve source code that compiles to WebAssembly, or just the WASM itself) and maybe with something like a dependency manager for common libraries or runtimes.