Top 1,000 Features Creators Resources Blog Explore Download
GitHub icon

Taichi

< >

Taichi is a programming language created in 2019 by Yuanming Hu.

Source code:
git clone https://github.com/taichi-dev/taichi
#287on PLDB 5Years Old

Productive & portable high-performance programming in Python.


Example from the web:
// For CPU Parallelize(int num_threads) // Multi-threading Vectorize(int width) // Loop vectorization // For GPU BlockDim(int blockDim) // Specify GPU block size // For scratchpad optimization AssumeInRange(Expr base, int lower, int upper) Cache(Expr) // Cache data into GPU L1 cache CacheL1(Expr) More discussions on h

Language features

Feature Supported Token Example
Comments ✓
// A comment
Line Comments ✓ //
// A comment
Semantic Indentation X

View source

- Build the next great programming language · About · Acknowledgements · Extensions · Day 625 · feedback@pldb.io