6 个仓库
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 是一个即时(JIT)编译器,可在运行时将高级 Python 函数转换为优化的机器码。通过利用 LLVM 编译器基础设施,它提供了一个加速数值数据处理和数学计算的框架,使性能水平可与静态编译语言相媲美。 该项目通过其基于类型推断的特化能力脱颖而出,它能生成针对执行期间使用的特定数据类型量身定制的机器指令。它采用延迟编译流水线,将转换推迟到调用时刻,从而在保持跨不同处理器架构和操作系统的一致性能的同时,最大限度地减少启动开销。 除了核心编译外,该工具包还通过将迭代操作和数组表达式分布到多个 CPU 核心和图形处理器上,提供了对硬件加速的广泛支持。它利用向量化和并行化策略来最大限度地提高大规模数值数据集的吞吐量,使开发人员能够直接从标准代码中针对专用硬件进行优化。
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 是一个高性能 Python 语言实现和 JIT 编译器。它作为一个运行时环境,在执行 Python 代码的同时保持与标准语言规范的兼容性。 该项目通过在程序执行期间将 Python 字节码转换为原生机器代码来加速执行。它利用多级编译管线和自适应执行优化,根据运行时行为从解释过渡到编译代码。此实现保持与标准 Python C API 的二进制兼容性,以支持原生扩展。 该运行时包括用于性能优化和基准测试的工具,包括在编译层和解释器模式之间切换的能力。它提供监控和可观测性功能,如内部统计导出和用于诊断日志记录和执行分析的可配置运行时详细程度。
Bypasses interpreted execution overhead by translating dynamic Python code into optimized machine code.