HeadlinesBriefing favicon HeadlinesBriefing.com

Ü Language: Safe, Fast Alternative to C++ and Rust

Hacker News •
×

Ü, a statically‑typed compiled language, arrives with a promise of safety and speed. Its syntax borrows heavily from C++ while sidestepping common pitfalls. Developers can write memory‑safe code by default, with unsafe blocks available for low‑level work. The language ships a full toolchain built on LLVM, offering extensive optimizations for various target architectures and platforms.

Central to Ü’s design is RAII for resource management, eliminating garbage collection entirely. In safe mode, the compiler enforces compile‑time checks that prevent out‑of‑bounds accesses and race conditions. When unsafe code is used, developers must explicitly manage memory, a trade‑off that keeps the runtime lean and predictable for high performance applications across systems and devices.

Ü ships a rich standard library with containers, concurrency primitives, and OS bindings. A dedicated language server improves IDE support, while a C‑header conversion tool eases integration with legacy libraries. Build scripts rely on CMake and Ninja, and the compiler itself is available in two versions: a C++ front end and a self‑hosted Ü variant.

Supported platforms include Windows, Linux, and FreeBSD on x86, x86_64, and AArch64, with experimental support for other architectures. Building Ü requires a modern C++ compiler and LLVM 17.0.6, and the project offers documentation in English and Russian. For developers seeking a safer alternative to C++ or Rust, Ü presents a compelling, low‑overhead option for production.