Readable at a glance
Indentation, familiar expressions, inference, classes, enums, match, and generics without pretending runtime dynamism is free.
Write like Python. Compile to readable C++.
A statically typed systems language with direct C and C++ interop. Brown on purpose.
No fire required
Indentation, familiar expressions, inference, classes, enums, match, and generics without pretending runtime dynamism is free.
Import C and C++ headers, call native libraries, use CMake projects, and emit C++20 that humans can inspect.
Fixed-width types, arrays, pointers, references, deterministic native code, and explicit ownership where it matters.
Actual Dudu
Dudu keeps the source compact while preserving native types and ordinary control flow. The compiler emits readable C++20 and hands serious project builds to CMake.
from c import raylib.h as rl
class Player:
hp: i32
pos: Vec2
def main() -> i32:
player = Player(hp=100, pos=Vec2(400.0, 300.0))
rl.InitWindow(800, 600, "dudu")
while not rl.WindowShouldClose():
rl.BeginDrawing()
rl.DrawCircle(player.pos.x, player.pos.y, 40.0, rl.BROWN)
rl.EndDrawing()
rl.CloseWindow()
return 0

Dogfooded
The compiler is exercised through real projects using SDL3, raylib, ImGui, glm, SQLite, the C and C++ standard libraries, and generated multi-module CMake builds.