Has anyone done a ubiquitous web framework in Rust (or maybe actually Go) that is similar to Next.js in that it runs the same code (compiled to WebAssembly) on client and server?
1
If you find a good answer for Rust, I'd be interested. I've done some basic wasm UIs using Rust, and obviously done some purely server-side stuff; but never found anything which combined the two.
2
2
For the basic client-side stuff did you use Smithy or something else?
1
I was using yew, though the UIs I made were pretty simplistic. When I did just server-side stuff in Rust, I ended up doing a React frontend, though that was icky.
1
2
Sounds it! I'm exploring wether WebAsm, the newest official web language, will impact the whole ecosystem over the next ten years. I suspect it will, as humans like new, and there'll be stuff that runs better via languages other than Typescript.
1
I think wasm is already changing an awful lot of how the ecosystem works. Computation at least is now being offloaded to wasm in a lot of cases.
1
1
What kind of cases do you mean?
1
Replying to @frabcus
I've seen it used for running cryptographic algorithms reasonably quickly in the browser (I think 1password is an example of this), it's been used for rendering stuff in-browser; I think uBlock uses it too to speed up regex faffage etc. Also its use for edge computing looks fun.

May 23, 2022 ยท 11:29 AM UTC

1
1
For me, the big thing will be being able to write web UIs without much in the way of JS because I'm awful at it.
1
I did a quick search and found madewithwebassembly.com/ which does list 1password and uBlock, so I did remember those properly \o/
1