↓ Skip to main content

“Taichi can run on both CPU and GPU, while Python runs on CPU.”

Yuanming Hudocs.taichi-lang.org ↗

Counting primes under 10 million takes Python about 55 seconds. Taichi does it in 0.8 seconds, or 0.45 on a GPU. The benchmarks are tight loops, the one thing Python is famously worst at. Every Python speedup story is really a story about not running Python.