← All projects
Project record1 mention
Originally shared on Hacker News

Vu

Vu is an experimental programming language designed for AI, with Rust-like speeds and Python-like syntax. It enforces Rust-style ownership rules for memory safety, compiles to C (approximately C speeds) and to WebAssembly, and is designed to compile fast (vuc check on its ~21,500-line self-hosted compiler takes ~0.4s). Its tokenizer-efficient syntax and token-efficient error messages aim to make it efficient for LLMs to write and to fix bugs; it is being pen-tested in public via a battery of security tests, and its standard library includes TLS, HTTP/2, WebSockets and a PostgreSQL client.

Last shared
01 / The problem

What it addresses

The submitter found Rust increasingly hard to read and write and was frustrated with its developer experience (slow compile time), and wanted a language that is easy to read and write, memory safe, fast to run, fast to compile, secure, and efficient for LLMs to write.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. Vu

    Vu is an experimental programming language designed for AI, with Rust-like speeds and Python-like syntax. It enforces Rust-style ownership rules for memory safety, compiles to C (approximately C speeds) and to WebAssembly, and is designed to compile fast (vuc check on its ~21,500-line self-hosted compiler takes ~0.4s). Its tokenizer-efficient syntax and token-efficient error messages aim to make it efficient for LLMs to write and to fix bugs; it is being pen-tested in public via a battery of security tests, and its standard library includes TLS, HTTP/2, WebSockets and a PostgreSQL client.

    Problem: The submitter found Rust increasingly hard to read and write and was frustrated with its developer experience (slow compile time), and wanted a language that is easy to read and write, memory safe, fast to run, fast to compile, secure, and efficient for LLMs to write.

    Posted by @vu0tran · Original source ↗

    Story title · @vu0tran · · Source ↗

    Show HN: Vu – a new programming language designed for AI. Rust speeds, Py syntax

    Submitted URL · @vu0tran · · Source ↗

    https://vulang.org/

    Source text · @vu0tran · · Source ↗

    Vu is syntactically very close to Python. The ownership rules are the ones Rust has

    Source text · @vu0tran · · Source ↗

    Vu compiles down to C at the end of the day, so everything runs approximately at C speeds.

    Source text · @vu0tran · · Source ↗

    As I worked on larger and larger Rust projects, I also became frustrated with the developer experience of working in Rust (slow compile time), so I wanted a better way.

    Source text · @vu0tran · · Source ↗

    I've tested this with various LLMs and found it can read and write Vu out the box because of the similarity to Python.

    Source text · @vu0tran · · Source ↗

    The syntax of Vu is designed to be tokenizer efficient.

    Source text · @vu0tran · · Source ↗

    vuc check on the compiler’s own source (about 21,500 lines of Vu), takes about 0.4~ s.