Gemma 3 inference in pure C++ with Metal acceleration
Get picks like this daily. Today's launch numbers, the top launches, AI and tech news, and a daily opportunity pick, straight to your inbox.
Want to reach these readers? Sponsor an issue.
HN · launched Jul 4, 2026 · 6 upvotes (top 71%) · 0 views
Niche: llm inference engines · 135 launches, 3 in the last 7 days ▼ -50% · Explore this niche →
Category and tags
- Horizontal
- Model & infra
- Developer
- AI-native
- Hobby / open-source project
Visit website ↗ Source listing ↗
More like this: all 135 launches in llm inference engines →
Could you build this?
No Implementing a complete transformer inference engine in pure C++ with custom Apple Metal GPU kernels requires deep systems programming and GPU computing expertise.
What it would actually take: The architecture requires writing custom Metal Shading Language (MSL) compute shaders for matrix multiplication, RoPE embeddings, and attention operations (e.g., FlashAttention), orchestrated by modern C++ through Metal runtime APIs. The critical difficulty is hand-tuning GPU memory layouts, threadgroup tiling, and quantized weights dequantization for Apple Silicon unified memory, which requires high-performance computing (HPC) and low-level GPU specialization.
Discussion
2 comments analyzed.
Concerns raised: Lack of performance documentation or benchmarks, Whether it's actually faster than alternatives
Competitors
Other products that read as similar to this one : 1498 launches clear the similarity bar, closest 8 shown.
Attention rank: #1072 of 1499 (itself plus its competitors, highest first, normalized so YC and Product Hunt are compared fairly).
Launched 246 days after the earliest competitor.
- my-little-trie-forge · github · 2026-10-02 · 11 upvotes · similarity 0.58
- llama.cpp-omni · github · 2026-10-13 · 20 upvotes · similarity 0.58
- saber-engine · github · 2026-11-05 · 59 upvotes · similarity 0.57
- Infernix · github · 2026-10-08 · 98 upvotes · similarity 0.56
- lithos-metal · github · 2026-10-05 · 129 upvotes · similarity 0.55
- open-jev-fast · github · 2026-09-27 · 88 upvotes · similarity 0.55
- laya.cpp · github · 2026-09-20 · 87 upvotes · similarity 0.54
- coreglass · github · 2026-10-02 · 12 upvotes · similarity 0.54
The niche, labels, vibe code rating and competitor comparison on this page are analysis by Nicheloom. If you use them, please credit nicheloom.com. How you may use our data.