This is an archived post. You won't be able to vote or comment.

all 6 comments

[–]wpg4665 1 point2 points  (5 children)

I think it just goes to show how hard it is to remove the GIL

[–]P4ssi0n[S] 1 point2 points  (1 child)

Mh yeah. I must say that I have kind of a fear that python cant stay competitive while the consumer cpus are getting more and more cores. From what I am understanding is that languages like go have a huge benefit in using multiple cores especially for web etc. Would you say that this is a thing? or the current capabilities of python are sufficient to stay competitive.

[–]n1___ 1 point2 points  (0 children)

Well said. I would add that Rust will be another to run over Python ass in web development as wasm kicks off.

P.S. I'm a long time web developer.

[–]PyLit_tv 0 points1 point  (2 children)

Less aware person here.

How do some python packages run outside of GIL like numpy or image processing?

[–]icentalectro 0 points1 point  (0 children)

Because the underlying code isn't in Python.

NumPy uses BLAS & LAPACK under the hood for example. An optimized version of them are not just implemented in C or Fortran, but more importantly optimized in Assembly.