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§

api
Stable and safe portal APIs
cmd
Task local command queue
run
Asynchronous APIs
sys
FFI bindings to the Daku API.
tls
Task local storage