Taking ML to production with Rust
Although I am a python guy, if I had to bet on an alternative language here - its going to be Swift.<p>The amount of evangelism money that Google is spending on Tensorflow is staggering. Its not just t-shirts, but an entire ecosystem - TensorBoard.dev, Tensorflow Privacy, TF Enterprise, Explainable AI Beta, free TPU on Google Colab etc.<p>And all of them will soon be backed using Tensorflow Swift (<a href="https://www.tensorflow.org/swift" rel="nofollow">https://www.tensorflow.org/swift</a>). This is MNIST for Swift Tensorflow  - <a href="https://github.com/tensorflow/swift-models/blob/master/Datasets/MNIST/MNIST.swift" rel="nofollow">https://github.com/tensorflow/swift-models/blob/master/Datas...</a> . Mind you this is runnable on Google Colab using <i>TPU hardware acceleration</i> in swift.<p>Swift vs Rust is a very political thing...but previous discussions on HN have been tilted in favor of Swift [1]<p>And we havent even touched on the elephant in the Room - Swift may soon hook into OSX Metal (which is arguably the <i>only</i> way to do GPU AI on macbooks now that the nvidia-Apple CUDA divorce is official [2] ). You can already call Metal from Swift...but not write shaders directly IMHO.<p>[1] <a href="https://cloud.google.com/explainable-ai/" rel="nofollow">https://cloud.google.com/explainable-ai/</a><p>[2] <a href="https://gizmodo.com/apple-and-nvidia-are-over-1840015246" rel="nofollow">https://gizmodo.com/apple-and-nvidia-are-over-1840015246</a>