TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

The Road to Zig 1.0 [video]

44 pointsby FraaJadabout 6 years ago

3 comments

kristoff_itabout 6 years ago
It&#x27;s hard to overstate how nice the ergonomics of comptime execution are. I wrote a Cuckoo filter library in C a couple of years ago and then stopped because it really took too much effort to do all the things I wanted.<p>Now I&#x27;ve rewritten it in Zig in one evening, it&#x27;s drastically easier to understand and it even has more zero-cost features, all of this in less lines than the original macro-ridden code.<p>I will soon add more comments and safety features, but for now it felt really good to be able to remove all the redundant code without having to recur to hacks.<p>Here&#x27;s the link: <a href="https:&#x2F;&#x2F;github.com&#x2F;kristoff-it&#x2F;zig-cuckoofilter" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;kristoff-it&#x2F;zig-cuckoofilter</a>
silisiliabout 6 years ago
Nice talk! I could watch any PL talk for hours on end I think.<p>Unrelated to the language, but at ~41 or 42 minute mark I noticed the pronunciation of &#x27;executable&#x27; and it made me really think. He says it in a way that highlights &#x27;exec&#x27;, which makes a lot of sense, whereas I normally would say it with emphasis on the third syllable. Now I wonder how most programmers say that word...
评论 #19895341 未加载
joshbaptisteabout 6 years ago
Hmm.. never heard of Chariot Solutions yet they have a lot of technical presentation videos for my consumption, thanks.