6 dépôts
Compilers that translate dynamic code into optimized machine code to bypass interpreted execution overhead.
Distinct from Python: Distinct from general language resources: focuses on the performance-oriented translation to machine code.
Explore 6 awesome GitHub repositories matching programming languages & runtimes · Execution Performance Optimizers. Refine with filters or upvote what's useful.
Codon is an LLVM-based Python compiler and statically typed implementation that translates source code into optimized machine instructions. It functions as a high-performance numerical backend and a GPU computing framework designed to remove runtime overhead. The project implements a compiled alternative to NumPy, translating array logic directly into machine code. It differentiates itself by generating specialized hardware kernels for graphics processors and utilizing static type inference to enable aggressive machine-code optimization. The system provides capabilities for parallel workload
Translates Python source code into optimized machine code to bypass interpreted execution overhead.
Nuitka is a compilation framework that translates Python source code into C, enabling the creation of standalone machine code binaries. By converting interpreted scripts into compiled executables, it removes the requirement for a language interpreter on the target machine and provides a mechanism for distributing Python applications as self-contained packages. The project distinguishes itself through advanced optimization techniques, including link-time code generation and profile-guided binary optimization, which improve execution speed by bypassing standard interpreted overhead. It manages
Translates source code into compiled binaries to improve execution speed and bypass the overhead of standard interpreted execution.
Numba est un compilateur juste-à-temps (JIT) qui traduit des fonctions Python de haut niveau en code machine optimisé lors de l'exécution. En tirant parti de l'infrastructure de compilation LLVM, il fournit un framework pour accélérer le traitement des données numériques et les calculs mathématiques, permettant des niveaux de performance comparables aux langages compilés statiquement. Le projet se distingue par sa capacité à effectuer une spécialisation basée sur l'inférence de type, qui génère des instructions machine adaptées aux types de données spécifiques utilisés lors de l'exécution. Il emploie un pipeline de compilation paresseuse qui diffère la traduction jusqu'au moment de l'invocation, minimisant la surcharge au démarrage tout en maintenant des performances constantes sur diverses architectures de processeurs et systèmes d'exploitation. Au-delà de la compilation de base, le toolkit offre un support étendu pour l'accélération matérielle en distribuant les opérations itératives et les expressions de tableaux sur plusieurs cœurs CPU et unités de traitement graphique. Il utilise des stratégies de vectorisation et de parallélisation pour maximiser le débit pour les grands jeux de données numériques, permettant aux développeurs de cibler du matériel spécialisé directement depuis du code standard.
Translates high-level mathematical functions into machine code at runtime to achieve native-like execution speeds.
Cython is a compiler that translates Python code into C or C++ to create high-performance extension modules. It functions as a static typing optimizer and a C extension generator, allowing developers to declare C types within Python code to reduce interpreter overhead and increase execution speed. The project enables the wrapping of external C libraries to provide high-level interfaces to low-level system capabilities. It also serves as a native binary packager, capable of freezing scripts and their dependencies into standalone executable binaries for distribution. The system covers a broad
Converts Python code into C extensions to increase execution speed and reduce runtime overhead for compute-intensive tasks.
ChakraCore is an embeddable JavaScript engine and high-performance scripting runtime. It provides a just-in-time compiler that converts JavaScript source code into optimized machine code during runtime to increase execution speed and throughput. The engine utilizes a multi-tiered compilation pipeline and tiered machine code generation to balance startup time with execution speed. Memory is managed via a concurrent garbage collector that reclaims unreachable objects on background threads to minimize application pauses. The project provides capabilities for embedded JavaScript execution and au
Optimizes execution speed by translating JavaScript source into high-performance machine code via JIT.
Pyston est une implémentation du langage Python haute performance et un compilateur JIT. Il fonctionne comme un environnement d'exécution qui exécute du code Python tout en maintenant la compatibilité avec la spécification standard du langage. Le projet accélère l'exécution en traduisant le bytecode Python en code machine natif pendant l'exécution du programme. Il utilise un pipeline de compilation à plusieurs niveaux et une optimisation d'exécution adaptative pour passer de l'interprétation au code compilé en fonction du comportement à l'exécution. Cette implémentation maintient la compatibilité binaire avec l'API C Python standard pour prendre en charge les extensions natives. Le runtime inclut des outils pour l'optimisation des performances et le benchmarking, incluant la capacité de basculer entre les niveaux de compilation et les modes d'interprète. Il fournit des fonctionnalités de monitoring et d'observabilité telles que l'exportation de statistiques internes et une verbosité de runtime configurable pour le logging de diagnostic et l'analyse d'exécution.
Bypasses interpreted execution overhead by translating dynamic Python code into optimized machine code.