TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Swift 5.0 release process

95 点作者 OberstKrueger超过 6 年前

9 条评论

ainar-g超过 6 年前
My memory might fail me, but I thought Swift 4 was supposed to be &quot;the last major breakage&quot;? Swift has a new major revision every year.<p>Compare this to Go (no major revisions after 6 years, probably a backwards-compatible major revision in 2-3 years) and Rust (no major revisions after 3 years, but with a mechanism called &quot;editions&quot;). To say nothing about Java or C#.
评论 #18070593 未加载
评论 #18070535 未加载
评论 #18071006 未加载
评论 #18070548 未加载
评论 #18072476 未加载
dep_b超过 6 年前
What I really miss in Swift are user definable attributes. Also I would like to have the Objective-C attribute that requires you to always call super. I don&#x27;t think that Swift even honors that attribute if it is defined in Objective-C.<p>I consider it weird that the &quot;where&quot; keyword can&#x27;t be applied in more places, only in case and for ... in I believe it works. Seems like some weird remnant of &quot;what cool feature of C# could we borrow?&quot; that never really got a full rollout.<p>Also I would like to have a &quot;not&quot; keyword instead of using the easily overlooked !. Such a nice feature of F# (and Visual Basic?).<p>Good to see count(where:) coming to the language, I often missed it. And probably is faster than filter since it doesn&#x27;t create an array of results first.<p>Apart from that Swift 5 doesn&#x27;t seem to be super different from 4. But that&#x27;s what I expected already.
评论 #18071599 未加载
SkyPuncher超过 6 年前
It&#x27;s been two years since I last worked with Swift. I absolutely loved Swift as a language but abhorred these updates.<p>It was an absolute nightmare to get a project updated then spend hours and hours fixing stupid issues with dependencies.
评论 #18071591 未加载
评论 #18072491 未加载
bsaul超过 6 年前
Question for the HN language designers: do you think it&#x27;s possible to provide ABI stability when the language still doesn&#x27;t provide the full promised features for concurrency ? (ex: async &#x2F; await, agent based concurrency, and all the features talked about in chris lattner&#x27;s concurrency manifesto)
评论 #18070859 未加载
dep_b超过 6 年前
Can I find a list of accepted changes and proposals for 5.0 somewhere?
评论 #18070936 未加载
mpweiher超过 6 年前
&quot;The primary goal of Swift 5.0 is for the language to achieve ABI stability.&quot;<p>&quot;Apple’s Chris Lattner, original creator of the Swift language, has recently announced on the Swift Evolution mailing list that ABI stability, one of the goals originally planned for Swift 3, will be postponed.&quot;<p><a href="https:&#x2F;&#x2F;www.infoq.com&#x2F;news&#x2F;2016&#x2F;05&#x2F;swift-3-no-stable-abi" rel="nofollow">https:&#x2F;&#x2F;www.infoq.com&#x2F;news&#x2F;2016&#x2F;05&#x2F;swift-3-no-stable-abi</a>
评论 #18070637 未加载
smaslennikov超过 6 年前
I posted this on #swift in freenode and they kicked me out.
评论 #18070731 未加载
dzonga超过 6 年前
Swift suffered the fate, of being a language developed by an academic to say and developed within a large corporation. It ended up being a complex language with useful features. Newbie hackers can&#x27;t at all master protocols, generics and all the cruft. If it was simple as GO, and from day one designed to run on servers instead of iOS, Swift would&#x27;ve had incredible adoption given features as optionals, type safety and python&#x2F;c like syntax &amp; first class functions.
评论 #18071797 未加载
评论 #18071649 未加载
patientplatypus超过 6 年前
OK...stupid question.<p>Why not use Flutter? Even React Native is cross platform. Why are we still using a programming language for a phone app that means we have to write the darn thing twice? Even a RN webview pointing at an IP with code written in whatever-lang is seemingly a better choice.
评论 #18070628 未加载
评论 #18071160 未加载
评论 #18070725 未加载
评论 #18070609 未加载