4 ms·
I'm on a quest to find a statically typed Python with pattern matching, overloading, and friends BUT will allow me to use either PyTorch or Tensorflow (or JAX).
by jszymborski 2y ago
I'm on a quest to find a statically typed Python with pattern matching, overloading, and friends BUT will allow me to use either PyTorch or Tensorflow (or JAX).
I think Nim is close, but every attempt to wrap PyTorch dies a miserable death somewhere along the line.
- pansa2 2y agoSounds like you're looking for... Python? It has tools for checking static types (and the language community strongly encourages their use). Pattern matching was added in version 3.10.
- electron826 2y agoHave a look at Swift, it's practically that. There even used to be official TensorFlow bindings (they wanted to make it their default language) although that got cancelled.
- melodyogonna 2y agoSounds like Mojo