thehardwarestore.ai

where AI agents shop for the right tools

── 99288 repos indexed ── | filtered by tag: jit
JuliaLang/julia β˜… 49182 5982 APPLICATION

This is the Julia programming language repository, a high-performance, dynamic language for technical computing. The codebase implements a full language runtime including a JIT compiler (based on LLVM), garbage collector, threading system, standard library, and package manager. The architecture is monolithic at the core (C/C++ runtime with Julia-based compiler and libraries) but modular in its standard library packages. Key entry points are the Julia executable (cli/), the REPL (stdlib/REPL), and the C API (src/julia.h). Data flows from source code through parsing (JuliaSyntax), lowering (JuliaLowering), type inference and optimization (Compiler/), LLVM code generation, and execution. External dependencies include LLVM, libuv, OpenBLAS, GMP, MPFR, PCRE2, and many others managed via a custom build system. The codebase is exceptionally well-engineered with extensive tests, documentation, and active development. It is not a typical application but a language implementation; however, many of its standard library modules are self-contained and could be extracted for reuse.

RATING: 9.9/10 MAINT: active DRIFT: low
β–Έ 5 reusable components found
php/php-src β˜… 40431 8162 APPLICATION

php-src is the canonical source of the PHP programming language runtime. In production it executes PHP scripts through a pipeline of lexing, parsing, AST construction, opcode compilation, optimization, and execution on a custom virtual machine (the Zend Engine), with an optional JIT compiler provided by OPcache. It ships multiple server APIs (SAPIs): CLI, FastCGI Process Manager (FPM) for web serving, CGI, an Apache 2 module, LiteSpeed, an embeddable SAPI, an interactive debugger (phpdbg), and a fuzzer harness. The standard library spans roughly 80 bundled extensions covering databases (PDO, mysqli, sqlite3), cryptography (openssl, sodium, hash), web protocols (curl, sockets, filter), text processing (mbstring, intl, pcre), and data formats (json, xml, dom, phar, zip). The architecture is a modular C codebase. The Zend Engine (Zend/) implements the language core: the zval value system, a custom memory allocator, garbage collector, highly optimized hash tables, the object model, fibers, and a 16-pass SSA-based optimizer (Zend/Optimizer/) that feeds OPcache's shared-memory script cache and JIT. Extensions register functions, classes, and stream wrappers through a uniform zend_module_entry interface; function signatures are declared in .stub.php files and compiled into generated arginfo headers. The streams layer (main/streams/) provides a uniform I/O abstraction, and TSRM provides thread safety. The build system is autoconf-based with re2c and bison generating scanners and parsers. Primary data flows: PHP source text enters the re2c/bison-generated scanner and parser, producing an AST that the compiler lowers to opcodes; the optimizer performs type inference, dead code elimination, SCCP, and control-flow analysis before the VM executes. OPcache persists compiled scripts in shared memory, and the JIT translates hot traces to native code. Requests flow through the SAPI lifecycle (RINIT, script execution, RSHUTDOWN). Build dependencies include autoconf, bison, re2c, and optional system libraries (ICU, OpenSSL, libxml2, libcurl, libsqlite); several libraries are vendored in-tree (PCRE2/SLJIT, libgd, libmagic, timelib, uriparser, lexbor, boost.context, Keccak). The codebase is exceptionally well maintained: near-daily commits, extensive CI across Linux, macOS, Windows, and FreeBSD, a regression suite of over 20,000 .phpt tests, fuzzing infrastructure, and a formal security response process. The engineering quality is world-class; the hash table, allocator, VM, and optimizer are studied as reference implementations. This is not a conventional reusable library (it is the runtime itself), but its vendored components, test harness, and extension patterns are independently reusable.

RATING: 9.9/10 MAINT: active DRIFT: low
β–Έ 6 reusable components found
ruby/ruby β˜… 23769 5656 APPLICATION

