You are reading a single comment by @halemmerich and its replies. Click here to read the full conversation.
  • To give some indications for speed/RAM:

    1. Allocation of one full screen 4 bit buffer on Bangle.js 2 would be about 10% of the RAM. On Bangle.js 1 probably more like about a quarter.

    2. 1000 iterations of an empty for loop take nearly 230ms

    3. Assigning a variable on each iteration costs 136ms extra

    4. Commenting out that assignment still costs 24ms over the base loop

    As for javascript as the language of choice I'm with @fanoush. You could use C/C++ like on other micros, but that will cost a lot of convenience and simplicity. Nevertheless you can even include native/compiled code in the JS if you need every last bit of speed the processor can muster.

About

Avatar for halemmerich @halemmerich started