python - How can an interpretive language avoid using Global Interpreter lock (GIL)? -


cpython uses global interpreter lock. linux has removed traces of big kernel lock. alternative these locks? how can system make full use of multi-core or multi-processor system without grinding halt?

a gil wouldn't necessary if python used more advanced garbage collector ibm's recycler instated of primitive reference counting method. unladen swallow doing improve performance of python. more prommising answer stackless python, uses own micro-thread implementation instead of relying on operating system traditional cpython.


Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

android - layout with fragment and framelayout replaced by another fragment and framelayout -