logoalt Hacker News

hk1337today at 4:09 PM3 repliesview on HN

Why not just run C inside of Python?


Replies

saghmtoday at 4:12 PM

For the same reasons someone might prefer Rust to C in general; safety, ergonomics, etc. If you want to write C in Python, nothing is stopping you.

simonwtoday at 4:33 PM

Because you want to use other existing libraries that are written in Rust.

the__alchemisttoday at 4:16 PM

You can do that too. I generally prefer rust as it's a nice lang to work with.

show 1 reply