Apple Patents Swift
Written by Mike James   
Monday, 28 January 2019

This may be a storm in a teacup, or a typhoon massing off the port bow. Apple has applied for a patent that appears to cover the whole idea of the Swift language.

Apple is either an innovator that open source can trust or the worst exploiter of other people's ideas on the planet. After all, what was the Mac other than a Xerox Star reimplemented.

What I'm trying to convey is how you view the news that Apple has just been granted a patent on what seems to cover the whole idea of Swift depends on how you feel about Apple. Notice I say "how you feel" as there isn't too much hard fact to go on.

This all started about two weeks ago when the Swift forum started to worry about Swift's status as open source and patent free. Then a few days later a bigger fuss started when it was discovered that Apple had been granted a patent on what sounds like Swift:

Programming system and language for application development

Abstract

In one embodiment, an improved programming system and language for application development is provided that combines elements of the C and Objective-C languages without the constraints imposed by a requirement to maintain compatibility with the C language. The language provides the functionality of the C language compatibility in certain areas to improve the inherent safety of software written in the language. The new language includes default safety considerations such as bounds and overflow checking.

After reading the patent through, I have to admit that I cannot figure out exactly what it covers. It does seem very specific in many places:

Additionally, an embodiment of the new language introduces advanced types not found in Objective-C. These types include Tuples and Optionals. Tuples enable a developer to create and pass groupings of values.

and

In one embodiment, an optional type is provided that handles the absence of a value. Optionals are a way to say either “there is a value, and it equals x” or “there isn't a value at all.” Optionals do not exist in C or Objective-C.

They may not exist in C or Objective-C, but optional types certainly exist in other languages, C#, Kotlin, both before and after Swift. And so it goes on with specific descriptions of language features which are not part of C or Objective-C, but are certainly not novel in a wider context.

The patent was granted.

Should Swift users and contributors be worried? The forum discussion where all of this came to light seems to be partly worried and partly reassured by the fact that Swift is open sourced under an Apache license which has a patent clause. This basically says that if you contribute to Swift then you are granting any patents you hold that might be infringed by your code. This is reassuring some because it is interpreted to mean that Apple can only use its patents against patent trolls. That is, Apple has patented Swift to keep it safe and open.

However, there is still a dark and lurking fear that there might be other ways in which Apple holding a patent on the language might be used, should it ever be necessary. It is the lack of clarity that is causing the doubt, and also the recent experience with Oracle and Java patents.

Perhaps the solution is for the patent office to not grant patents on such broad claims and for it to take its obligation to find prior art more seriously.

More Information

Apple is indeed patenting Swift features

Programming system and language for application development

Swift is open-source but is it patent-free as well?

Related Articles

Swift Adds More Generics Support

Swift 4 Improves String Handling

Swift 3.0 Released!

Apple Launches Swift Playgrounds

Apple Open Sources Swift

Apple's New Language - Swift       

Swift 2 To Be Open Source       

Top Languages 2015 - Stasis But For Go And Swift   

 

 

To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on, Twitter, Facebook or Linkedin.

 

Banner


PayPal Open Sources Hera
02/08/2019

PayPal has made HERA, its High Efficiency Reliable Access to data stores, open source. Hera is a data access gateway that PayPal uses to scale database access for hundreds of billions of SQL queries p [ ... ]



SIGGRAPH 2019 Kicks Off
28/07/2019

Siggraph 2019 started today and runs to August 1st. No doubt there will be some interesting things to look at. Here is a preview of what is on offer.


More News

appC

 



 

Comments




or email your comment to: comments@i-programmer.info

 

 

Last Updated ( Tuesday, 29 January 2019 )