But I'm quickly running into limits of hardware, system limits, and limits of my knowledge of JavaScript. Help is wanted.
Is there a way to do some kind of multitasking? I guess "abort expensive computation if user action is detected" would already be a huge improvement for me. Drawing map takes seconds to minute, aborting the draw when user requests move would be good.
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.
I'm working on vector map application for Bangle.js -- code is available here: https://github.com/espruino/BangleApps/pull/2981
But I'm quickly running into limits of hardware, system limits, and limits of my knowledge of JavaScript. Help is wanted.
Is there a way to do some kind of multitasking? I guess "abort expensive computation if user action is detected" would already be a huge improvement for me. Drawing map takes seconds to minute, aborting the draw when user requests move would be good.