News for hackers. Stuff that matters.
Re:Lua: Good, Bad, and Ugly Parts (2012) by raverbashing on Monday December 27, 2021 @05:23AM (#29701226)
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.

Re:Lua: Good, Bad, and Ugly Parts (2012) by evgen on Monday December 27, 2021 @08:22AM (#29702267)
The 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.