|
|
|
|
|
by dagmx
638 days ago
|
|
To me, Swift has better ergonomics for most people. Ref counting by default makes most programs easier to deal with. Guard let (though recently somewhat introduced in rust) are much more friendly ways to unwrap optionals. Being able to provide parameter defaults and aliases. Easy passing in of callbacks. Easier async. Null chains with the Question mark operator. I really like rust, but it’s much faster to get to a working program in Swift. And with the new CXX interop, I now reach for Swift by default since I have to deal with a lot of C++ libraries. |
|
I was on board until this one. Async is a rough spot for rust, but I find the async strategy swift went with absolutely baffling and difficult to reason about.