# calebwin/emu

The write-once-run-anywhere GPGPU library for Rust

Repository: https://github.com/calebwin/emu
Canonical: https://ross.abutalabs.com/products/emu
Homepage: https://calebwin.github.io/emu
Language: Rust
License: MIT
License Family: permissive
Topics: emu, gpu, gpgpu, gpu-computing, gpu-acceleration, gpu-programming, rust
Last push: 2023-01-20T22:29:58+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 2715, "days_push": 1321, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1604, forks 52 (observed 2026-08-28T04:05:09.936799+00:00)

## What it is
Emu is a Rust GPGPU library providing a CUDA-like compute-focused abstraction over WebGPU. It offers type-safe GPU data boxing, an auto-managed device pool, and JIT-compiled compute kernels that run across Vulkan, Metal, and DirectX backends.

## Use cases
- run GPU compute kernels portably across Vulkan, Metal, and DirectX
- accelerate heavy computations in Rust without writing vendor-specific CUDA code
- box and move typed data to and from the GPU safely
- cache JIT-compiled compute kernels with an LRU cache
- mix compute workloads with WebGPU-based graphics code
- eventually run GPU compute in the browser via WebAssembly

## When to choose
- you want CUDA-style GPU computing in Rust with cross-platform portability
- you need a transparent abstraction you can drop out of to raw WebGPU when needed
- you want asynchronous, non-blocking GPU data transfers with type safety

## When to avoid
- you need mature, actively developed tooling or long-term support
- you need graphics rendering rather than compute workloads
- you require cutting-edge WebGPU features or browser support today

## Facets
- artifact type: library
- maturity: maintenance
- function: gpu-computing, sdk, concurrency, serialization
- domain: gpu-computing, developer-tools, cross-platform
- platform: rust, cross-platform, wasm
- tags: gpgpu, webgpu, compute-shaders, cuda-alternative, spirv, glsl, jit-kernels

## Member repositories
- calebwin/emu (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:09.936799+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:52:20.893535+00:00, confidence not recorded.
  - readme: https://github.com/calebwin/emu (fetched 2026-08-28T04:05:09.936799+00:00, sha 9acf45df7410)
  - homepage: https://calebwin.github.io/emu (fetched 2026-08-29T11:23:56.560957+00:00, sha 6afab261d725)
- Data as of 2026-08-30T08:39:29.467469+00:00.
