←back to thread

490 points jarmitage | 1 comments | | HN request time: 0.204s | source
Show context
raytopia ◴[] No.40681705[source]
I love how many python to native/gpu code projects there are now. It's nice to see a lot of competition in the space. An alternative to this one could be Taichi Lang [0] it can use your gpu through Vulkan so you don't have to own Nvidia hardware. Numba [1] is another alternative that's very popular. I'm still waiting on a Python project that compiles to pure C (unlike Cython [2] which is hard to port) so you can write homebrew games or other embedded applications.

[0] https://www.taichi-lang.org/

[1] http://numba.pydata.org/

[2] https://cython.readthedocs.io/en/stable/

replies(8): >>40681794 #>>40681883 #>>40681919 #>>40682488 #>>40684037 #>>40685851 #>>40686919 #>>40693004 #
pjmlp ◴[] No.40684037[source]
I would rather that Python catches up with Common Lisp tooling in JIT/AOT in the box, instead of compilation via C.
replies(3): >>40684186 #>>40684624 #>>40686404 #
1. kazinator ◴[] No.40686404[source]
Python is designed from the ground up to be hostile to efficient compiling. It has really poorly designed internals, and proudly exposes them to application code, in a documented way and everything.

Only a restricted subset of Python is efficiently compilable.