Overview
A voxel engine written in Olive. This is a dogfood project for the language, using it to build something non-trivial that touches structs, references, FFI, math, and real-time rendering.
Olive handles all the game logic. Rendering goes through pygame and ModernGL via
import py. Noise generation is a native Olive implementation of OpenSimplex2 (no Python noise libraries needed).Prerequisites
Olive >= 0.6.1 - see installation below
Python 3.x - with dependencies from
requirements.txtInstallation
Clone the repository:
Install Python dependencies:
Install Olive:
Run:
What it exercises in Olive
Structs with mutable and immutable references (
&mut, &)Python interop (
import py) for pygame, moderngl, glm, PillowNative math - 727-line OpenSimplex2 noise implementation
Const expressions evaluated at compile time
Tuple returns and destructuring
Manual memory layout - packed vertex data (6b pos + 8b voxel + 3b face + 2b AO + 1b flip per uint32 vertex)
2 likes · 14 views · Aug 9, 2026
Developed Voxel Engine entirely in Olive, my own programming language, to validate the language in a demanding real-world workload.