logoalt Hacker News

What Every Python Developer Should Know About the CPython ABI

49 pointsby matt_dlast Saturday at 6:39 PM4 commentsview on HN

Comments

whinviktoday at 5:22 PM

Thanks. I heard the word ABI so many times but only finally understood it after reading this blog.

On another topic, I also feel like quansight blog is usually a high quality resource for Python related stuff. Usually its more for numpy/scipy kind of stuff, but this one is an example of more general Python related stuff.

voidUpdatetoday at 2:56 PM

> import numpy

> np.array([1,2])

NameError: name 'np' is not defined

I think the article probably wanted "import numpy as np"

show 1 reply
auntienomentoday at 4:34 PM

Glad to see that Cython got a shout out here. It's not that widely used, but it's a lovely experience. It uses the CPython ABI to drastically reduce the friction of switching between C & Python.

21gafgtoday at 3:07 PM

[dead]