In Espruino there are two main queues already that are relatively well tested (used for everything, and have been there since the start) - there's ioBuffer - for input events, and txBuffer - for output events.
Potentially some tasks could be handled on the second core using those if needed.
Not sure what though - I'm struggling to think of stuff that's easy to offload.
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.
In Espruino there are two main queues already that are relatively well tested (used for everything, and have been there since the start) - there's ioBuffer - for input events, and txBuffer - for output events.
Potentially some tasks could be handled on the second core using those if needed.
Not sure what though - I'm struggling to think of stuff that's easy to offload.