Recent submissions

Comment · 3 years ago
Comment · 3 years ago
Inspired by nullprogram's recent post on his alternative, libc-less, thread api.

I decided to see if I could replicated it in zig. I could, with caveats.

Comment · 3 years ago
We need to bring ChatGPT into the modern age.

Plain ascii text output is a relic of previous century; the domain of the neckbeard!

Comment · 3 years ago
I write a clone of the unix cmp utility.

(spoiler) I use zig SIMD features to make it faster than GNU cmp.

Comment · 3 years ago
It's an interesting idea. If I had 2 phones I would probably install LineageOS on one of them and use that as my daily driver.

Keeping the other phone for banking only.

Comment · 3 years ago
Many banks have gone this route.

Either no online access thru a website or requiring an app on your phone as part of the login process (which amounts to the same thing, no phone app, no banking).

Comment · 3 years ago
I noticed a void in zig space. A wrapper for the pcre2 (perl regex) library (or any regex library). So I wrote one.

I briefly describe how wrapping C libraries works in zig and provide a complete (single file) zig wrapper for pcre2.

Comment · 3 years ago
Inspired by a recent post on a D macro which generates an unrolled binary search, I wanted to see whether I could do the same thing in zig.

I could. Here it is...

Comment · 3 years ago
Programmers need to stop working for free and stop aiding the normalization of free work.

No other profession works for free. On the rare occasions they do, they expect and receive massive social status boosts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton