Map-based trees in Zig 0 ▲ Jan Miksovsky’s blog 155 days ago · Tech · hide · Fediverse post For a while now I’ve used a reference blog called #pondlife to explore various tools and ideas for constructing sites. All the #pondlife implementations build the exact same blog, and trying to enforce a consistent set of user-defined requirements for the source content makes it much easier to make apples-to-apples comparisons. Origami uses a foundational map-based tree pattern to model the construction of sites like #pondlife. I recently became interested in the question of how hard it would be to implement that pattern in a compiled, strongly-typed language with explicit memory allocation. I haven’t written C or C++ in decades, but Zig seemed interesting to me. Among other things, Zig seems highly aligned with the Web Origami philosophy of building software artifacts directly on top of a platform using explicit code. My intention was to explore map-based trees in Zig, not become a Zig developer, so I relied heavily on an LLM as a counterpart. This turned into a week-long argument… Commenting on Bubbles has been removed. Why? If you want to talk about this post, write to the author, use the comments on their blog if it has them, or reply with a "RE:" post on your own blog. Suggestions? feedback@bubbles.town