Get the latest tech news
Growing a Bootie
wingolog: article: growing a bootie
One particularly powerful primitive is%inline-wasm, which takes an inline snippet of WebAssembly as an s-expression and applies it to a number of arguments passed at run-time. Really we need to make a Guile bytevector, so in this sort of case, we end up having to include a run-time make-bytevector definition in the(hoot primitives) module. Even for a library that needed more porting like Fibers (Hoot has no threads so much of the parallel concurrent ML implementation can be simplified, and we use an event loop from the Wasm run-time instead of an epoll-based scheduler), it was still pleasant to be able to use define-module and keyword arguments and all of that.
Or read this on Hacker News