3 ms·
How does Swift do for embedded systems? Most of the processors in the world are not the usual PC, they are embedded systems. 99% of the embedded systems shop us
by aprdm 11y ago
How does Swift do for embedded systems? Most of the processors in the world are not the usual PC, they are embedded systems.
99% of the embedded systems shop use C! There are still loads of 8 bits microcontrollers being sold every day and they aren't going anywhere anytime soon.
But I do agree with you, I am a web developer today and use Python, C doesn't fit too well in this space.
- jernfrost 11y agoI've worked AVR microprocessors (used in Arduino) and I found that for as small programs as I would write on a micro controller even assembly programming works. But C is definitely a good fit. Since you need effortless access to many low level details I think C is probably the best language for writing micro controller software. Of course as the software gets larger I guess it start making more sense to switch to something like Swift or Rust. The right tool for the job right? C is the right choice in many cases. It is just that C/C++ has been used for a lot more jobs than they are the right choice for.