▲ 25 r/gamedev

What actually made you quit your last game project?

Trying to understand the technical wall people hit.
If you have abandoned a project, what was the last thing you were trying to do before you walked away? What was the problem you could not get past?

reddit.com
u/thecoommeenntt — 3 months ago
▲ 1 r/ProgrammingLanguages+1 crossposts

Cx 0.1.0 — a Rust-based systems language/compiler project

CX LANGUAGE is now release 0.1.0

Cx is a systems language I've been writing in Rust, aimed at game engines, tooling, and other places where you want predictable memory behavior without a GC or a borrow checker telling you no. Declared-width integers, deterministic teardown, explicit copies.

0.1.0 is the first version where source code makes it all the way through:

source → lexer/parser → AST → semantic analysis → IR → reference interpreter → Cranelift JIT → parity verification

Language-wise you get t8 through t128, f64, bool, tbool, structs, arrays, free functions, struct methods, generic functions, loops, when matching, wrapping arithmetic at the declared width, explicit copy semantics, and built-ins like print, assert, assert_eq.

The goal for 0.1 wasn't a finished language. It was getting to a place where the interpreter and the JIT can be diffed against each other through tests, so I have something solid to build on.

Not production-ready. Still very much experimental.

Repo: https://github.com/COMMENTERTHE9/Cx\_lang

Would love feedback on the language design, the compiler structure

github.com
u/thecoommeenntt — 3 months ago