Is Rust Web Yet?
11–20 of 183 posts
Re: Is Rust Web Yet?
#12This content, while still accurate (Rust is Web-ready, and all the frameworks listed are excellent!), is missing out a few credible and recent options. In particular I want to shout out for Axum ( https://github.com/tokio-rs/axum ), from the folks who brought us Tokio. I've been building with it for the past few weeks and have enjoyed every minute. I started with Warp, but ended up struggling a bit with middleware. I…
Re: Is Rust Web Yet?
#13Re: Is Rust Web Yet?
#14Re: Is Rust Web Yet?
#15Can some explain why I always get cult like vibes from the rust community?
Re: Is Rust Web Yet?
#16So, are there actual uses (not just potential use cases) of webassembly beyond games and crypto-mining?
Re: Is Rust Web Yet?
#17Can some explain why I always get cult like vibes from the rust community?
Re: Is Rust Web Yet?
#18So, are there actual uses (not just potential use cases) of webassembly beyond games and crypto-mining?
Because WASM doesn't have a direct method of calling system API functions, you have quite a lot of control over the runtime. Most JS engines are too powerful to just run arbitrary code (especially if they're not run inside a browser) and other tools (LUA etc.) have libraries that usually assume that the program is not executing code from third parties. With many if not most WASM libraries, there is no unmetered networking, there is no I/O, only methods you explicitly write call wrappers for.
For tools like Cloudflare Workers, WASM can be used as a format that executes relatively quickly, relatively safely. Most software won't be in a position where you'd want to push third party blobs of code and execute it in the backend, but for some programs (SaaS + custom report generation?) it can be a nice plugin platform.
There are, of course, alternatives, but since LLVM and GraalVM compile to WASM, there are tons of languages that can generate a compatible blob.
There is something to be said for code reuse, but the speed of the WASM JS bridge to interact with the DOM makes that use case quite difficult to accomplish efficiently.
Re: Is Rust Web Yet?
#19Re: Is Rust Web Yet?
#20Also see: https://areweguiyet.com/ https://arewegameyet.rs/