logoalt Hacker News

slopinthebagtoday at 4:15 PM3 repliesview on HN

Swift truly is one of the languages of all time. I started a mobile app with the UI built in Swift and the core in Rust. The amount of implicit and hidden behaviour, magical fields being generated on objects because of certain annotations, the massive amount of @decorators...it's too much. I'm going to have an LLM generate the SwiftUI and touch as little of it as possible.

It's also strange because before I learned Swift, I heard about how beautiful it is but I find it much noisier than Rust.


Replies

trevor-etoday at 7:41 PM

>I heard about how beautiful it is

This used to be the case around Swift 4, but since then they've added so many features and keywords to the language. Now the simplicity and elegance is gone.

Also it seems like there was a marked change in the culture of Swift. It somehow attracted a lot of the "ackchyually" crowd which resulted in a lot of massively complicated features. I liked to occasionally browse the evolution docs and they got more and more complex over time.

qn9ntoday at 6:04 PM

I find rust much noisier, especially at its basics where you write “for item in items” instead of using iter()

show 1 reply
ChadNauseamtoday at 4:28 PM

What are you using for rust-swift interop?

show 1 reply