6 ms·
Actually, WASM will enable many languages better for web scripting than Javascript.
by sakesun 1y ago
Actually, WASM will enable many languages better for web scripting than Javascript.
- weinzierl 1y agoWASM certainly had the potential for this, but I am afraid without direct DOM access it is never going to happen.
- breve 1y agoIt is happening. Leptos is an example: https://www.leptos.dev/ https://www.leptos.dev/ Dioxus is another: https://dioxuslabs.com/ https://dioxuslabs.com/ C# with Avalonia for a different use case: https://avaloniaui.net/ https://avaloniaui.net/ Avalonia solitaire demo: https://solitaire.xaml.live/ https://solitaire.xaml.live/ Avalonia Visual Basic 6 clone: https://bandysc.github.io/AvaloniaVisualBasic6/ https://bandysc.github.io/AvaloniaVisualBasic6/ Blazor can run as WebAssembly on the client side if you choose that runtime mode: https://dotnet.microsoft.com/en-us/apps/aspnet/web-apps/blazor https://dotnet.microsoft.com/en-us/apps/aspnet/web-apps/blaz... Beyond the browser, Wasmer does WebAssembly on the serverside: https://wasmer.io/ https://wasmer.io/ Fermyon too: https://www.fermyon.com/ https://www.fermyon.com/ Extism is a framework for an application to support WebAssembly plugins: https://extism.org/ https://extism.org/
- CrimsonRain 1y agohow'd you compare dioxus and leptos?
- weinzierl 1y agoNot parent but GP: Love Leptos, I think they are on the right track. Dioxus is good too, I think it has wider scope and they also obtained funding from external sources while Leptos is completely volunteer based.
- jazzypants 1y agoIf you're familiar with JS frameworks, you can think of it like this: Dioxus : React :: Leptos : SolidJS The key for me is that Leptos leans into a JSX-like templating syntax as opposed to Dioxus's H-like function calls. So, Leptos is a bit more readable in my opinion, but that probably stems from my web dev background. The Dioxus README has a whole section comparing them -- https://github.com/DioxusLabs/dioxus#dioxus-vs-leptos https://github.com/DioxusLabs/dioxus#dioxus-vs-leptos
- johnofthesea 1y agoBtw there is also Dominator: https://github.com/Pauan/rust-dominator https://github.com/Pauan/rust-dominator