4 ms·
"the question is why did C++ survive the Javapocalypse"... I was thinking you can't run Java on AVR, but you can run C++ (Arduino..) But here you go: https:/
by jhallenworld 4y ago
"the question is why did C++ survive the Javapocalypse"...
I was thinking you can't run Java on AVR, but you can run C++ (Arduino..)
But here you go:
https://atmega32-avr.com/java-virtual-machine-for-the-atmel-avr-atmega8/ https://atmega32-avr.com/java-virtual-machine-for-the-atmel-...
Even so, this VM is written is C, with no JIT compiler on the 8K microcontroller, so C++ is much faster. Hmm.. now I'm wondering if GCJ could work with avr-gcc..
- folmar 4y agoThat's just suboptimal microcontoller choice. There are a lot of microcontrollers that directly the Java Micro Edition instruction set, for example aJ-100.