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.
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.
Wowfunhappy|1 year ago
> 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
But v6 is not released yet, right?
unknown|1 year ago
[deleted]
unknown|1 year ago
[deleted]
sheeshkebab|1 year ago
askonomm|1 year ago
unknown|1 year ago
[deleted]