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}interpolation - Arena allocator + free checker (double-free prevention)
Handle<T>registry with generation counters and stale detection- Parameter copy modes:
.copy,.copy.free,copy_into whenblocks 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")
4
Upvotes
View all comments
Show parent comment
5
u/thecoommeenntt Mar 08 '26 edited Mar 09 '26
Thank you for all that feedback I really appreciate it and will be taking it seriously.
On the "punishment and hostility" language fair point. That framing was aimed at approachability
Also i agree arenas alone aren't enough The memory model is arenas plus handles plus rc<T> plus shared<T> plus NullPoint<T> plus explicit unsafe ptr. The docs aren't communicating that clearly enough. That on me i did rush thing with the website as you can probably already tell
Again thank you I will be taking your other feedback to heart and were going to try to implement the thing pointed out today