proomt

Search

Search posts, papers, and topics

All posts

Hacker News front page3 min readadvanced

Vx – One Language, Every Chip

Summary

Vx is a systems language that makes the location of data—CPU, GPU, NPU, etc.—part of the type system, turning many runtime memory bugs into compile‑time errors. It uses declarative machine files and a parallel MLIR frontend to verify placements and generate deterministic code for heterogeneous targets.

  • Data‑location is a type: a host dereferencing a device pointer is a compile error, not a segfault.
  • Machine files describe memory hierarchy and interconnect, letting the compiler admit or reject placements before codegen.
  • Explicit `transfer()` calls and SMT‑backed checks enforce capacity, topology reachability, and linear usage.
  • The frontend emits flat 256‑bit identifiers, enabling lock‑free parallel compilation with byte‑identical MLIR output.

Compiler engineers and performance‑critical developers building across CPUs, GPUs, NPUs should care because Vx moves many classic runtime bugs into compile‑time guarantees.

6/10

Related reading

  1. Nvidia announces native GPU programming in Rust

    NVIDIA released CUDA‑Rust, letting you write GPU kernels directly in Rust and compile to PTX. Two programming models are supported: the traditional SIMT model via the `cuda-oxide` backend (nightly Rust, custom codegen) and the newer Tile model via `cutile‑rs` (stable Rust, JIT‑compiled Tile IR). Both provide Rust‑typed safety guarantees (e.g., `DisjointSlice`, tensor partitioning) and simple Carg…

    Hacker News front pagenvidia.com11 minHN961402
  2. Show HN: Mini-AGI – Dynamic continual learning model trained on 8GB VRAM

    mini-AGI is a byte‑level continual‑learning language model that fits on a single 8 GB GPU by paging expert weight files from disk. It uses two dense prelude blocks followed by a recurrent block applied up to 24 times per character, with adaptive depth (PonderNet halting) and per‑application top‑8 expert routing. The system maintains a RAM cache and a VRAM resident set, swaps experts based on dema…

    Hacker News front pagegithub.com20 minHN27676lobste.rs2
  3. A custom virtual machine for the Stars! 4X game

    Stars!VM is a 32‑bit Windows executable that embeds a custom 80286 emulator and a Win16‑to‑Win32 bridge to run the 1995 4X game Stars! without any external emulators. The author adds differential fuzzing, hot‑routine patching, I/O buffering and asset compression, achieving about a 2× speedup in turn generation.

    Chris Wellonsnullprogram.com5 minHN8422