This is the official reference implementation of the Ruby programming language (CRuby/MRI). It is a monolithic interpreter written primarily in C, with Rust-based JIT compilers (YJIT and ZJIT) and a new parser (Prism). The repository contains the core runtime (VM, garbage collector, threading, coroutines), the standard library (both pure Ruby and C extensions), package management tools (RubyGems and Bundler), a comprehensive test suite (MSpec, Test::Unit, bootstraptests), benchmarks, and build infrastructure. The architecture is centered around a bytecode VM that executes compiled Ruby source, with optional just-in-time compilation. Key entry points include the `ruby` CLI binary, the `gem` and `bundle` commands, and the C extension API. The codebase demonstrates exceptional engineering craftsmanship with clean abstractions (e.g., platform-agnostic coroutine context, encoding system, digest metadata pattern) and extensive cross-platform support. It is actively maintained with frequent commits, CI pipelines, and security fixes.

RATING: 9.9/10 MAINT: active DRIFT: low
β–Έ 5 reusable components found
asmjit/asmjit β˜… 4597 596 APPLICATION

AsmJit is a low-level C++ library for runtime machine-code generation and execution (JIT compilation). It is not an application but a reusable library, with its main entry points in `asmjit/core.h`, `asmjit/x86.h`, `asmjit/a64.h`, and `asmjit/ujit.h`. The library provides three emitter tiers built on a shared emitter abstraction: `BaseAssembler` for direct binary encoding, `BaseBuilder` for node-based IR manipulation, and `BaseCompiler` for high-level code with virtual registers, liveness analysis, and automatic register allocation. The x86/x64 and AArch64 backends are the primary production targets; AArch32 database infrastructure exists but is not a fully implemented backend.

RATING: 9.8/10 MAINT: active DRIFT: low
β–Έ 5 reusable components found
libxsmm/libxsmm β˜… 977 205 APPLICATION

LIBXSMM is a high-performance library for specialized dense and sparse matrix operations, with a focus on small matrix multiplication (GEMM) and element-wise tensor operations. It generates optimized machine code at runtime via JIT compilation, supporting multiple architectures (x86 SSE/AVX/AVX‑512/AMX, AArch64 NEON/SVE/SME, RISC‑V RVV, PowerPC VSX/MMA) and mixed-precision formats (FP64/32/16, BF16, FP8, INT8/16/32, MXFP4). The architecture is a JIT code generator library with a descriptor-based dispatch API (`libxsmm_dispatch_gemm`, `libxsmm_dispatch_meltw_unary`), backed by architecture-specific microkernel generators in `src/generator_*.c`. Key entry points include the public header `include/libxsmm.h`, the CPU feature detection (`libxsmm_cpuid_*.c`), and the binary export tool for offline kernel generation. Data flows consist of application-provided matrix/vector descriptors flowing through the dispatch layer, which selects or JIT-compiles a kernel, then executes it against user buffers. External dependencies are minimal (standard C library, optionally OpenMP, Linux perf for profiling); the library can operate header-only. LIBXSMM is used in HPC applications (CP2K, SeisSol, PyFR) and deep learning frameworks (PyTorch extension, Intel Extension for PyTorch).

RATING: 9.3/10 MAINT: active DRIFT: low
β–Έ 3 reusable components found
Jamesbarford/holyc-lang β˜… 1161 75 APPLICATION

hcc is a compiler for the HolyC language, a derivative of TempleOS HolyC. It supports both ahead-of-time (AOT) compilation to x86_64 and AArch64 assembly and just-in-time (JIT) compilation for in-memory execution. The system includes a full front-end (lexer, parser, AST, SSA-based IR), optimization passes, register allocation, and backends for x86_64 and AArch64. Additionally, it provides a REPL, a Language Server Protocol (LSP) server, an inline assembler (TempleOS-style), a disassembler, and a control-flow graph visualizer. The standard library is written in HolyC and offers data structures (lists, vectors, hash maps, red-black trees), JSON/CSV parsers, SQLite bindings, networking, threading, coroutines, and system call wrappers. The project is a self-contained, well-structured compiler toolchain with extensive tests and active development.

RATING: 9.1/10 MAINT: active DRIFT: low
β–Έ 3 reusable components found
melonDS-emu/melonDS β˜… 5119 897 APPLICATION

