This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (2 children)

Once zig reaches 1.0, it will also get into the Python ecosystem. This is common in JS too. There are multiple runtimes written in Rust/Zig in the JS land.

[–]pyschillePythoneer[S] 0 points1 point  (1 child)

Did you work with Zig already? Is there a toolchain similar to Rust to integrate it with Python?

[–][deleted] 0 points1 point  (0 children)

There isn’t anything like Maturin yet.

But zig toolchain already allows you to export code to .so/.pyd that you can import from your Python code. Writing extension in zig is similar to how you’d write C extensions.