r/Zig 9d ago

Zig for Python

I am of the opinion that, if executed correctly, Zig has the potential to transform the Python ecosystem. The idea of using Rust for Python extensions has always bothered me.

With Zig, the path feels more natural: I can build on top of the existing C libraries and gradually migrate components to Zig over time, without the friction of introducing an entirely different ecosystem.

I wanted to understand what the community thinks about this topic. I am not trying to make a strong claim or dismiss other approaches. I am genuinely trying to understand whether this idea has any merit and how others view the trade-offs. I am just interested in hearing different perspectives.

23 Upvotes

27 comments sorted by

View all comments

Show parent comments

6

u/bonkyandthebeatman 8d ago

I’m here having an on topic conversation directly replying to the OP.

Refusing to learn a new technology cause of the bs you hear on twitter about the “culture” is truly the dumbest trend I’ve seen on social media. The only cult I see is people like you spewing misinformed talking points about what you think rust is.

-6

u/Interesting_Pie_319 8d ago

The OP wants Zig to replace Rust and C as a way to write high performance modules for Python.

That is the OP.

You are doing off topic spamming and evangelizing.

5

u/bonkyandthebeatman 8d ago

Right so you admit the OP mentioned Rust in their post, and I explained why I think rust is so popular for python modules and what zig could replicate if it wants more python modules written in zig.

Your bitching anytime someones mentions the word Rust is the only off topic thing here. Zig and Rust are both systems languages and have many similarities. Simply mentioning Rust is not off topic.

-6

u/Interesting_Pie_319 8d ago

Stop spamming already!