Hacker News·4 min read·hard

Vx – One Language, Every Chip

E
elffjs
Vx – One Language, Every Chip
✦AI Summary

Vx is a new systems programming language designed for heterogeneous computing that incorporates hardware memory topology into its type system. By making memory locality provable at compile time, it aims to eliminate common runtime crashes associated with accelerator memory management.

Why it matters

As AI and specialized hardware become more prevalent, languages that simplify memory management across CPUs and NPUs are increasingly critical for performance and reliability.

✦Dive DeeperCreate a free account to unlock

Vx is a systems programming language for heterogeneous computing. CPU, GPU, NPU and accelerator memory are part of the type system — so a host thread dereferencing a device pointer is a compile error , not a segfault at three in the morning.

macOS on Apple Silicon and Linux x86_64. Other install options .

Heterogeneity belongs in the type system, not in the runtime.

Most languages treat the accelerator as infrastructure: you write math, and a large opaque runtime decides how to ship it. Vx treats it as semantics. A tensor pinned to NPU high-bandwidth memory has a different type from one in host DRAM, and crossing between them takes an explicit transfer() — even when the hardware boundary is free.

Continue reading on Headlinne

Create a free account to read the full article.

Read full article →
technologyscience
✦

Get smarter about the news

Sign up free for a feed built around what you actually care about, Dive Deeper research on any story, and the full text of every article.

Create free account

Already have an account? Sign in