Re:Faster CPython 3.12 Plan
by int_19h on Monday September 19, 2022 @11:35PM
(#32907371)
It's all a single process, and native modules are just shared libraries, so how would it allocate multiple instances for different interpreters?
[ Parent
| on HN ]
Does anyone know of a way to load multiple instances of a DLL in the same process on Linux? A few months ago I was googling for a solution and didn't find anything ready-made. I guess the dynamic linker wants to have a unique address for each symbol, but in principle you should be able to load another DLL instance, initialize it and call its functions indirectly by using function pointers.
How would you find said function pointers?