GoGPU vs Born: In-Depth Comparison Report
Two gems of the pure-Go GPU ecosystem: a low-level graphics framework vs a high-level deep learning framework.
GoGPU v0.41.9 | Born v0.9.1 | Same ecosystem root
Ecosystem Relationship
Born's WebGPU backend directly depends on gogpu/wgpu — a pure Go WebGPU implementation. The two projects share the same root but occupy different layers:
- gogpu/wgpu: pure Go WebGPU implementation (foundation)
- gogpu (App): graphics rendering, window management, input
- Born: deep learning, LLM inference
- Shared GPU backends: Vulkan, DX12, Metal, GLES
- Graphics: zero-copy surface rendering (SurfaceView), event-driven three-state rendering (idle/animating/continuous), texture loading (PNG/JPEG/Go image), shader pipelines
- Window & input: native window management (Win32/Cocoa/X11/Wayland), centralized input event queue, game-style input polling (JustPressed/Pressed), multi-window support, HiDPI, cursor modes
- Platform integration: macOS NSMenu, system sounds, clipboard, dark mode / reduced motion / high contrast detection, borderless windows with DWM shadow
- Deep learning core: autodiff (decorator pattern), 38+ WebGPU-accelerated ops, CNN (Conv2D, MaxPool2D), optimizers (Adam), losses (CrossEntropyLoss), lazy evaluation + command batching
- Transformer / LLM: Flash Attention 2 (O(N) memory), speculative decoding (2-4x), KV-Cache (3.94x), MHA/SDPA/GQA attention, RoPE/ALiBi/Sinusoidal positional encodings, SwiGLU/GeGLU/ReGLU FFN
- Model ecosystem: ONNX import (49 ops), GGUF import (Q4_K/Q5_K/Q6_K/Q8_0), end-to-end LLaMA inference (TinyLlama 1.1B verified), SafeTensors export (HuggingFace compatible), TikToken/BPE tokenizers, Temperature/Top-K/Top-P/Min-P sampling
- Compute shaders, WebGPU standard API, pure Go with zero CGO, cross-platform GPU acceleration, vector/matrix math, GPU-accelerated matmul, tensor ops
- Iteration speed: GoGPU 163 releases vs Born 35
- Community: GoGPU 305 stars vs Born 97
- GPU backends: GoGPU 5 APIs vs Born 2 (CPU + WebGPU)
- Platform coverage: GoGPU full platform vs Born Windows-first
- Choose GoGPU for game engines, GUI applications, visualization, and low-level GPU compute — a mature, fast-iterating, zero-CGO graphics foundation.
- Choose Born for deep learning training and LLM inference in pure Go — a rapidly developing framework already capable of real LLM inference (TinyLlama 1.1B) with impressive GPU speedups.
1. Overview
| | GoGPU | Born | |---|---|---| | Positioning | Pure-Go GPU graphics/compute framework (low-level engine) | Pure-Go deep learning framework (high-level) | | Inspiration | Ebiten / Gio game engine architecture | Burn (Rust) + PyTorch + TinyGrad | | Philosophy | "GPU power, Go simplicity. Zero CGO." | "Models are born production-ready." | | GitHub Stars | 305 | 97 | | Releases | 163 | 35 | | Commits | 265 | 105 | | License | MIT | Apache-2.0 | | Go version | 1.25+ | 1.26+ | | Language | 99.4% Go | 99.2% Go | | Open issues | 6 | 1 | | Latest release | v0.41.9 (2026-06-11) | v0.9.1 (2026-05-27) |
2. Technical Architecture
| | GoGPU | Born |
|---|---|---|
| Core abstraction | App → Renderer → hal.Device/Queue | Backend → Tensor → Autodiff → Optimizer |
| Design pattern | Multi-threaded (event main thread + dedicated render thread) | Decorator pattern (Backend → Autodiff → Fusion) |
| GPU backends | Pure Go (default), Rust FFI (-tags rust), Browser WASM | CPU (pure Go), WebGPU (via gogpu/wgpu); Vulkan/CUDA/Metal planned |
| Graphics APIs | Vulkan, DX12, Metal, GLES, Software (runtime selection) | WebGPU only (via gogpu/wgpu) |
| Platforms | Windows, Linux (X11/Wayland), macOS, Browser/WASM | Windows (DX12); Linux/macOS planned |
| CGO | Zero (default pure Go) | Zero |
| Type system | Concrete types (mostly float32) | Go generics: Tensor[DType, Backend] |
| Resource management | TrackResource auto-cleanup + runtime.AddCleanup GC safety net | runtime.SetFinalizer for GPU buffer cleanup |
3. Core Capabilities
GoGPU unique capabilities
Born unique capabilities
Shared capabilities
4. Performance
Born GPU acceleration (RTX 3080)
| Operation | CPU | GPU (WebGPU) | Speedup | |---|---|---|---| | MatMul 1024×1024 | 7143ms | 58ms | 123× | | MatMul 512×512 | 499ms | 12ms | 41× | | MatMul 256×256 | 56ms | 3.7ms | 15× | | NN inference (batch=64) | 48ms | 19ms | 2.5× | | NN inference (batch=256) | 182ms | 21ms | 8.5× | | NN inference (batch=512) | 348ms | 32ms | 10.9× |
GoGPU rendering modes
| Mode | CPU usage | Frame rate | Use case | |---|---|---|---| | Idle | 0% | Blocks on OS events | UI apps without animation | | Animating | Low | VSync (~60fps) | UI animations, transitions | | Continuous | 100% | Uncapped | Game loops, real-time rendering |
Key insight: Born's GPU acceleration comes from the underlying gogpu/wgpu WebGPU implementation. The 123× MatMul speedup shows Go + WebGPU has reached practical performance for matrix computation. GoGPU's three-state rendering model provides fine-grained power control from 0% CPU (idle) to 100% (game loop).
5. Maturity
6. Documentation & Developer Experience
| | GoGPU | Born | |---|---|---| | API docs | Full pkg.go.dev reference | Full pkg.go.dev reference | | Architecture docs | ARCHITECTURE.md (with ADRs) | PHILOSOPHY.md, USE_CASES.md | | Roadmap | ROADMAP.md | ROADMAP.md | | Getting started | ~20 lines to render a triangle | MNIST training + LLaMA inference examples | | Examples | Compute shaders, multi-window, input polling, textures | MNIST, LLaMA inference, backend selection | | External articles | 2 dev.to posts (100K-line development journey) | None |
7. Roadmaps
GoGPU: multi-backend architecture (done), gogpu/ui GUI toolkit (planned), continued 2D/3D graphics work, v1.0 with API freeze and long-term support.
Born: Vulkan/CUDA/Metal backends (planned), GPTQ/AWQ quantization, PagedAttention + continuous batching, OpenAI-compatible API, v1.0 LTS with 3+ years of support.
Born's planned Vulkan/CUDA/Metal backends will further depend on the GoGPU ecosystem (gogpu/wgpu, gogpu/naga). As Born moves toward v1.0, the symbiotic relationship deepens: GoGPU provides low-level cross-platform GPU capability; Born builds production-grade deep learning services on top.
8. Use Case Matrix
| Scenario | GoGPU | Born | |---|---|---| | Game engine development | Core scenario | Not suitable | | GUI applications | Core scenario | Not suitable | | 2D/3D visualization | Core scenario | Not suitable | | General GPU compute | Supported (compute shaders, WGSL) | Supported (38+ ops, autodiff) | | Deep learning training | Not suitable | Core scenario | | LLM inference deployment | Not suitable | Core scenario |
Verdict
These projects are complementary, not competitors: