4 ms·
The best libraries are in Python. > Curious that since a lot of things are popularly rewritten in Rust or Zig, why has this not happened on these types of proj
by jstx1 4y ago
The best libraries are in Python.
> Curious that since a lot of things are popularly rewritten in Rust or Zig, why has this not happened on these types of projects?
1. It's a lot of work and you need to good hardware support. There are lots of people putting in a lot of work into PyTorch, TensorFlow, JAX etc.
2. Some things have been rewritten, mostly as hobby projects.
3. Even if you rewrote most of this sutff, it would be likely be more difficult to use. Writing Rust is a completely different experience from writing Python + PyTorch/TensorFlow.
4. Zig is a thing only on HN and in similar mini-bubbles. Hardly anyone has even heard of Zig, let alone considering to rewrite anything in it.