Print Friendly and PDF


Open Source

In this year's WWDC(The Apple Worldwide Developers Conference ) conference, Apple introduced the Swift 2, to Swift language adds many new features, while Apple announced that it will open source Swift compilers and standard libraries. Although the source code needed to wait until the end of the release, but we wish to talk about open source it.

Open Internet environment

From the entire industry environment, open source seems to be now standard on the Internet. Where Google is open source pioneer, now the smartphone operating system monopoly basically iOS and Android, and Android's success, largely because of Google's open source Android system, and encouraging attitude on Android-based custom modifications to take.

Android open source Apple is injured, because it shows that Google does not expect to rely on the operating system to set up barriers to competition, but Apple is not the same, most of the profit comes from Apple's hardware sales, while hardware sales of high margin is dependent on one hardware and software with Barriers to the ecosystem.


 If open source iOS, then the AppStore Shanghai amount of software is likely to contribute to other compatible devices based on iOS system, which Apple's profits have a significant impact.

With respect to the open-source operating system, the impact of the compiler and the standard library open source programming language for business is much smaller. So Sun open source Java, Microsoft's open source .net, and Apple open source Swift.

That source Swift have any effect on apples? First, in fact, now Swift bug still more, open source can help you be more active Swift for Swift reported bug, even mentioning Pull Request. This is more conducive to Swift's popularity.


Then, a variety of languages ​​are trying not Swift and Objective-C to write iOS apps. Based on Ruby, Java, JavaScript, C # various cross-platform solution has. Open source Swift, Swift language also helps develop on other platforms, such as Android or written by Swift backstage Server, which is conceivable, for example, appeared on Github the Rails framework is based on a Swift
(https recently:github.com/anynines/Swift-rails-example). 

What is a good open source project

If we look now developed more good open source project, you will find an open source project to develop, in fact, open only the first step. In order to maintain a good open source community, open source-related work as well. For example, well documented, timely response to community mentioning Issue and Pull Request, to explain the various design details, these are requires a lot of manpower. If you do not work with those mentioned above, then the effect of open source itself will be very limited.

But if we look at Apple's open source behavior before, you will find that the documents are very simple. Apple's open-source website (http://www.opensource.apple.com/), the number of open source code is a very "bare" of the present disclosure, the code associated schema document is very small, the power of the community rarely involved in contributing code.

But Swift compiler and standard library announced at the end of the open source, let me open the Apple have a little hope. Apple is likely to want to do better this time, so I want after the relevant documents and build a perfect community, then open source.

If we look at the current market success of open source projects, you will find successful open source projects are still dominated by commercial companies to contribute code. Such as Hadoop 80% of the code is contributed by the Horton works and Yahoo. So while Swift source, but Apple should not have any change for dominance Swift, the power of the community may be more contributions on Bug fixes.

Cross-platform code reuse

This cross-platform code reuse is a hot topic, the PhoneGap-based Html5 not accepted by most people, even more so this year's program are various ways to produce native UI interface. I know a former friend Weibo departure do in this area to start a business.

Swift open source gives us the iOS and Android set of code reuse one more choice. But this would have to rely entirely on the power of the community, and we have seen a lot of start-up companies in this area appears, can appear on Swift's cross-platform development program, let us wait and see.
zubairsaif

Zubair saif

A passionate writer who loves to write on new technology and programming

Post A Comment:

0 comments: