News for hackers. Stuff that matters.
Re:Faster CPython 3.12 Plan by unnah on Tuesday September 20, 2022 @02:12AM (#32908261)
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.
Re:Faster CPython 3.12 Plan by LtWorf on Tuesday September 20, 2022 @02:34AM (#32908439)
How would you find said function pointers?
Re:Faster CPython 3.12 Plan by misnome on Tuesday September 20, 2022 @02:57AM (#32908566)
dlsym and RTLD_LOCAL ?