HeyMrPolarBear
Posts: 6
Joined: Tue Nov 10, 2015 8:08 am

Apple's Swift goes open source!

Fri Dec 04, 2015 6:26 am

Apple has made it's mobile programming language Swift open source AND they released a port for Linux.

http://www.macrumors.com/2015/12/03/swift-open-source/

Swift.org

Swift seems like a pretty flexible language as well easy to learn.

Do you guys think this language can be used on the Pi? What are the possibilities of doing cool things with it and the Pi? :)

Joride
Posts: 1
Joined: Sat Dec 05, 2015 4:24 pm

Re: Apple's Swift goes open source!

Sat Dec 05, 2015 4:29 pm

Unfortunately, on the Swift website it says:
Currently x86_64 is the only supported architecture on Linux.
See:
https://swift.org/blog/swift-linux-port/

As the raspberry pi runs on an ARM processor, there is no compiler at this moment.

Side note: the iPhones run on ARM architecture too (ARMv7 and ARM64 is what Xcode compiles for). I wonder how long it will take before the community creates a compiler that will allow Swift programs to run on a Raspberry Pi.

HeyMrPolarBear
Posts: 6
Joined: Tue Nov 10, 2015 8:08 am

Re: Apple's Swift goes open source!

Tue Dec 22, 2015 10:46 am

Awwww I missed that bit about the architecture. Although I thought it would work on the Pi exactly because the iPhone uses ARMv7.

Return to “General programming discussion”