logoalt Hacker News

vardumpyesterday at 9:54 PM3 repliesview on HN

Does it borrow borrow checker?


Replies

tialaramexyesterday at 11:26 PM

I believe Swift tends to use reference counting and copy-on-write strategies. This, like GC, is less for the programmer to think about and doesn't require the semantic checks, but sometimes the performance cost is unacceptable compared to what you'd write in Rust.

show 2 replies
anextioyesterday at 11:12 PM

Yes, it has a borrow checker.