← All projects
Project record01 mention
Originally shared on Hacker News

dia (do it all) programming language

A batteries-included programming language with Rust-inspired syntax and type features and arena-based memory safety that avoids Rust-style lifetime parameters. It transpiles to C so it compiles anywhere C runs, offers a native JSX-like syntax (DSX) usable for any function with the right signature, incremental compilation with hot module reload (HMR), and effortless C interop via a bundled clang compiler (occasionally needing a short manifest to map memory safety). The standard library includes a cross-platform GUI toolkit with a prosemirror-like WYSIWYG text editor, and modular pieces such as text rendering, the event/input system, and a signals-based reactive library that can be reused independently in other contexts. Not yet open-sourced, pending base feature stability.

Last shared For Developers building software with or without AI assistance.
01 / The problem

What it addresses

Builders have to reimplement common building blocks across projects, and Rust's lifetime parameters make generic memory-safe code harder to reason about.

02 / Source history

Shared over time

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

  1. dia (do it all) programming language

    A batteries-included programming language with Rust-inspired syntax and type features and arena-based memory safety that avoids Rust-style lifetime parameters. It transpiles to C so it compiles anywhere C runs, offers a native JSX-like syntax (DSX) usable for any function with the right signature, incremental compilation with hot module reload (HMR), and effortless C interop via a bundled clang compiler (occasionally needing a short manifest to map memory safety). The standard library includes a cross-platform GUI toolkit with a prosemirror-like WYSIWYG text editor, and modular pieces such as text rendering, the event/input system, and a signals-based reactive library that can be reused independently in other contexts. Not yet open-sourced, pending base feature stability.

    Problem: Builders have to reimplement common building blocks across projects, and Rust's lifetime parameters make generic memory-safe code harder to reason about.

    Audience: Developers building software with or without AI assistance.

    Posted by @andeee23 · Original comment ↗

    “My own programming language called: dia (stands for do it all). Aims to be a full batteries included language + standard libraries, so that building both with and without AI assistance is effortless and can reuse the building blocks without having to reimplement things.”