Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This is one of the things I love most about Lua. You can coroutine.yield inside of any function, it's up the the caller to handle it correctly.

This means I can write my tech stack to run in either mode, then swap out async/sync functions in the application. This is exactly what I do in https://Lua.civboot.org#Package_lap



Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: