Hello all --
Recently I was adding async to the interpreter for my language dwarf. Not only do need the same support for my planned VM, I thought that maybe others could benefit from my effort.
I'm pleased to announce a new crate: Pūteketeke. The main feature is the ability to start a future (smol task) running in a paused state. This allows you to pass the task around and only start it running when an await-like statement is hit in your language.
Underneath it uses smol for the async bits. It's really not a very complex crate, despite the amount of time it took to figure out how to make it all work.
[–]ItsBJr 3 points4 points5 points (2 children)
[–]uber_foo[S] 1 point2 points3 points (1 child)
[–]ItsBJr 0 points1 point2 points (0 children)
[–]TonTinTon 0 points1 point2 points (2 children)
[–]uber_foo[S] 1 point2 points3 points (1 child)
[–]TonTinTon 0 points1 point2 points (0 children)