by zatop · 6y ago · 0 comments
The alien & legacy HTML language & the total incomprehensible mess of CSS rules/layout, the requirement to use JS and nothing else... Everything is a total mess.
Looking back, a big mistake of the web was drawing the line too high for the API. The web forced on us JS that nobody wants (and Typescript & Wasm is the proof of that). The web forced us to use CSS & HTML that nobody wants either (Figma and other design tools systems based on simple elements and constrains is the proof that too).
What we should standardize is a lowlevel code representation + a set of sandboxed APIs. That's all we need.
Wasm + Wasi seems to aim at that, yet they on Wasm side they insist on "how are we gonna make DOM accessible from Wasm ? how are we going to interop between JS and Wasm ?". I don't want the DOM, I don't want JS, I want none of that crap.
I hope that Native UIs compiled to Wasm+Webgl(or vulkan or webgpu or whatever we'll agree on) are the future for the web. So that we can write once and run everywhere decently fast.
When I see the speed of makepad.nl, the power of Godot Engine running in the browser and the simplicity of Figma & the Fidget framework it feels like prehistory that we are still making UIs and apps with JS&CSS&HTML
No comments yet.