proomt

Search

Search posts, papers, and topics

All posts

LobstersEvan Ovadia24 min readadvanced

The Golden Spike, and Resurrecting the Vale(n) Programming Language

Summary

Evan Ovadia announces Valen, a fork of his Vale language aimed at seamless Rust interop with features like linear types, group borrowing, and cross‑language generics. He outlines current capabilities, open challenges, and a lazy AST‑signature approach to bridge the Rust ABI gap.

  • Valen can already express linear types and group borrowing across the Rust boundary, but cannot yet declare Rust types as linear.
  • Structs and zero‑sized types can cross the boundary, and Valen structs can implement Rust traits, though full sized structs are still prototype‑only.
  • The compiler lazily generates Valen AST signatures for Rust functions instead of parsing Rust signatures directly, avoiding a full reimplementation of Rust's generics system.
  • Open interface constructors let Valen create inline implementations of Rust traits, a complex feature combining interfaces, generics, and closures.

Language engineers and Rust developers interested in safe, zero‑cost interop will care because Valen proposes a novel way to bypass the C ABI limitation.

6/10

Related reading

  1. Migrating the GitHub Copilot runtime to Rust, using Copilot

    The Copilot agent runtime was rewritten from a 130‑k‑line TypeScript/Node.js codebase into a native Rust library (~830 k lines of Rust) to reduce startup latency, memory use, and improve reliability. The migration was done incrementally (in‑place) across 128 PRs, with AI‑generated code handling most of the work. The new runtime exposes a C ABI for in‑process embedding by all six Copilot SDK langu…

    GitHub Oldgithub.blog65 minHN188
  2. 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
  3. Article: Your Next DSL Author Is a Language Model

    Typed Domain Grounding (TDG) embeds a DSL inside a mainstream language the LLM already knows (e.g., Kotlin) and uses the host compiler as an oracle. The author describes five building blocks—embedding, choosing a host language with high training‑data frequency, compiler‑driven type safety, a generate‑compile‑repair loop, and an on‑demand teaching tool—and shows measured results from kUML, a Kotli…

    InfoQinfoq.com18 min