Our great sponsors
-
tokio
A runtime for writing reliable asynchronous applications with Rust. Provides I/O, networking, scheduling, timers, ...
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
note: support has not stabilized yet, tracking issue
It allows WebAssembly to be programs which are run using a runtime on the command line, like Wasmtime, Wasmer, Wasm3, etc. Sometimes, you want to have a program which acts like a server, in that it can receive connections and send responses. This is what the patch for Tokio does.
Yup, Wasm without NodeJS, without the browser. Just need a runtime, and some of the runtimes can be used as a libary, allowing for Wasm integration into other projects. For example, my company works on Enarx r/enarx which uses Wasmtime as a library to allow running Wasi applications in encrypted enclaves on AMD Epyc and Intel Xeon CPUs.
Made possible by Wasi support for Mio https://github.com/tokio-rs/mio/pull/1576
It allows WebAssembly to be programs which are run using a runtime on the command line, like Wasmtime, Wasmer, Wasm3, etc. Sometimes, you want to have a program which acts like a server, in that it can receive connections and send responses. This is what the patch for Tokio does.
It allows WebAssembly to be programs which are run using a runtime on the command line, like Wasmtime, Wasmer, Wasm3, etc. Sometimes, you want to have a program which acts like a server, in that it can receive connections and send responses. This is what the patch for Tokio does.
Wasi is basically WebAssembly without the browser, or WebAssembly with a `main()`.
PR for Hyper: https://github.com/hyperium/hyper/pull/2900, haven't been able to get dev attention, and tried reaching out on their Discord server
Axum for Wasi: https://github.com/rjzak/axum/tree/wasi_wip, I haven't filed a PR yet since I'm waiting on the next version for Tokio, and for the Hyper PR to be merged.
That's why there's wasi-crypto! https://github.com/WebAssembly/wasi-crypto
Simple example: https://github.com/rjzak/wasi-crypto-example
Wasi-sockets for better networking support: https://github.com/WebAssembly/wasi-sockets (though I don't think there's any implementations of this yet)
Not really. Use cases like that would be covered by the Component-Model Proposal I'd guess.