Yeah, from the look of it, it might 'just work', but best to check. RAM usage is the only real consideration I can think of.
From an implementation point of view, does ESP8266 have a 'SYSTICK' counter (just a 32 bit counter that ticks up every clock cycle and overflows). Then Espruino could have some relatively speedy check of that such that it didn't yield so often it was painfully slow.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Yeah, from the look of it, it might 'just work', but best to check. RAM usage is the only real consideration I can think of.
From an implementation point of view, does ESP8266 have a 'SYSTICK' counter (just a 32 bit counter that ticks up every clock cycle and overflows). Then Espruino could have some relatively speedy check of that such that it didn't
yield
so often it was painfully slow.