what is Kotlin able to do on embedded systems? Lik...
# embedded-kotlin
m
what is Kotlin able to do on embedded systems? Like is it able to replace c++ for the arduino and python for the raspberry pi?
l
Cannot run on AVR microcontrollers currently, but it can run on a Raspberry Pi.
m
what do you mean with AVR microcontrollers?
I’m really new to these kind of things
l
This is what powers Arduino boards.
m
what about the esp32?
l
No Kotlin there yet either
m
😱 hopefully someone will add it so we can use kotlin for it instead of c++ or python
l
I believe you can use Rust instead of C++ on AVRs
But its syntax is not as straightforward as Kotlin for sure.
m
never used Rust before might look into it
p
FYI, we're working on Kotlin to Python transpilation: https://github.com/krzema12/kotlin-python I'm looking forward to using it on embedded systems as well. You'll get type safety of Kotlin, but the maturity of libraries of Python (like for handing GPIO, timers, whatever)
👍 1
I sent more info as a separate post on this channel
m
I'll look into it, thanks