Zig doesn't have attributes, but you could just create a thin wrapper struct over an inner type and use setter functions that throw errors on invalid values. Personally I prefer this over attributes because it forces…
Actually with Opus you can compress a three minute song to 1.44 MB without it sounding absolutely terrible. I definitely don't have the best ear for music, but when I compared a three minute song I compressed with Opus…
Zig doesn't have attributes, but you could just create a thin wrapper struct over an inner type and use setter functions that throw errors on invalid values. Personally I prefer this over attributes because it forces…
Actually with Opus you can compress a three minute song to 1.44 MB without it sounding absolutely terrible. I definitely don't have the best ear for music, but when I compared a three minute song I compressed with Opus…