Open Source metal2vulkan Translates Metal Shaders to Run on Vulkan
OwariDa · x · 2026-11-30
- X user OwariDa shared the GitHub project metal2vulkan (349 stars, 9700+ commits) in a discussion about porting.
- Written in Rust, the project reads Metal AIR bytecode (metallib) and compiles it into Vulkan pipelines, while also providing a Metal Device API on top of Vulkan devices. The goal is to run Metal shaders and programs on non-Apple platforms.
- The discussion noted that the Metal→Vulkan/WebGPU translation layer and drivers are the most challenging part, and work hasn't yet touched per-platform API adaptation. The project is in Beta; the API, command line, and output SPIR-V may change during 0.x.
More from Infra
- Mining Minos SN107 on a home PC: Bittensor subnet doing genomic AI research — markjeffrey · 2026-11-30
- Why is RAM so expensive? Blame AI's insatiable appetite for memory — minchoi · 2026-11-30
- GPU flipper shows rebuilt stash of 4090s, A100s and H100s as customer orders pile up — Sentdex · 2026-11-30
- 10 GitHub repos for AI infrastructure and deployment — aftahi_ai · 2026-11-30
- Tailscale open-sources tailcat: netcat-style direct device connections, no account needed — alexcovo_eth · 2026-11-30
- cclinux: Rust Linux kernel clones Chrome in 16ms, runs 64 isolated browsers per second — OwariDa · 2026-11-30