gpujs/gpu.js
GPU Accelerated JavaScript observed · 2026-08-28
Health v2 · maintenance only
97/100
- Activity 96
- Release rhythm 96
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 0.0
- age_days: 3858
- days_rel: 28
- days_push: 28
- n_releases_24m: 21
Adoption not part of the score
15370 stars · 661 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
GPU.js is a JavaScript acceleration library for GPGPU that automatically transpiles JavaScript functions into shader language (GLSL) and compiles them to run on the GPU, with automatic CPU fallback when no GPU is available. It works in both the browser (via WebGL) and Node.js, often delivering 1-15x speedups for parallelizable computations like matrix math.
Use cases
- accelerate matrix multiplication in javascript
- run parallel computations on the gpu from the browser
- speed up heavy math loops in node.js
- transpile javascript functions to webgl shaders
- add gpu acceleration with cpu fallback
- compute large 2d arrays faster in javascript
When to choose
- you need GPU acceleration for parallelizable numeric JavaScript code without writing shaders
- you want a single codebase that runs in browser and Node.js with automatic CPU fallback
- your workload involves matrix math, image processing, or large array computations
When to avoid
- your code is inherently sequential or branch-heavy, where GPU gains are minimal
- you need WebGPU or CUDA-specific features rather than WebGL-based kernels
- you need a full machine learning framework with autodiff and model training
Facets
library · maturity active
gpu-computing math compiler machine-learning gpu-computing web-development developer-tools performance browser cross-platform gpgpu webgl glsl shader-transpilation cpu-fallback parallel-computing algorithms nodejs javascript web
3 sources
- readme: https://github.com/gpujs/gpu.js · fetched 2026-08-28 · b27b67aed491
- homepage: https://gpu.rocks · fetched 2026-08-29 · 8f53096d2ea2
- site_page: https://gpu.rocks/install · fetched 2026-08-29 · 2b0b856e6027
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| gpujs/gpu.js | main | 97 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem