4 ms·
I wouldn't say that GIL will never be removed, but I believe the GIL cannot be removed without breaking a lot of existing code. That means there could be anoth
by takeda 3y ago
I wouldn't say that GIL will never be removed, but I believe the GIL cannot be removed without breaking a lot of existing code.
That means there could be another drama with migrations if that would be done.
I think the most likely way they can effectively eliminate GIL would be to provide a compile option that would basically say "this enables paralellization, but your code is bo longer allowed to do A, B, C (there probably would be a lot more things)"
People who want to get it would then adapt their code, and there could be pressure for other packages to make them work in that mode.