@nasser Did you see F'Santanna's latest project?

"Atmos is a programming library for Lua that reconciles Structured Concurrency with Event-Driven Programming"
https://github.com/lua-atmos/atmos/tree/main

Don't know if there's anything conceptually new in there compared to Céu, but I know I'm going to have an easier time reading an in-Lua library for Lua, than trying to grok a compiler implemented in Lua for compiling a different language to a finite state machine in C.

GitHub - lua-atmos/atmos: Structured Event-Driven Concurrency for Lua

Structured Event-Driven Concurrency for Lua. Contribute to lua-atmos/atmos development by creating an account on GitHub.

GitHub
@vanderZwan oooo no this is new to me 👀👀👀

@nasser

He only announced it on the Céu Google Groups two days ago so don't feel bad ;).

I commented that I'm looking forward to try to steal ideas for it for JS but he mentioned that the stackful vs stackless coroutine difference between Lua and JS will likely be a barrier :/.

https://groups.google.com/g/ceu-lang/c/GJz_-BD3Mg4

[ANN] lua-Atmos v0.1 - Structured Event-Driven Concurrency for Lua

@nasser while we're on the topic of sharing coroutine related things, did you hear about the WASM stack switching proposal?

https://github.com/WebAssembly/stack-switching

https://github.com/WebAssembly/stack-switching/blob/main/proposals/stack-switching/Explainer.md

GitHub - WebAssembly/stack-switching: A repository for the stack switching proposal.

A repository for the stack switching proposal. Contribute to WebAssembly/stack-switching development by creating an account on GitHub.

GitHub