logoalt Hacker News

jadengelleryesterday at 9:43 PM3 repliesview on HN

Modern Swift borrows a lot from Rust! And it also has its own benefits, both ergonomic and also supporting eg generic in dynamic libraries


Replies

ecshaferyesterday at 10:02 PM

Swift and Rust were developed at similar times. I think of them more as having similar influences than borrowing from each other.

show 2 replies
airstrikeyesterday at 9:53 PM

These days I mainly write Rust but I did write a semi complex iOS app and enjoyed Swift. I just didn't love how slow the type checker was and how it got lost. I recall having to break things into smaller bits to help the compiler, and there were some oddities about the language.

The gap between the two languages is quite small, it just makes me wish Apple was also all-in on Rust

show 2 replies
vardumpyesterday at 9:54 PM

Does it borrow borrow checker?

show 3 replies