The thesis aims to analyze the performance of the main alternative implementations to CPython, the official Python interpreter, and compare them in terms of execution time and compatibility with standard Python code. The PyPy, Codon, Nuitka, Cython and Shed Skin implementations were analyzed using benchmarks taken from Codon's GitHub repository. The results show that alternative implementations can offer significant performance improvements over CPython, but also have some limitations in term of compatibility with standard Python code.
La tesi ha lo scopo di analizzare le performance delle principali implementazioni alternative a CPython, l'interprete ufficiale di Python, e di confrontarle in termini di tempo di esecuzione e compatibilità con il codice Python standard. Sono state analizzate le implementazioni PyPy, Codon, Nuitka, Cython e Shed Skin, utilizzando benchmark presi dal repository GitHub di Codon. I risultati mostrano che le implementazioni alternative possono offrire significativi miglioramenti delle performance rispetto a CPython, ma presentano anche alcune limitazioni in termini di compatibilità con il codice Python standard.
Python ad alte prestazioni: implementazioni a confronto
NARDIN, LORENZO
2024/2025
Abstract
The thesis aims to analyze the performance of the main alternative implementations to CPython, the official Python interpreter, and compare them in terms of execution time and compatibility with standard Python code. The PyPy, Codon, Nuitka, Cython and Shed Skin implementations were analyzed using benchmarks taken from Codon's GitHub repository. The results show that alternative implementations can offer significant performance improvements over CPython, but also have some limitations in term of compatibility with standard Python code.| File | Dimensione | Formato | |
|---|---|---|---|
|
Nardin_Lorenzo.pdf
accesso aperto
Dimensione
807.22 kB
Formato
Adobe PDF
|
807.22 kB | Adobe PDF | Visualizza/Apri |
The text of this website © Università degli studi di Padova. Full Text are published under a non-exclusive license. Metadata are under a CC0 License
https://hdl.handle.net/20.500.12608/92212