First, you can compile javascript to C: https://www.espruino.com/Compilation That might help. Or haven't seen what is exactly slow, but there might be room for some optimization.
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.
First, you can compile javascript to C: https://www.espruino.com/Compilation That might help. Or haven't seen what is exactly slow, but there might be room for some optimization.
If you have some functionality that is not supported by the espruino Js -> C compiler, you can add your own C code: https://github.com/espruino/Espruino/blob/master/libs/README.md
If you want to do 100% custom code, Nordic semi's website is your best bet I guess: https://www.nordicsemi.com/Products/Low-power-short-range-wireless/nRF52832