Comment by cyberax
There are some advantages to Arduino. Like <100ms boot times, you can go from power on to running within a blink of an eye.
This _is_ possible with Linux, but not at all trivial and likely impossible with general-purpose distros.
Interrupt handling and (on RP2040) dedicated multicore code is also nice.
Curious - how does one achieve this in Linux?
I assume initramfs-only with special purpose pid0 and only the modules needed statically compiled into the kernel?
What else would it take?