Perro Engine LogoPerro

Free & Open Source Game Engine

Write in your favorite language, run at native speeds

Rust

The Perro Transpiler

Write your game logic in C#, TypeScript or Pup, and Perro transpiles it to Rust for native performance and optimization.

Game Logic
Generated Rust
Native Binary

The Perro Transpiler turns your scripts into Rust code that the engine calls into directly with no VM/interpreter. LLVM then compiles your game into an optimized native binary. By leveraging Rust’s strong typing and memory safety, Perro enables seamless integration between game logic and engine systems.

Fast Iteration with Incremental Builds

Thanks to Rust’s incremental build system, only modified scripts recompile — keeping iteration times around 3–4 seconds.

Game code is built into a shared library that the Perro Dev Runtime reloads instantly when you press “Play,” giving you real-time testing without recompiling the entire project.

(Dev builds prioritize rebuild speed — final exports are fully optimized by LLVM into a single high-performance native executable.)