logoalt Hacker News

skrrtwwtoday at 2:39 AM3 repliesview on HN

This is pretty great stuff, I knew about the raw interop features but had no idea what API Notes offered. Quite cool.

I can't help but feel that Swift will ultimately be the "slow and steady wins the race" safe language of the future. Swift steadily working "first" on both tooling and cohabitability with existing ecosystems is a huge boon for adoption. It understands what an ABI is! If I were doing a greenfield cross platform application I think Swift would be the first thing I reach for now.

The qualms I have with Swift are mostly some of the more recent complex language features that can make Swift code much harder to understand and read, as well as the brainpower required to use Swift concurrency. That and some performance concerns, though many of those seem like they may be solvable with optimizations in LLVM.


Replies

aaronbrethorsttoday at 6:44 AM

It feels like the language designers have never met a feature or paradigm they didn't love and agree to include :-\

show 1 reply
peterspathtoday at 4:34 AM

This is a good write up about Swift Concurrency: https://fuckingapproachableswiftconcurrency.com/en/

show 1 reply
andeee23today at 7:18 AM

i’m not sure about the work on tooling

just a few weeks ago i was trying to work on a swift project in neovim and found the whole langserver experience pretty bad

and it’s way worse when working on swif ui apps, but i guess that’s more of an apple wanting you to use xcode thing.

i wish there was better tooling, i like the language, but i just switched to nim for my side project

show 1 reply