Open rtsuk opened 1 year ago
Is it really necessary? Yes, it's beautiful, but the huge amount of closures in futures will dramatically increase the stack. Isn't it?
It's not necessary, but the callback-heavy nature of the Playdate API might make it the easiest course.
I think async closures tend to be allocated on the heap, since they outlive any single stack frame.
See executor.