A stack-less Rust coroutine library under 100 LoC

As of stable Rust 1.39.0, it is possible to
implement a very basic and safe
coroutine library using Rust’s
async/await support, and
in under 100 lines of code. The implementation depends solely on std and is
stack-less (meaning, not depending on an separ… Read more

Similar

The Great Rewriting in Rust

The book “Writing Secure Code, 2nd Edition” written by David LeBlanc and Michael Howard, published by Microsoft Press in 2002, was once required reading at Microsoft, following Bill Gat… (more…)

Read more »

Creating WASM-opt Rust bindings with cxx

wasm-opt is a component of the Binaryen toolkit, written in C++, that optimizes WebAssembly modules, I have recently created a wasm-opt bindings crate for Rust (with the extensive help of my partner Aimeedeer). The wasm-opt crate allows wasm-opt to be ins... (more…)

Read more »