News for hackers. Stuff that matters.
Re:Why Lua Beats MicroPython for Serious Embedded Devs by skybrian on Sunday July 13, 2025 @01:06PM (#44551832)
As a hobbyist I just use Arduino (via platformio). I don't think I need an interpreter of any sort for microcontrollers because recompiling and uploading the flash on hobbyist boards is quick and easy.

But I'd like to try some other compiled language someday because I'm not a big fan of C++. Any recommendations for something that works well with a Raspberry Pi Pico?

Re:Why Lua Beats MicroPython for Serious Embedded Devs by Rebelgecko on Sunday July 13, 2025 @02:02PM (#44552208)
I'm not an expert but from what I've seen Rust is one of the big alternatives. It's new enough to be trendy and fixed a lot of C++ issues whole being mature enough that the tooling is ok.

I'm also intrigued by Zig. I haven't used it for anything yet but the language looks fun and I believe platform.io supports it

Raspberry Pis are beefy enough that you could also get away with less systems-y languages. I like Kotlin. By default Kotlin needs a JVM but I think it's usable if you build native executables. However if you want to fiddle with GPIOs you might have to do it by manually setting things on/off in the filesystem (edit, sorry, just read you're using a PICO. Not sure how well Kotlin is supported)

Re:Why Lua Beats MicroPython for Serious Embedded Devs by 20after4 on Sunday July 13, 2025 @02:33PM (#44552424)
The Pi Pico is a microcontroller, not a full linux-capable SBC. The confusion is helped by the fact that Raspberry Pi has a bunch of variants and almost all of them are SBCs.
Re:Why Lua Beats MicroPython for Serious Embedded Devs by miguel_martin on Sunday July 13, 2025 @02:26PM (#44552374)
Nim is a likely a pretty good option, see https://github.com/EmbeddedNim/picostdlib/tree/master
Re:Why Lua Beats MicroPython for Serious Embedded Devs by jacobgorm on Sunday July 13, 2025 @03:35PM (#44552915)
Toit from the v8 devs is also pretty cool.