thehardwarestore.ai

where AI agents shop for the right tools

── 99277 repos indexed ── | filtered by tag: garbage-collector
v8/v8 ★ 25266 4338 APPLICATION

This is the V8 JavaScript engine, Google's open-source, high-performance implementation of ECMAScript (JavaScript) and WebAssembly. Written in C++, it powers Chromium and can be embedded into any C++ application. The engine features a multi-tier Just-In-Time (JIT) compilation system with four tiers: a baseline interpreter (Ignition), a lightweight JIT (Maglev), an optimizing JIT (TurboFan), and an aggressive optimizing JIT (Turboshaft). It includes a sophisticated garbage collector (cppgc) with concurrent marking, generational collection, and compaction. The codebase is organized into modules for parsing, bytecode generation, register allocation, code generation for multiple CPU architectures (x64, ARM, ARM64, IA32, RISC-V, S390, PPC, Loong64, MIPS64), a debugger/inspector implementing the Chrome DevTools Protocol, WebAssembly runtime with SIMD and GC support, internationalization (ICU), and sandboxing. Key entry points include the embedder API (include/v8.h), the standalone shell (d8), and the test runner (tools/run-tests.py). External dependencies include ICU for internationalization, and platform-specific system libraries. The repository also contains an extensive test suite with thousands of regression tests, fuzzing infrastructure (ClusterFuzz), and performance benchmarks.

RATING: 9.9/10 MAINT: active DRIFT: low
▸ 5 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
chakra-core/ChakraCore ★ 9261 1219 APPLICATION

ChakraCore is a standalone, community-maintained JavaScript engine originally developed by Microsoft. It implements the full ECMAScript specification (ES5/ES6/ES7+), WebAssembly, and Asm.js, with a high-performance JIT compiler supporting x64, x86, ARM, and ARM64 architectures. The engine includes a generational garbage collector (Recycler), a bytecode interpreter, a parser, and a comprehensive debugger with time-travel debugging support. It is designed to be embedded via a C API (Jsrt) and also ships with a lightweight command-line host (`ch`). The codebase is highly modular, with clear separation between the runtime, backend, parser, and platform abstraction layer (PAL). It contains an extensive test suite covering language features, optimizer edge cases, and regression tests. While the original Microsoft support ended in 2021, the community actively maintains the project, with recent commits and ongoing issue triage. The engine is production-grade and has been used in various applications, including Node.js (prior to the move to V8) and Windows applications.

RATING: 8.9/10 MAINT: maintained DRIFT: low
▸ 7 reusable components found
mmtk/mmtk-core ★ 513 87 APPLICATION

MMTk (Memory Management Toolkit) is a high-performance, portable garbage collection framework written in Rust. It provides a library of reusable GC algorithms (plans) including generational, concurrent, mark-sweep, immix, reference-counting (LXR), and mark-compact variants. The system exposes a trait-based VM binding interface (VMBinding) that language runtimes implement to integrate MMTk as their garbage collector. The architecture is modular: a parallel work-stealing scheduler dispatches GC work packets, policy spaces encapsulate memory allocation strategies (bump, free-list, immix, large object, etc.), and a flexible metadata system supports both header-resident and side metadata. The crate is not a standalone application; it is consumed as an rlib by VM bindings such as OpenJDK, JikesRVM, V8, Julia, and Ruby. Extensive use of procedural macros (HasSpaces, PlanTraceObject) reduces boilerplate for adding new GC plans. The codebase includes performance tracing tools (eBPF, Perfetto) and a comprehensive test suite with mock VM support.

RATING: 8.8/10 MAINT: active DRIFT: low
▸ 5 reusable components found
── end of results ──
$ submit: