Will Swift take over Python as the go to language for ML?

Meir Rosendorff
DVT Software Engineering
5 min readSep 9, 2019

--

Machine Learning in swift why, what, how

source https://twitter.com/TensorFlow/status/1103393545866657792

Imagine a powerful, well documented easy to use language available to the masses that easily allows one to learn and implement machine learning solutions. It already exists. For many years Python has been the go to language for machine learning students and enthusiasts. This is because of its low barrier of entry, ease of use and powerful ML frameworks; one of the most famous of which is TensorFlow.

Is this going to change?

Now imagine another language that is compiled, type safe, has good memory management, great performance and has all the power that Python has but in a safer, more scalable package? This was Google’s vision when it decided it would develop a new, more powerful TensorFlow framework, a framework that would take machine learning to the next level. They chose to do this in Swift.

Swift is a fairly new language developed by Apple, who for the past few years has been developing their new framework, Swift for TensorFlow. You can check out Google’s full set of reasons and their github project’s here.

I’m an iOS Developer and when I found out about this all I thought is “what could be more cool than building, training and deploying an ML model totally in Swift”. If you aren’t an…

--

--

Meir Rosendorff
DVT Software Engineering

iOS Developer using swift and ObjC, Passionate about learning. Currently working on my ML skills particularly in Computer Vision and Reinforcement Learning.