mastodon.xyz is one of the many independent Mastodon servers you can use to participate in the fediverse.
A Mastodon instance, open to everyone, but mainly English and French speaking.

Administered by:

Server stats:

814
active users

#zig

5 posts5 participants1 post today

hesitating between writing the klutshnik.info server in c or in #zig. i'd prefer zig as it seems to shut up people about memory safety, but then the core would still be liboprf which is written in c already. and it would make deployment more difficult, since #zig is not packaged in debian and other major distros. so i guess using zig would only be 4 cosmetic/populist reasons, and at the same time it would limit deployment. what should i do (no rust/go are not options)

klutshnik.infoProject Klutshnikctrlc.hu

Hey I'm still looking for work.
I've applied to a lot of places in my area and I'm getting nothing.

I'm a programmer at heart, but I've also been looking for regular entry-level jobs because there haven't been any coding positions open at my level as far as I could tell.

If you can offer me a job, it might save my butt. And if you can't offer me a job, could you at least share this post?

I live 30 minutes away from Bellevue if that helps.

Ooooooooooooh.

#Zig files are, themselves, structs.

This is awesome, and explains some of my confusion around namespacing and stuff.

Also: custom formatters for structs? So nice. Love the member accessing syntax.

Hot damn I haven't been this excited about a language in a few years.

I've been attempting to rewrite some C code for a Wayland client in Zig using only the client API (via zig-wayland's scanner) and for some reason I can't grab the seat name when I set the listener, very frustrating

It's got to be the way Zig handles struct memory, I just don't know how... I doubt I actually need an extern struct but I bet if I can throw pointers around like it's C I'll figure out the rest later 😂
#C #Zig #Wayland

I'm gonna try a thing:

I've been letting a few projects languish for a while now. One of them is my 6502 emulator, which I ported from c++ to #CSharp a few years ago.

I kind of want to port it again, or maybe just reimplement it.

The top of my list is a real grab bag of languages:

#Rust
#Zig
#Swift
#GoLang

I may just get some of the basic addressing logic done in each of them and see what sticks.

They're in rough order of "what I want to play with", though of all of them I have the most familiarity with rust. With Zig I have practically zero experience, and the other two sit somewhere in between.

The point here is not to start language wars, and I'll straight up mute anyone who tries, but I'd love to hear folks' thoughts.

If you want to make the case for another language, feel free to drop them in the replies! Really only looking for statically-compiled languages, and I'm not writing it in Java. ;)

Edit: Oh, and, boosts appreciated!