Indie Dev's Dataflow Language Mapal Claims to Beat Hand-Tuned CUDA on Naive Code
LessComplexity · reddit · 2026-11-28
A Reddit developer released Mapal, a self-designed "dataflow, parallel-first" programming language five years in the making, aiming to break the CUDA monopoly. The author claims a naive implementation runs llama-3.2-1B (f32) faster than heavily hand-optimized engines and beats numpy on most tested hardware — self-reported, not yet third-party verified.
- Key idea: optimization targets data placement on hardware (compute units, memory locations, bandwidths) rather than control flow.
- At compile time it builds a category-theory-based dataflow map, using categorical rules to prove facts about the program, then combines them with hardware facts — matrix-mul caching, parallelization, and memory-layout-optimal scheduling are proven, not hardcoded.
- Same code targets NVIDIA, AMD, any CPU, and eventually FPGA/ASIC.
- Much of the code was generated by Claude for speed; the author is now auditing and "unvibing" it.
Docs, an architecture explainer, and the GitHub repo are public, with compiler, LSP, and Neovim/VS Code syntax highlighting installable. Feedback and collaborators welcome.
More from Infra
- Route Me There: privacy-first self-hosted LLM router with Wake-on-LAN and load balancing — Ejo2001 · 2026-11-29
- Amazon Leo offers remote sites a private satellite route into AWS at 1 Gbps — shashib · 2026-11-29
- Google's 1152-TPU shared memory pool may be Nvidia's Achilles heel — Beth_Kindig · 2026-11-29
- ByteDance Seed's Mixture-of-Loops Transformer: 1.7x token efficiency vs OLMo3 — HankYeomans · 2026-11-29
- Engineer debunks LeCun's orbital data center math on radiator mass assumptions — mitchdeg · 2026-11-29
- Agent infrastructure for 2027: six shifts mirroring monoliths to microservices — bibryam · 2026-11-29