2 ms·
Yeah, Python is "theoretically" easy to embed, that's why it uses the GIL In practice, it is hard to embed and we get the GIL disadvantages, so that is not wor
by raverbashing 5y ago
Yeah, Python is "theoretically" easy to embed, that's why it uses the GIL
In practice, it is hard to embed and we get the GIL disadvantages, so that is not working out so fine.
- evgen 5y agoThe GIL is less about python being easy to embed, than it is about embedding other libraries into python. The GIL was set up to make it easy to wrap C code and expose it to python code. A task for which it served quite well at the time and to be honest lasted longer than I would have expected.