Swift source code will be released under an OSI-approved permissive license. Contributions from the community will be accepted — and encouraged. At launch we intend to contribute ports for OS X, iOS, and Linux. Source code will include the Swift compiler and standard library. We think it would be amazing for Swift to be on all your favorite platforms.
I long dreamed of using Objective C to build server apps. The compiler support has been there for years (GCC, later Clang), but there's no standard library. All the stuff you would want from Foundation is missing; strings, sockets, file I/O, encoding support, threads, etc., it turns out you'd have to reimplement a lot from scratch. There's GNUstep, but last I looked it, it was stagnant, and also very much geared towards GUI apps. Swift on the backend would be even better, I think. Between all the languages that have evolved lately (including Go and Rust), Swift has struck me as the one that feels the most like my ideal language.
我与 HN 上这位兄台的观点一致
Go:我真是日了狗了 Rust:一起日 Julia:同日 ObjC 尸骨已寒,无话可说 C、C++、C# 和 JavaScript 表示淡定
转自知乎 Belleve
转一个推文
bitinn: 昨晚没看WWDC,今天追了下,个人的判断,先来点冷水——
1. iPad的确到尽头了,连苹果自己都没啥想法,分屏工作更像是发挥余热。顺便一提,你上次用电视的画中画功能是啥时候?
2. Swift的利用率与发展速度可能远比预期低,你上次听苹果说“你喜欢的东西应该能跨平台”是啥时候?
我清早起来看见说 swift 支持 Linux,我还在纳闷难道要在 linux 上开发 app 么。看了评论,似乎明白了项庄舞剑志在沛公,原来是想入侵服务端,而不是在 linux 上写 app。
没觉得 swift 有多好,还不如 oc 呢。至于编译器.. Xcode 6.3.2 有这么一句“fixes that chould result in slow compile times for complex Swift projects” 这个问题我碰到过,所谓的 complex 只不过是是一个略大的二维数组字面值 编译 10 分钟还过不去...
#23 楼 @chaucerling 对还会要求写注释和文档,因为没人看代码,都恨不得把代码折叠掉只看注释,后来时间长了,注释和文档和代码不同步了还是跑过来问代码作者...