Back to browse
Zitrus – A 3DS SDK written in pure Zig

Zitrus – A 3DS SDK written in pure Zig

by gasinfinity·Mar 26, 2026·4 points·0 comments

AI Analysis

●●SolidNiche GemWizardry

Pure Zig 3DS SDK with comptime IPC generation, but 3DS is EOL.

Strengths
  • Comptime IPC command generation eliminates runtime overhead for system calls
  • 20+ tools for 3DS file formats bundled directly into the SDK
  • Graphics API fully written in Zig without C interop dependencies
Weaknesses
  • No libc support yet, limiting what applications can actually be built
  • 3DS is end-of-life hardware, shrinking the potential user base
Target Audience

3DS homebrew developers, Zig enthusiasts

Similar To

devkitARM · libctru · citro3d

Post Description

I've been working on it for the last months and has some demos that can be compiled with a single `zig build`.

Currently it implements (not exhaustive): a graphics api fully written in zig, filesystem, networking, input support, a fully comptime IPC command generation and 20+ tools for 3DS-related file formats.

It's still in somewhat "early stages" as it's missing a libc but that's planned in my infinite TODO list.

The code is hosted on codeberg

Similar Projects

Developer Tools●●●Banger

MegaHAL in Pure SQL

MegaHAL chatbot runs in pure SQL—no PL/pgSQL escape hatches, just CTEs and recursive queries.

WizardryBig BrainNiche Gem
tgies
113mo ago