I'm not sure I understand. Do you mean why am I switching to using a compiler on my server?
It's because it's just too painful to re-write a complete compiler for the Thumb architecture - and after all that, it's not even going to be that fast. While I had something working there were lots of obscure bugs that were hard to find - and I don't think anyone else was really willing to help out with it.
By using GCC on a server I can avoid those bugs completely, debug everything more easily, and also get really fast code out the end.
However if someone could make a C->Thumb compiler that could run in JavaScript (like a port of TCC) then I'd be happy to switch back to offline compilation.
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 not sure I understand. Do you mean why am I switching to using a compiler on my server?
It's because it's just too painful to re-write a complete compiler for the Thumb architecture - and after all that, it's not even going to be that fast. While I had something working there were lots of obscure bugs that were hard to find - and I don't think anyone else was really willing to help out with it.
By using GCC on a server I can avoid those bugs completely, debug everything more easily, and also get really fast code out the end.
However if someone could make a C->Thumb compiler that could run in JavaScript (like a port of TCC) then I'd be happy to switch back to offline compilation.