github.com/karlseguin/p...
github.com/karlseguin/p...
www.openmymind.net/Is-Zigs-New-...
Please tell me I'm doing something stupid. #ziglang
www.openmymind.net/Is-Zigs-New-...
Please tell me I'm doing something stupid. #ziglang
Everything is a []u8
www.openmymind.net/Everything-I...
Everything is a []u8
www.openmymind.net/Everything-I...
zig dev: have you tried ReleaseFast?
dev: my zig code is less safe than Go.
zig dev: have you tried ReleaseSafe?
dev: my #zig binary is larger than with Go.
zig dev: have you tried ReleaseSmall?
zig dev: have you tried ReleaseFast?
dev: my zig code is less safe than Go.
zig dev: have you tried ReleaseSafe?
dev: my #zig binary is larger than with Go.
zig dev: have you tried ReleaseSmall?
www.openmymind.net/Im-Too-Dumb-...
www.openmymind.net/Im-Too-Dumb-...
As far as I can tell is, you do:
var w: Writer = .fixed(buf);
const n = try r.stream(w, .limited(buf.len));
As far as I can tell is, you do:
var w: Writer = .fixed(buf);
const n = try r.stream(w, .limited(buf.len));
I've seen this before, where people/orgs are good are building languages / tooling, but not libraries/frameworks.
Think C#/CLR and then awfulness like ASP.NET and WPF.
#zig
I've seen this before, where people/orgs are good are building languages / tooling, but not libraries/frameworks.
Think C#/CLR and then awfulness like ASP.NET and WPF.
#zig
I somehow simultaneously have a build.zig file that I don't understand why it *isn't* working in Linux, while also not understanding how it *does* work on Mac.
I somehow simultaneously have a build.zig file that I don't understand why it *isn't* working in Linux, while also not understanding how it *does* work on Mac.
Using an ArrayList[Unamnaged](u8) as a StringBuilder is out. Use std.Io.Writer.Allocating (which, inconsistently? appears to be "managed")
Using an ArrayList[Unamnaged](u8) as a StringBuilder is out. Use std.Io.Writer.Allocating (which, inconsistently? appears to be "managed")
www.openmymind.net/Zigs-New-Lin...
#zig #ziglang
www.openmymind.net/Zigs-New-Lin...
#zig #ziglang
Investigating these crashes, I never come out saying "Linux is wrong", but rather "How TF did this work on Mac?".
cont ->
Investigating these crashes, I never come out saying "Linux is wrong", but rather "How TF did this work on Mac?".
cont ->