Hacker News new | ask | show | jobs
by orf 3298 days ago
I'm not a "smart alec" for pointing out that Python is, was and will be bad at heavily numerical, number crunching code. It's not what Python is built for.

I mean... it takes 28 bytes to store a single integer in Python.

> > sys.getsizeof(1)

> 28

2 comments

On PyPy, it can be many different sizes, including being completely optmized out. That is why PyPy has no sys.getsizeof
this is silly, python is used by some of the biggest number crunchers on earth ... as glue code. If you dont like the dual language paradigm and want fast code go learn fortran.
Glue code being the important word in that comment.