higherorderco/hvm1

HVM1 (2022): a massively parallel, optimal functional runtime in Rust

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 54 minutes ago
Added to GitGenius on September 16th, 2026
Created on January 3rd, 2022
Open Issues & Pull Requests: 0 (+0)
GitHub issues: Enabled
Number of forks: 438
Total Stargazers: 11,343 (+0)
Total Subscribers: 100 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 11.6 hours
Mean response time: 167.9 days
90th percentile: 830.0 days
Tracked items: 45

Most active contributors

Sign in to see contributor activity.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 0
New in 7 days: 0
Closed in 7 days: 44
Avg open age: N/A days
Stale 30+ days: 0
Stale 90+ days: 0

Recent activity

Opened in 7 days: 0
Closed in 7 days: 44
Comments in 7 days: 45
Events in 7 days: 89

Top labels

  • enhancement (13)
  • bug (6)
  • discussion (1)
  • documentation (1)

Detailed Description

HVM1 is a massively parallel functional runtime that executes functional programs on GPUs using optimal reduction techniques.

The project addresses the challenge of efficiently executing functional programs by implementing an optimal evaluator that reduces lambda calculus expressions without duplicating work. Rather than traditional graph reduction or bytecode interpretation, HVM1 uses interaction nets and optimal reduction, a theoretical approach that guarantees each redex is reduced exactly once. The runtime is written in Rust and targets CUDA-capable GPUs, enabling it to parallelize functional computation across thousands of GPU cores simultaneously.

Developers considering HVM1 should understand it targets a specific niche: those working with pure functional languages or research into optimal evaluation strategies who have access to CUDA hardware. The project suits experimental work in functional language implementation and exploration of how GPU parallelism can accelerate functional evaluation. It is not a general-purpose runtime for mainstream functional languages but rather a specialized implementation demonstrating the feasibility of optimal reduction at scale on parallel hardware.

The project shows active development with regular commits addressing core functionality and optimization. Work spans multiple areas including the interaction net evaluator, CUDA kernel implementation, and the supporting Rust infrastructure. The codebase receives ongoing refinement to improve both correctness and performance characteristics of the parallel evaluation engine.