3 ms·
> No barrier to entry for Python users: Taichi shares almost the same syntax as Python. Apply a single Taichi decorator, and your functions are automatically tu
by sh1mmer 4y ago
> No barrier to entry for Python users: Taichi shares almost the same syntax as Python. Apply a single Taichi decorator, and your functions are automatically turned into optimized machine code.
It looks super interesting except “almost the same syntax as Python” part here seems like such a foot gun for everything from IDE integration to subtle bugs and more.
I was super into the idea of a strict Python subset that gets JIT compiled inline based on just a decorator.
- zmgsabst 4y agoThat exists: Library: https://numba.readthedocs.io/en/stable/ https://numba.readthedocs.io/en/stable/ CUDA: https://numba.readthedocs.io/en/stable/cuda/index.html https://numba.readthedocs.io/en/stable/cuda/index.html Example: https://numba.readthedocs.io/en/stable/cuda/examples.html https://numba.readthedocs.io/en/stable/cuda/examples.html