Tuesday, June 03, 2014

Apple Swift Programming Language (!)

This is a "real big deal": a new, modern, programming language
with the performance of Objective-C, a clean syntax like Python,
on the same runtime as Objective-C, for iOS and MacOS apps.

The Swift Programming Language: The Basics @ developer.apple.com

Swift (programming language) - Wikipedia, the free encyclopedia
 println("Hello, world")
 let people = ["Anna": 67, "Beto": 8, "Jack": 33, "Sam": 25]
 for (name, age) in people {
     println("\(name) is \(age) years old.")
 }


This may force both Android and Windows to pick or create a dialect
from their ecosystem with similar characteristics... Will not be easy,
in particular to get "native-like" performance with JVM or CLR.
Maybe a subset derivative from C++11?
In any case, Apple is leading again...

No comments: