News for hackers. Stuff that matters.
Re:A Python Interpreter Written in Rust by lykr0n on Saturday February 02, 2019 @12:50PM (#19064430)
From my limited experience with Rust, having support for C-based libraries shouldn't be too hard to do- as Rust (like Go) has support for embedding C. I'm not sure how portable the solution would be- I would guess you would need to compile the VM with the modules you want baked in.

I think not having support for C modules would hamper long term adoption. I would absolutely love to adopt this for my stuff, but off the top of my head- I use uvloop and confluent-Kafka, both of which are largely written in in C. Moving away from those would be hard-ish.

Re:A Python Interpreter Written in Rust by weberc2 on Saturday February 02, 2019 @01:26PM (#19064666)
Calling into and out of C (whether dynamically or statically linked) isn't the hard part; the hard part is implementing the somewhat arbitrary interface against which C extensions are written in a way that is functionally compatible with CPython without losing the advantages of not being CPython.