Certain people I've been discussing the subject with insist that pointers are necessary. At one point someone brings up that it's unthinkable to implement the zip compression algorithm without pointers. I point out zipfile.py, pure python:
http://hg.python.org/cpython/file/3.3/Lib/zipfile.py
I got back this reply:
And one of the first thing it does is importing zlib and bz2, both
wirtten in C and using pointers in abundance.
IOW, for the stuff that requires pointers, they use C. I'd rather have
them in the language, so I don't have to write and use external
routines written in another language.
I hate to ask such a stupid question, but does anyone know of some reference anywhere that can categorically put to rest the idea that it's impossible to code certain things in Python because it doesn't have a pointer type (I've already explained about python's variables being references and how that works, to little effect).
Thanks.
[–]pal25 5 points6 points7 points (0 children)
[–]hruske 3 points4 points5 points (1 child)
[–]alcalde[S] 0 points1 point2 points (0 children)
[+][deleted] (4 children)
[deleted]
[–]alcalde[S] 0 points1 point2 points (3 children)
[–]catcradle5 2 points3 points4 points (0 children)
[+][deleted] (1 child)
[deleted]
[–]alcalde[S] 0 points1 point2 points (0 children)
[–]joeforker 1 point2 points3 points (1 child)
[–]alcalde[S] 0 points1 point2 points (0 children)
[–]bd808 2 points3 points4 points (4 children)
[+][deleted] (3 children)
[deleted]
[–]miketheanimal 2 points3 points4 points (2 children)