by mikkelam · 6y ago · 0 comments
I've picked rust instead, it feels like the exact opposite of the single large actor supporting swift, instead it's a huge community effort with lots of use cases already being seen in many spaces. AND rust just got AVR support which I suppose swift could get pretty quickly with llvm as well
In theory, yes, but in practice I don’t see Swift going there comfortably. Its more dynamic runtime (compared to C or rust) needs more metadata, eating memory, which is precious on AVR (384 kilobytes, max, reading https://en.wikipedia.org/wiki/AVR_microcontrollers)
I think C# had that problem for a long time, but Microsoft did a great job / made a great strategic decision with .NET Core I think.
.NET was also available in other platforms where Microsoft saw commercial value, via partner agreements.
Swift was only publicly announced six years ago.