Dogfood Voxel Engine written in Olive by Vince SwuDogfood Voxel Engine written in Olive by Vince Swu

Dogfood Voxel Engine written in Olive

Vince Swu

Vince Swu

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.txt

Installation

Clone the repository:
git clone https://github.com/ecnivs/voxel-engine.git
cd voxel-engine
Install Python dependencies:
pip install -r requirements.txt
Install Olive:
Linux / macOS:
curl -sSL https://raw.githubusercontent.com/ecnivslabs/olive/master/install.sh | sh
Windows: download from the releases page
Run:
pit run

What it exercises in Olive

Structs with mutable and immutable references (&mut&)
Python interop (import py) for pygame, moderngl, glm, Pillow
Native 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)
Like this project

Posted Aug 9, 2026

Developed Voxel Engine entirely in Olive, my own programming language, to validate the language in a demanding real-world workload.