What's everybody working on?

Nice visual design, this looks neat. Put the spiderweb image in the favcion!

You forgot to actually commit your vendored mibu to the repository.

Yes indeed. I will submit my changes for 0.16 to the main repository soon.

Honestly it’s nothing else but changing “io” to “Io” and few other very minor changes.

Thanks man! That spiderweb favicon idea is actually sick. Definitely adding it!

I was just looking for TriMet API clients the other day!

I have been working with zigcli, a toolkit for building command line programs in Zig.

This week a new bin was added: hexdump | Zigcli

5 Likes

This is a sneak peek of a game I’m remaking called: Cosmic Invaders, originally built in Allegro from around 2006 (not by me). It’s sort of a pixel-art Invaders meets Tower Defense style game. I’ve updated the codebase to build against Zig 0.16.0 and the just released Raylib 6.0 release.

I haven’t touched this project in quite awhile but the upgrade to Zig 0.16.0 only took me about 20 minutes to get through the new build script changes. Most of the syntax works as is!

Raylib 6.0 from 5.5 was basically no changes for me.

9 Likes

we (zml) have released zml-smi, a universal GPU/NPU monitoring tool

19 Likes

x2 5090’s and a Threadripper…

That’s a pretty good flex. I will trade you :grinning_face:

1 Like

Oh and you haven’t seen their office in Paris, it’s even better

1 Like

This is awesome, thoughts about open sourcing it?

I just finished rewriting about 15% of my runescape-like mmo; It was starting to feel necessary to switch to an ECS and 14kloc seems a better time than 20kloc(though, I don’t recommend switch at 14 either :sweat_smile:). Currently, I’m using Raylib, DVUI for rendering and Godot as a scriptable Level Editor that exports zon files.

I’m very excited to switch to 0.16 for threading the ticking phases!

27 Likes

I implement user stories for epics for our encryption apps, these two here:

https://codeberg.org/pEp/pEpEngine/wiki/EpicBackup

https://codeberg.org/pEp/pEpEngine/wiki/EpicStandardKeyserver

Our core functionality is written in C and C++. I hope I can replace the C part step by step with Zig. To test this out I’m implementing the two mentioned modules (one per Epic) in Zig. I hope we can use them in all apps then. The first app we’re using them is p≡p for iOS, which is written in Objective C and in Swift. The first impressions are quite positive.

2 Likes

It’s not exactly on Zig, but it’s my hobby project.

I am developing an analytical database called Lynxdb GitHub - lynxbase/lynxdb: A lightweight schema-on-read analytics in a single binary · GitHub

This schema-on-read database is focused on log analysis.

It’s open source already: zml/bin/zml-smi at master · zml/zml · GitHub

Just a small tool that does Cartesian product (should’ve been named “cart”?) of words with, hopefully, a small memory footprint. Was made due to the fact that, at work, servers follow certain naming conventions, and I was tired of copying by hand or writing bash for-loops.

5 Likes

Hello everyone

My zig projects to date have been quite niche - inspired from my brief time working on trading systems. Firstly, zigxll: GitHub - AlexJReid/zigxll: A Zig framework for building Excel XLL add-ins including streaming data and Lua scripting support. · GitHub

It tames the very old Excel C SDK to write custom functions and realtime data servers. A bit like Excel-DNA. (Yes, Excel underpins more of the financial world than anyone would care to admit). Although it is a relic, it is still the fastest way of extending (Windows) Excel. Microsoft even state this library as being unfeasible for most developers to use. I think Zig helps with that somewhat. comptime was an amazing help. It was my first adventure with Zig, so maybe that shows, but it works and is used heavily (not many bites from GitHub though). It also embeds Lua if you don’t want to write Zig. Still learning!

A project that uses it is this simple Excel interface to a market data provider. GitHub - AlexJReid/massive-excel: An Excel add-in that streams live market data from the Massive WebSocket API into cells in your workbook. · GitHub

Second is monoblok: GitHub - lexvicacom/monoblok: A tiny, configurable pub/sub broker that conditions and transforms noisy data streams in flight through simple configuration. · GitHub - this is a NATS-ish pub/sub server, an exercise in curiousity more than anything. It adds some crazy ideas to a system like NATS - a signal conditioning DSL and a last value cache. I was curious about how nats-serveris fast and what tricks they used. This was fun to compare with the go implementation. I am not sure what I have come up with is idiomatic Zig, but it’s a learning journey.

I know it’s topical at the moment, particularly around Zig, but Claude has been a huge help in a) assisting me learning the new ways of 0.16 and b) saving me from typing due to a recent stroke. I don’t think it falls under the vibe coded category. I am using it mainly for boring time consuming things that oft go neglected in small projects. Or to learn by example and make improvements and question why the LLM has done something dumb and in some cases rewrite.

As with all tools, it’s about having taste and knowing where they can assist.

Anyway, I wrote up monoblok and zigxll here: Tech | Alex Reid

11 Likes

sleep sort in Lua, powered by std.Io.Evented:

pollux = require("pollux")
pollux.run(function(px) -- px is a handle to the event loop;
  -- note that it is only available from inside pollux.run()
  local futures = {}
  for i = 1, #arg do
    futures[i] = px:async(function()
      px:sleep(tonumber(arg[i]))
      print(tonumber(arg[i]))
    end)
  end
  for i = 1, #futures do
    futures[i]:await()
  end
end)
9 Likes

Smart Glasses?

Not exactly :slight_smile: tea