News for hackers. Stuff that matters.
Re:Swift Algorithms by Someone on Thursday October 08, 2020 @07:06AM (#24717955)
“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)

Re:Swift Algorithms by pjmlp on Thursday October 08, 2020 @07:58AM (#24718282)
Just like you don't do ANSI C there, so a similar constrained version might be possible, not much different from Pascal.

https://www.mikroe.com/mikropascal-avr