Hacker News new | ask | show | jobs
by axi1 2002 days ago
https://docs.python.org/3/library/array.html
1 comments

My point exactly. The "array" class cannot be implemented in Python.
Uhh, so: Python has a language library feature that allows creating contiguous arrays, and hence it cannot be done in Python. Ok.

// Pretty much the entirety of CPython is written in C, including lists, dicts and everything else, not much different than the array.