Skip to content(if available)orjump to list(if available)

Show HN: Ion, a Rust/Tokio powered JavaScript runtime for embedders

CGamesPlay

The async example in the readme is weird. It appears to be an example of tokio::sleep, where you synchronously call into your library before you sleep. Nothing about your library usage is async. In fact, the whole usage of the library is blocking, so I can't even call it from my existing async code. I'm expecting: I can call my async Rust function from JavaScript, and I can await a JavaScript async method. The example should at the very least be using `async fn main`.

01HNNWZ0MV43FF

Still built on v8, but it claims to present a more Rust-friendly API than competitors