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.

36 Likes

:+1: to codeberg! I’ve been happy to see some of the open source communities I am involved in start making the move.

5 Likes

Thanks for sharing and plus to calling out codeberg. I’ve been living under a rock and didn’t know it was a thing. Next fun project I’ll give codeberg go and maybe migrate some of my other projects over. I’m assuming the only thing I’ll miss is the “free” CI but hey, that’s just an excuse for yet another fun/distraction project - setting up my own runners on a server.

4 Likes

12 posts were split to a new topic: Accessible immediate-mode GUIs