# xc - 하나의 소스로 CPU와 GPU를 모두 컴파일하는 이기종 병렬 언어

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

> Hacker News story 50487155 · language: ko · submitted 2026-11-13
> Web version: https://zeli.app/ko/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는 하나의 소스 코드로 CPU와 GPU를 동시에 활용할 수 있는 이기종 데이터 병렬 언어입니다. 일반적인 루프를 작성하면 xcc 컴파일러가 이를 모든 CPU 코어, Metal·CUDA·Vulkan·WebGPU를 통한 GPU, 심지어 여러 벤더의 GPU나 원격 GPU에서 실행하고 가장 빠른 결과를 유지합니다. 커널은 컴파일러가 직접 생성해 실행 파일에 포함하므로 별도의 GPU 툴킷 없이 빌드할 수 있습니다. 컴파일러, GUI 프레임워크, C-to-xc 변환기 등이 포함된 GitHub 저장소에서 확인할 수 있으며, 자세한 문서와 벤치마크는 compile-xc.org에서 제공됩니다.

## Key quote

> 일반적인 루프를 작성하면 xcc가 이를 모든 CPU 코어와 GPU에서 실행하고 가장 빠른 결과를 유지합니다.

---

## Cite

- Page: https://zeli.app/ko/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
- de: https://zeli.app/de/story/50487155 · markdown: https://zeli.app/de/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
