A game (with custom game engine). Here is short write-up on the progress: Devlog #0
I also plan to implement https://craftinginterpreters.com/ in Zig for the virtual machine interpreter. But that’s less of a toy project and more to learn about building programming languages with the goal of improving Zig.
Things I appreciate with Zig:
less choice paralysis (there is not many ways to implement something)
Things I appreciate less:
explicit allocators (it’s uncomfortable because I’m not used to, but it’s great to really think about memory and when you allocate stuff)
My first trick was DOOM fire in zig as a proof-of-concept for a 3D ascii isometric rogue-like. Sadly, frame rate isn’t there in OSX terminal. Now mulling over SDL…trying to figure out if isometric-2d is worth the energy, or is it easier to wait until the Mach Engine is a bit further along!
Kitty and the stock VS Code terminal both worked great (90+ fps). iTerm was ok (30+ fps). However, I was hoping for something that didn’t require a special install to use.
At some point, OSX Terminal appears to blocking on write, which slows down the FPS. However, it also is writing asynchronously, which causes it to drop / tear frames. Buffer size didn’t appear to make a difference.
There is likely some sort of secret-decoder ring ANSI sequence that would get it to bit-blast large sequences but a tix to APPL has sat idle!
Hi! In Zig I’m currently working on… Zig. I made some small contributions to the C backend and I intend to do more in the future, at least as soon as Real Life™ leaves me enough time/headspace to contribute.
I also started a bunch of personal, unreleased projects like a reimplementation of a subset of POSIX utilities, and I have a toy language project in its early stages which is mostly intended as a way to teach myself about building compilers from the ground up.
I have been writing mostly numerical code focused on signal process algorithms.
Recently implemented about 25 FFT algorithms (Stockham, Split-radix and friends) variants for benchmarking. (The clap arguments parser - thanks Hejsil! - has been critical, allowing the use of bash scripts to run the various benchmarkings.)
Also, piping to gnuplot with some rather nice (my opinion) wrappers that make visualization of the data simple to do.
Using both desktop computer as well as a Raspberry Pi, both running Devuan Linux.
Devuan is a favorite! Basically Debian WITHOUT SYSTEMD! Lovely!
I’m doing something probably unique! I’m building a small seed-starting greenhouse which is automated with an STM32 microcontroller which is programmed with zig. Right now I have the physical greenhouse built, and the microcontroller is reading the temperature and turning on a heat lamp to keep the temperature above freezing. I have lots of additional ideas and am working on them!
Hello, I’ve been on ZIG for 3 weeks, and I took as a subject to redo type->ncurses , I don’t leave empty and I’m inspired by what I found on github,
I do a lot of testing to understand the mechanisms of ZIG, and I read a lot of code on the ZIG repository, the documentation is nice, but not for a non-beginner, I’m not on my first try, I’m retirement and I am having fun with this new language…