# xc - Compiler für GPUs und CPUs aus einer Quelle

Original title: Show HN: Compile the same source for GPUs and CPUs

> Hacker News story 50487155 · language: de · submitted 2026-11-13
> Web version: https://zeli.app/de/story/50487155
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 4 · by [spacedcowboy](<https://news.ycombinator.com/user?id=spacedcowboy>) · 💬 0
[original](<https://github.com/ThrudTheBarbarian/xc>) · [HN discussion](<https://news.ycombinator.com/item?id=50487155>)

## Summary

xc ist eine heterogene, datenparallele Programmiersprache und ein selbsthostender Compiler, der gewöhnliche Schleifen aus xc oder C automatisch über alle CPU-Kerne, die GPU via Metal, CUDA, Vulkan oder WebGPU – sogar über mehrere GPUs verschiedener Hersteller oder auf einem anderen Rechner – ausführt und stets die schnellste Variante wählt. Die Kernel werden vom Compiler erzeugt und in die ausführbare Datei eingebettet, sodass kein GPU-Toolkit zum Build benötigt wird. Das Repository enthält den Compiler, das UXKit-GUI-Framework, Anwendungen wie den GEM-Editor Rocks, Benchmarks und die Website. Dokumentation, Benchmarks und Downloads gibt es unter compile-xc.org.

## Key quote

> Schreibe eine gewöhnliche Schleife – in xc oder in C – und xcc führt sie über alle CPU-Kerne, auf der GPU über Metal, CUDA, Vulkan oder WebGPU, über mehrere GPUs verschiedener Hersteller gleichzeitig oder auf einer GPU auf einem anderen Rechner aus und behält die schnellste Variante.

---

## Cite

- Page: https://zeli.app/de/story/50487155
- Date: 2026-11-13
- Source: github.com (https://github.com/ThrudTheBarbarian/xc)
- Hacker News: https://news.ycombinator.com/item?id=50487155

## Other languages

- en: https://zeli.app/story/50487155 · markdown: https://zeli.app/story/50487155.md
- zh: https://zeli.app/zh/story/50487155 · markdown: https://zeli.app/zh/story/50487155.md
- ja: https://zeli.app/ja/story/50487155 · markdown: https://zeli.app/ja/story/50487155.md
- ko: https://zeli.app/ko/story/50487155 · markdown: https://zeli.app/ko/story/50487155.md
- es: https://zeli.app/es/story/50487155 · markdown: https://zeli.app/es/story/50487155.md
- ru: https://zeli.app/ru/story/50487155 · markdown: https://zeli.app/ru/story/50487155.md
