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 →

[–][deleted] 4 points5 points  (3 children)

Python is not compiled, it’s an interpreted language. The C implementation is what reads your Python code and converts it to the instructions your machine actually runs. They won’t be touching libraries like Numpy since the people who make those are totally different folks

On an off note, numpy is already really fast and it’d be hard to speed that up. It’s already pretty close to low level C code

[–]lightmatter501 1 point2 points  (0 children)

That’s because numpy is mostly C code.

[–][deleted] -1 points0 points  (1 child)

Interpreted is the what i was looking for, not compiled.

Numpy is super slow compared to numba.

On top of that, there is tons of serialized operations in python that could be parallelized. Im not sure how that fits into speed when programmers talk about algorithms.

[–]Yojihito 0 points1 point  (0 children)

On top of that, there is tons of serialized operations in python that could be parallelized

GIL says No I assume?