4 ms·
If the target device is based on a microcontroller, I think C is the only reasonable choice, due to the ecosystem. If the target device is an embedded Linux co
by Const-me 4y ago
If the target device is based on a microcontroller, I think C is the only reasonable choice, due to the ecosystem.
If the target device is an embedded Linux computer, you can choose pretty much any language you’re comfortable with. The golang is probably fine. Personally, I have good experience making embedded Linux software with C#. The performance on both ARMv7 and ARM64 CPUs is pretty good, comparable to compiled languages. The only downside is the runtime size. The current LTS version is .NET 6, the ARM64 Linux runtime takes 75MB on disk, or even 100MB if you want asp.net for a web interface of your device. Not all devices have gigabytes of flash memory.