蠻有意思的消息,「不具名人士」說 Google 正在考慮把 Apple 之前 open source 出來的 Swift 用在開發 Android 上面。
整理幾個重點:
* 這是 Google、Facebook、Uber 在倫敦一場會議中,Google 所提出來的
* Facebook 及 Uber 目前也慢慢要以 Swift 為主
* 一開始不會取代 Java,應該是跟 Objective C++ 一樣慢慢取代吧
* Swift 本來就是 open source 的,所以對於 Google 來講意願更高。對比最近與 Oracle 的官司 XDDD
* 要改用到 Android 上面還有一些路要走,像是 Java API 以及底層的 C++ API 都要重寫
* 所有東西都要重寫,像 Service、提供給開發者的 API...等,是一條漫長的路
* 與 Kotlin 相比:Kotlin 贏在起跑點上,因為官方的 Android Studio 有支援,而且是 JVM 語言可以無縫轉移;但就是 compile 慢了點
* Facebook 的員工 Brian 有發 PR 給 Swift,名為「Port to Android」
## References
* http://thenextweb.com/dd/2016/04/07/google-facebook-uber-swift/
* http://www.inside.com.tw/2016/04/08/google-is-said-to-be-considering-swift-as-a-first-class-language-for-android
「kotlin open class」的推薦目錄:
- 關於kotlin open class 在 Kewang 的資訊進化論 Facebook 的精選貼文
- 關於kotlin open class 在 What is the difference between 'open' and 'public' in Kotlin? 的評價
- 關於kotlin open class 在 kotlin-by-example/07_Inheritance.md at master - GitHub 的評價
- 關於kotlin open class 在 Classes - From Java to Kotlin 的評價
- 關於kotlin open class 在 Open class, Data class & singleton class in Hindi - YouTube 的評價
- 關於kotlin open class 在 Classes · tehras/java-kotlin Wiki · GitHub 的評價
kotlin open class 在 kotlin-by-example/07_Inheritance.md at master - GitHub 的推薦與評價
Kotlin methods are also final by default. As with the classes, the open modifier allows overriding them. A class inherits a superclass when you specify the : ... ... <看更多>
kotlin open class 在 Classes - From Java to Kotlin 的推薦與評價
Kotlin. class User. Open Class. Java. public class User { }. Kotlin. open class User. Final Attributes. Java. final class User { private final String name; ... ... <看更多>
kotlin open class 在 What is the difference between 'open' and 'public' in Kotlin? 的推薦與評價
... <看更多>
相關內容