Hacker News new | ask | show | jobs
by mcintyre1994 2068 days ago
At an ELI5 level, does anyone know why Swift can have ARC and async but Nim's ARC doesn't work with async? Is it just implementation details of Nim's async specifically instead of anything more fundamental to ARC? Just asking out of curiosity.
3 comments

Yes. There is nothing fundamental to nim's ARC working with nim's async. There are attempts on make nim's async cycle free.
Note that what we're referring to as "async" for Nim is actually "async await". AFAIK Swift doesn't support that, does it?
Swift doesn't claim hard realtime capabilities like Nim's ARC does.