Re:Reaching the Unix Philosophy's Logical Extreme with WebAs...
by capableweb on Monday August 28, 2023 @06:56PM
(#37301436)
I mean probably, yeah, but why? You'd still need JS to involve the DOM with anything, and that's the performance expensive stuff, so might as well just do the whole thing in JS.
Re:Reaching the Unix Philosophy's Logical Extreme with WebAs...
by patmorgan23 on Monday August 28, 2023 @07:33PM
(#37301668)
Isn't there work on letting WASM call the DOM/Browser API's directly without having to go through JavaScript?
Re:Reaching the Unix Philosophy's Logical Extreme with WebAs...
by mr_toad on Monday August 28, 2023 @09:13PM
(#37302363)
Like nuclear fusion, it’s always just over the horizon.
Re:Reaching the Unix Philosophy's Logical Extreme with WebAs...
by TheRealPomax on Monday August 28, 2023 @07:22PM
(#37301596)
At that point, why even bother with React? Just write a real user interface.
Re:Reaching the Unix Philosophy's Logical Extreme with WebAs...
by yazaddaruvala on Monday August 28, 2023 @07:35PM
(#37301679)
React-likes (including Vue, Preact, etc) have the most ergonomic interface for UX devs to develop with.
Re:Reaching the Unix Philosophy's Logical Extreme with WebAs...
by _navierstokes on Monday August 28, 2023 @08:41PM
(#37302150)
What do you define as a "real" user interface?
Re:Reaching the Unix Philosophy's Logical Extreme with WebAs...
by csjh on Monday August 28, 2023 @08:49PM
(#37302186)
I doubt the gains from React rewritten in Rust would be significant; the expensive code is the stuff you write in components
Also Typescript -> WASM exists in some form through assemblyscript
Or maybe at least Typescript-to-WASM compiler to skip JS output?