资讯

Write a C-interface library in Zig If all you want to do is write a Zig library that exposes C-style public interfaces and use that with Python, the process is incredibly simple.
The Cython library in Python lets you write Python code and convert it to C for speed, using C types for variables. Those variables can include NumPy arrays, so any Cython code you write can work ...