Back to browse
GitHub Repository

Sapphire is a hybrid programming language developed with a focus on high performance, simplicity, and a complete "out-of-the-box" experience. Unlike languages like C, where you often need to manage complex external dependencies for basic tasks, Sapphire comes with a comprehensive native ecosystem.

30 starsC++

Sapphire – A portable language with native UI and 3D vectors

by foxz·Mar 13, 2026·3 points·0 comments

AI Analysis

MidCozyNiche Gem

Yet another systems language competing with Zig, Odin, and V in an extremely crowded space.

Strengths
  • Single 12MB binary with no pip install or npm dependency headaches
  • Native immediate-mode UI and vector math bundled without external dependencies
  • Mark-and-sweep garbage collector implemented in C++ for memory safety
Weaknesses
  • 26 GitHub stars suggests limited adoption and unproven ecosystem
  • New programming languages face massive ecosystem barriers to entry
Target Audience

Systems programmers, game developers, tool builders

Similar To

Zig · Odin · V

Post Description

Hi HN,

I’m the creator of Sapphire, a lightweight programming language written in C++ designed to hit the "sweet spot" between high-level ease of use and low-level performance. I’ve just released version 1.0.7, which is our final push before the 1.1 LTS (Long Term Support) version.

The goal of Sapphire is simple: Zero friction. No complex installers, no pip install, no npm headaches. Just a single 12MB binary that gives you everything you need to build UI tools, network apps, or performance-critical scripts out of the box.

What’s new in 1.0.7: Vector Math: Added native support for 2D and 3D vectors, making it much easier to build games or simulations (check the Raycaster link below).

Syntax Fluidity: We’ve relaxed the syntax rules to make coding feel more natural and less "rigid" without sacrificing the speed of the VM.

LTS Preparation: Focus on stability and bug fixes as we approach our first Long Term Support milestone.

Key Features: Immediate Mode UI: Built-in UI engine (SapphireUI) using SFML for rendering. You can create windows and buttons instantly without external DLLs.

High-Performance VM: Uses Direct Threading (Computed GOTOs). It handles 100 million iterations in ~9 seconds on a standard consumer CPU.

No Imports Needed: Native support for Terminal colors, JSON parsing, HTTP functions, and System communication is baked into the core.

Portable: Download the .exe, add to PATH, and you're ready. The VM + UI + Networking + JSON is all in one 12MB file.

Try it out: Repo: github.com/foxzyt/Sapphire

Raycaster: github.com/foxzyt/SapphireRaycaster

Similar Projects