On 20 Jul 2022, at 18:09, Tianhe <ptq008@gmail.com> wrote:
Python by default builds the library `libpythonMAJOR.MINOR.a` and statically links it into the interpreter. Also it has an `--enable-shared`, (https://docs.python.org/3/using/configure.html#cmdoption-enable-shared) flag, which will build a shared library `libpythonMAJOR.MINOR.so.1.0`, and dynamically link it to the interpreter.
Are there any benefits of a shared build python, compared to a static build python? Is there any performance difference?
I found a related question on SO and is it like he said ( https://stackoverflow.com/a/73035776/5983841), shared built vs statically built python only affects the "Embedding Python in Another Application" scenario ?
--
Regards,
Micky
--
https://mail.python.org/mailman/listinfo/python-list
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 293 |
Nodes: | 16 (2 / 14) |
Uptime: | 218:57:29 |
Calls: | 6,621 |
Calls today: | 3 |
Files: | 12,171 |
Messages: | 5,317,788 |