Get the latest tech news

Anonymous structavaganza in Zig


Lirk.top: A website with a blog, some games and nice layout.

Both structs occupy 9 bytes of this source file, let them have their own types! A rumbling of evil machinations lowers onto you… A dark voice whispers from a deep subconcious spot: Zig was simply caching the result, it didn’t even care to call type_constructor(0), because it knew it would return the same thing.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of zig

zig

Related news:

News photo

I'm too dumb for Zig's new IO interface

News photo

Faster substring search with SIMD in Zig

News photo

Zig's Lovely Syntax