Familiar Syntax
Write systems code in Python-like syntax. No new paradigm to learn.
Native Speed
Compiles to native machine code via LLVM. C-level performance.
C Interop
Import C libraries directly. Call C functions seamlessly.
64-bit Support
Full 64-bit integers, pointers, and memory operations.
Static Typing
Catch errors at compile time with type inference.
Memory Control
Manual allocation with pointers, stack, and heap.
Hello World
public def main() -> int:
print("Hello, World!")
return 0Structs & Functions
struct Point:
int x
int y
public def distance(a: Point, b: Point) -> float:
float dx = a.x - b.x
float dy = a.y - b.y
return (dx * dx + dy * dy) ** 0.5Memory & Pointers
int* ptr = new int
*ptr = 42
int[] arr = new int[1000]
arr[0] = 1
arr[999] = 1000Ready to start?
Install Cpyte and write your first program in seconds.
pip install cpyte