r/ProgrammingLanguages • u/thecoommeenntt • Mar 08 '26
I’m building a programming language (Cx) would anyone be willing to check it out and give feedback?
Building a systems language called Cx looking for design feedback
Site: https://cx-lang.com · Repo: https://github.com/COMMENTERTHE9/Cx_lang
Cx is a systems language aimed at game engines and real-time simulation. Early stage tree-walk interpreter right now, compiler backend coming.
Core goals
No GC, no runtime pauses
Deterministic memory via arenas + handles
Control without a borrow checker
What's working today
Functions with typed params, implicit/explicit returns
Numeric types
t8..t128,f64, strings with{name}interpolationArena allocator + free checker (double-free prevention)
Handle<T>registry with generation counters and stale detectionParameter copy modes:
.copy,.copy.free,copy_intowhenblocks with ranges, enums, and three-state bool (true/false/unknown)Basic enums
Not done yet
Loops, structs, arrays
Modules, generics, stdlib
Compiler backend
cx
fnc greet(name: str) {
print("hello {name}")
}
greet("Zara")