News for hackers. Stuff that matters.
Re:Swift UTF-8 String by ilovecaching on Friday March 22, 2019 @12:48AM (#19459702)
I don't expect that will do very well. ML is already crowded, and Python is already solidly at the top. Having worked in ML myself, no one would switch if it meant dealing with a real statically typed language they could hack away at easily in a repl or jupyter notebooks, or access mypy, numpy, scikit, etc. ML is an ecosystem of tools that are all in Python currently.
Re:Swift UTF-8 String by jimmy_dean on Friday March 22, 2019 @01:23AM (#19459842)
Just a side-note. Swift comes with an repl and has support in Jupyter and Google Colab for whatever that's worth. As you mentioned the numerical computing ecosystem is just not anywhere close to Python or even Julia. There is a silver lining in that Swift has pretty decent Python interoperability.
Re:Swift UTF-8 String by orbifold on Friday March 22, 2019 @08:22AM (#19461827)
In Swift you can just write

import Python

var np = Python.import(“numpy”)

And can then use numpy as you would normally. Same goes for plotting.