Google, Facebook and Uber's three internet giants have met in London to discuss Swift's position in their respective development strategies after Apple opened open source Swift at the end of last year. News from the industry recently, Google intends to consider Swift as the first language of Android development, and Facebook and Uber are also planning to improve the role of Swift in operations.
Although it was a piece of news that was blown up by the tech press, it gave me a stronger look at the Swift report.
Immediately after a PR was accepted by the SWIFT team: apple/swift#1442
This adds a Android target for the stdlib. It is also the first example of cross-compiling outside of Darwin:a Linux host machine builds for an Android target.
There are currently Swift
two platforms supported for Mac and Linux, although Linux
supported Ubuntu
.
If Swift
it is a lake, then:
Conventional
- Swift-lldb
- Swift-clang
- Swift-llvm
- Swift-package-manager
This is the best orthodoxy in the world, the martial arts (based on the swift Open source framework or implementation) for this.
Orthodoxy management
Https://github.com/kylef/swiftenv is equivalent to the NVM in node. js, and you can use it to manage the version of Swift. Of course there is a Web runtime that you can use to learn Swift's basic heart, compared to JavaScript jsbin,swift: http://www.runswiftlang.com/.
Orthodoxy's announcement
If you want to know the Swift
next development plan, you can visit https://github.com/apple/swift-evolution to understand the dynamics of the Swift
team, the current dynamic information is development major version : Swift 3.0,expected release Date:late 2016.
Where to use martial arts
Suddenly there is a similar meaning to the comparison between Swift and JavaScript, so let's take a look at what Swift can do.
App for developing iOS Mac Apple Watch platform
There is no doubt that Apple's purpose in this language is to replace Objective-c on the Ios,mac platform 地位
(Apple Watch has to be developed using swift, and if open source might not have imagined that the WWDC was really a surprise), One thing to note is that if your app needs to be submitted to Apple's store, you'll have to use the swift version that comes with Xcode (currently 2.2).
If you want to learn swift, I particularly recommend you to view: Https://github.com/ipader/SwiftGuide, of course, the official website is also a good place.
Of course, with iOS Mac Apple Watch
the platform of martial arts cheats, the development of the genre of martial arts you can use CocoaPods to manage, equivalent to node NPM
. js.
android-Vacancies
With the exposure of technology news and FB engineer a PR (open source community), this aspect absolutely has a lot of imagination space. If the Google
decision is to be Swift
applied to the Andorid platform, this will undoubtedly be of great benefit to the developer.
Come and see a swift running on Android Hello World
: https://github.com/SwiftAndroid/swift/
Service side
Hello, Server Swift
If safety and performance are the biggest advantages of swift, its simplicity and ease of learning is also its greatest advantage.
Perfect
is a framework for web development and other rest services in Swift language, providing a set of core tools for server and client development, especially for MySQL, PostgreSQL, MONDODB database connectors that are very important in the development of the server.
Kitura
is a set of open source Web development frameworks for IBM.
Express
Reminds me of the web development framework of the node. JS Community express
, yes, you can see the very familiar syntax and usage patterns.
As for the database, you can connect whichever you want.
Visualization of data
Data visualization (which has it all), such as the d3.js of the web, and of course Swift also has its corresponding implementation available (and n+1 more), I used https://github.com/danielgindi/Charts.
AI
I'm sorry for not playing AI and deep learning these days, yes Swift also has a corresponding open source implementation: Https://github.com/collinhundley/Swift-AI.
There are too many areas (hardware, Internet of things, games, etc.) that are not in one by one cases, and of course it does not go into the Web client domain (this is definitely JavaScript.) )
Click this link to view the original
Swift's expectations