4 ms·
> This is a Python library, not a programming language. Seems like a misnomer. From https://docs.taichi-lang.org/docs https://docs.taichi-lang.org/docs: >
by pengaru 4y ago
> This is a Python library, not a programming language. Seems like a misnomer.
From https://docs.taichi-lang.org/docs https://docs.taichi-lang.org/docs:
> Taichi is a domain-specific language (DSL) embedded in Python.
...
> Taichi scope vs. Python scope:
>
> Everything decorated with @ti.kernel and @ti.func is in the Taichi scope and
> hence will be compiled by the Taichi compiler. Everything else is in the Python scope.
- leshenka 4y agotheir prime example of julia set though is just some @decorators and functions such as ti.Vector, ti.GUI. I don't see any particular changes to syntax. I see that they're doing some fancy native stuff under the hood, but so do numpy and other CV/AI libraries. What they do is compile Python code in a different way, I guess?