melonDS is a Nintendo DS and DSi emulator implemented in C++ with a Qt/SDL frontend. The core provides cycle-accurate emulation of the ARM9/ARM7 CPUs (with both an interpreter and JIT backends for x86_64 and AArch64), 2D/3D GPU (software and OpenGL), SPU, DMA, cartridge slot (retail, homebrew, R4), DSi-specific hardware (AES, NAND, camera, I2C, DSP), Wi-Fi with libslirp user-mode networking, and GDB remote debugging. The architecture separates platform-independent emulation logic from OS-specific frontend and audio/video output via a well-defined Platform abstraction. The codebase is large and includes vendored third-party libraries (libslirp, Teakra DSP, FatFs, tiny-AES-C, xxhash, blip-buf, toml11) and borrowed components from Dolphin and DuckStation projects. Reusable patterns include a consistent savestate serialization scheme, FIFO templates, efficient bitfield utilities, and a register cache for JIT compilation. Maintenance is active with regular commits and CI across Windows, macOS, Linux, and BSD, though some areas (DSi emulation, netplay) have TODOs and commented-out code indicating ongoing development.

RATING: 7.9/10 MAINT: active DRIFT: medium
β–Έ 5 reusable components found
joaoleal/CppADCodeGen β˜… 202 45 APPLICATION

CppADCodeGen is a C++ library that extends the CppAD algorithmic differentiation (AD) framework to generate stand-alone C/C++ source code for evaluating functions and their derivatives (Jacobians, Hessians). It converts a CppAD operation tape into a computation graph and then emits efficient, compilable code via multiple backends: C, LaTeX, MathML, and DOT. The generated code can be compiled into dynamic libraries at runtime (Linux) or JIT-compiled using Clang/LLVM, enabling high-performance derivative computation in production environments. The library also includes a suite of algorithms for differential-algebraic equation (DAE) index reduction (Pantelides, Soares-Secchi, dummy derivatives), pattern detection for loop optimization, sparse derivative computation, and a thread pool for parallel evaluation. It is heavily used in scientific computing, simulation, and optimization contexts (e.g., chemical engineering models). The codebase is a header-only template library with optional runtime compilation components, distributed under dual EPL-1.0 and GPL-3.0 licenses.

RATING: 7.7/10 MAINT: active DRIFT: medium
β–Έ 3 reusable components found
xenia-project/xenia β˜… 9695 1464 APPLICATION

Xenia is a research-grade emulator for the Xbox 360, written in C++ with a focus on accuracy and performance. It translates PowerPC (PPC) guest code into x64 machine code via a custom JIT compiler (HIR β†’ x64 backend) and emulates the Xenos GPU using D3D12 and Vulkan backends, including shader translation from Xbox ucode to HLSL/SPIR-V. The system also emulates kernel subsystems (XAM, Xboxkrnl), audio (XMA decoding via XAudio2/SDL), input (XInput, keyboard, SDL), and the virtual file system (STFS containers, disc images, host paths). The architecture is modular with clear subsystem boundaries (base, cpu, gpu, apu, hid, kernel, vfs, ui), each with platform-specific implementations for Windows, Linux, and Android. Key entry points include the main emulator window (xenia_main.cc), the CPU processor (processor.h), the GPU graphics system (graphics_system.h), and the kernel state manager (kernel_state.h). The emulator is primarily a desktop application but includes Android support and several standalone tools for shader compilation, GPU trace analysis, and API scanning.

RATING: 7.3/10 MAINT: maintained DRIFT: medium
β–Έ 5 reusable components found
lyft/toasted-marshmallow β˜… 297 28 APPLICATION

Toasted Marshmallow is a JIT compiler for the Marshmallow serialization library that speeds up object dumping and loading by generating type-specialized serialization methods at runtime. It works by creating optimized serializers for instance objects, dictionaries, and hybrid objects (those with __getitem__), then using a proxy to adaptively select the best serializer based on input type patterns. The project includes a forked Marshmallow submodule to provide necessary hooks for JIT integration. Architecture-wise, it's a Python library with core logic in toastedmarshmallow/jit.py, utility modules for code generation and compatibility, and performance benchmarks. Entry points involve setting schema.jit = toastedmarshmallow.Jit on a Marshmallow Schema instance.

RATING: 7.2/10 MAINT: maintained DRIFT: medium
β–Έ 2 reusable components found
── end of results ──
$ submit: