4 ms·
Anybody here who is using zig on daily basis?
by msavara 3y ago
Anybody here who is using zig on daily basis?
- rene_d 3y agoI am building an on-premise annotation platform for medical image data (MVA.ai) where it is used for both backend and frontend (WASM). Really enjoy the language, with the key aspects being the low level control and performance, the build system and cross-compilation, comptime for generics, the easy integration of existing C libraries and the support for WASM. Manual memory management is sometimes a bit tedious, but you get used to it quite quickly. On the other hand, being able to use different allocators can even give you something like 'lifetimes'.
- trashburger 3y agoI don't know about "daily" right now (I've had to take a break due to obligations), but I'm working on a modern implementation of the Self programming language with actor capabilities: https://github.com/sin-ack/zigself https://github.com/sin-ack/zigself It's nowhere near usable yet, but Zig has been a joy to work with for over a year, and I can definitely see myself using it for a big piece of software.
- whitehexagon 3y agoMost days. Just switched to linux to access latest version and features, especially loving the new 'packed struct(u32)' for some low level SoC work (Register representation). I get compile errors if I miscount the bits, and I managed to get some type safety, and not a single 'shift', 'and' or 'or' sign in sight! Looks like I'll be porting to 0.11.1 as soon as the documentation is in place... I hope they slow down soon, already feels complete. The WASM support is amazing, much smaller outputs than the other options I tried (Java & Go). Great work team!
- eatonphil 3y agoEveryone where I work does. :)
- captainhorst 3y agoI use Zig for all my hobby projects: - A pixel art editor https://github.com/fabioarnold/MiniPixel https://github.com/fabioarnold/MiniPixel - A Mega Man clone https://github.com/fabioarnold/zeroman https://github.com/fabioarnold/zeroman - Zig Gorillas https://github.com/fabioarnold/zig-gorillas https://github.com/fabioarnold/zig-gorillas And most recently I had the opportunity to build a visualization for TigerBeetle's database simulator: https://sim.tigerbeetle.com https://sim.tigerbeetle.com Before I was using C++ and Zig has been an improvement in every way.
- throwawaymaths 3y agoHow did you not name that zigorrilas?
- lylejantzi3rd 3y agoThat mega man clone is great. The movement feels exactly how I remember mega man 3 feeling. You absolutely nailed it. I also appreciate how you've set up the code, with the build script being written in zig. I checked the code out, compiled it, ran the web server and bam! It just worked. It doesn't seem like that should be a big deal, but competence is such an exotic bird in these woods that I appreciate it whenever I see it.
- latch 3y agoI took a year off, and one of the things I did was learn Zig. I've built a number of libraries, including one of the currently more popular HTTP server libraries (https://github.com/karlseguin/http.zig https://github.com/karlseguin/http.zig). A number of my libraries are used for https://www.aolium.com/ https://www.aolium.com/ which I decided to write for myself. I try to write a bit every day with the benefit that I can "waste" time digging into things or exploring likely-to-fail paths.
- tauoverpi 3y agoI'm slowly writing a game with it in my own time and previously worked on an in-memory cache for smart metering full-time. It's been nice to play with and my goto language for prototyping since arond 0.5.0.
- anonymoushn 3y agoWe trade ten million dollars a day of shitcoin derivatives using zig. Should be more soon :). We're probably stuck on 0.10.1 until async makes it back in though.