JIT Compiled
No build step needed. Write your code, run it instantly — with native performance through JIT compilation.
JIT Compiled
No build step needed. Write your code, run it instantly — with native performance through JIT compilation.
Flexible Memory
Choose your approach: garbage-collected references for safety, raw pointers for control, or stack values for speed.
Templates
Powerful generics with template types and functions. Write code once, use it with any type — fully resolved at compile time.
Async & Threads
First-class async/await and threading primitives. Write concurrent code that’s easy to reason about.
Rich Type System
Types, interfaces, properties, operator overloading, pattern matching, and more — without the boilerplate.
Batteries Included
Standard library with strings, collections, file I/O, regex, datetime, threading, and reflection — ready to use.
// Hello WorldConsole.WriteLine("Hello, Cera!");
// Define a type with methodstype Vec2(float x, float y){ float Length() Math.Sqrt(this.x * this.x + this.y * this.y);
Vec2 +(Vec2 other) Vec2(this.x + other.x, this.y + other.y);}
Vec2 a = Vec2(3.0, 4.0);Console.WriteLine(a.Length()); // 5.0
Vec2 b = a + Vec2(1.0, 0.0); // operator overloading// Templatestype Stack<T>{ T[*] items;
void Push(T item) { this.items.Push(item); }
T Pop() this.items.Pop();
int Size() this.items.Length;}
Stack<int> s;s.Push(42);s.Push(17);Console.WriteLine(s.Pop()); // 17// Async / Awaitasync string FetchData(string url){ string response = await Http.get(url); return response;}
// Pattern matching with type switchvoid Describe(object value){ switch type (value) { case int i: Console.WriteLine($"Integer: {i}"); break; case string s: Console.WriteLine($"String: {s}"); break; default: Console.WriteLine("Unknown type"); break; }}