Tech article

What Zig felt like, coming from Rust

No preview is available. Read the original article for the full story.

Hacker News | Sep 19, 2026 | ksec

Automated excerpt

I’d been using RustRover for Rust and various JetBrains flavors for other languages, and Zig, by comparison, offered little beyond syntax highlighting and basic autocompletion. It’s also a pretty honest way to gauge how big a project actually is: if you can’t resist reaching for folders on day one,maybe it’s smaller than it feels. Here’s the actual difference, side by side:Rust (src/):src/ Duck-typed in Zig:pub fn query(node: anytype, iteration: *JsonPathIter) ! void { Zig:fn collectDescendants(allocator, value: *std. json. Value, path, out) ! void { try out. append(allocator, . { . json = value, . path = try allocator.

Selected automatically from source text; not independently written or fact-checked. Read the original for full context.

Read the original article

More tech news