Performance of the character devices only really matters if we've got the watchdog nipping at our heels - otherwise, it's only "nice" not "critical". I think we somehow need to be able to yield() while JS is running - pause the interpreter and run and "feed the dog" - with the overhead of the js interpreter, I think triggering the WDT reset will be a major problem.
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.
Performance of the character devices only really matters if we've got the watchdog nipping at our heels - otherwise, it's only "nice" not "critical". I think we somehow need to be able to yield() while JS is running - pause the interpreter and run and "feed the dog" - with the overhead of the js interpreter, I think triggering the WDT reset will be a major problem.