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
Post a Comment