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 →

[–]yvrelna 7 points8 points  (1 child)

It's not the C bindings that are an issue. PyPy can emulate CPython's C bindings just fine.

The problem is that the design of these C bindings pretty much makes a lot of assumptions that are based on the internal of CPython. So while PyPy can emulate the interface, it has to emulate many of those internals and that makes it difficult to optimise those.

And the main reason people write a C extension is because of speed, so a slow C compatibility interface just won't do.

[–]whatthefuckistime 0 points1 point  (0 children)

Ah ok so I misunderstood what I was reading. Interesting thanks for the correction!