Crash on file::read in C-API

In Lua you can avoid run loop timeouts with coroutine.yield() (though not at load time) which makes things a little easier. In C you're a little closer to the metal so we don't have that option. I haven't looked at this C coroutine library for Playdate but it looks interesting, might help here: [C/C++] Coroutines Library for Playdate

1 Like