logoalt Hacker News

zozbot234yesterday at 8:59 PM2 repliesview on HN

Rust does not require GC-less memory management. It supports reference counting out of the box, and reference counting is a kind of GC. It's not inherently any harder to use than Swift (another memory-safe language) which plenty of average developers use to code for Apple platforms.


Replies

simonasktoday at 12:07 AM

I don’t think it’s a useful observation. Lots of people come to Rust from OOP languages and try to make everything `Arc<dyn Interface>`, and it immediately fails, to their great frustration.

Do not do this.

prontoday at 12:06 AM

I think it is significantly harder to use than Swift, and inherently so.