Re:Wgpu-rs on the web
by gameswithgo on Thursday April 23, 2020 @09:44AM
(#22955874)
>DOM provides good abstraction of UI elements
Does it, or do we just have a whole generation of people used to that abstraction, who can't imagine anything better?
Re:Wgpu-rs on the web
by MaxBarraclough on Thursday April 23, 2020 @09:53AM
(#22955976)
It fundamentally doesn't do what UIs need it to. That's why most web UI frameworks use a 'VDOM'. When a framework finds a clever way to avoid doing this (Svelte), we all applaud the accomplishment. I think that gives us our answer. </snark>
What I believe is going to happen is splitting more complex web applications into frontend part - written in JS - and backend + graphics part - provided as Wasm, possibly written in Rust.