top | item 41216161

(no title)

monacobolid | 1 year ago

For UI portion of their Mac OS version? What am I missing?

discuss

order

Wowfunhappy|1 year ago

For everything. Swift is—at least in theory—a general purpose language, it's not exclusively for Apple technologies.

> First off, Swift has both memory & data race safety (as of v6). It's also a modern language with solid ergonomics.

> Something that matters to us a lot is OO. Web specs & browser internals tend to be highly object-oriented, and life is easier when you can model specs closely in your code. Swift has first-class OO support, in many ways even nicer than C++.

> The Swift team is also investing heavily in C++ interop, which means there's a real path to incremental adoption, not just gigantic rewrites.

https://x.com/awesomekling/status/1822236888188498031

https://news.ycombinator.com/item?id=41208836

sesm|1 year ago

> First off, Swift has both memory & data race safety (as of v6)

But v6 is not released yet, right?

sheeshkebab|1 year ago

Swift is useless outside of macOS/iOS dev… the thing doesn’t even have namespacing. I don’t know for what reason someone would use it outside for Apple environment.