Crate daku

source ·
Expand description

Rust crate to interface with the Daku API. This crate only works on wasm32 platforms supporting the daku api.

Concurrency model of Daku

Daku doesn’t use the concept of threads or shared memory. You can spawn isolated tasks with the API, which can then communicate exclusively over channels. If a task becomes unresponsive (too long between calls to sys::ar()), then it will be killed. For CPU intensive tasks, use spawn_blocking (FIXME).

Modules

Stable and safe portal APIs
Task local command queue
Asynchronous APIs
FFI bindings to the Daku API.
Task local storage