Microui reimplementation in Zig

Hi! I’ve had a ton of fun re-implementing microui.c in Zig. Microui is a tiny, portable, immediate-mode GUI library written in ANSI C. It probably resonates well with the Zig crowd as it’s completely free of memory allocations.

I think the original is a really elegant piece of software and I wanted to explore its implementation in more detail by porting it to Zig.

Disclaimer: while I am planning to use this library in my side-projects, if you’re looking for an immediate GUI library, quite likely you’ll be better of with Dear ImGui.

You can find Zig microui here: https://codeberg.org/nurpax/zig-microui


PS. Also wanted to give codeberg.org a try as GitHub’s web UI is getting worse by the day.

16 Likes