New

The latest blog posts to take off on Hacker News. 3,824 posts.

Any topic
2023
3271

Modern Mono

I’ve just finished setting up a new Mac (14" MBP, M2 Pro, 32G, 4T). It dawned on me that most of my really intense interactions with this thing involve looking at “monospace” (i.e. fixed-width) text; in Emacs where I write this blog, in my IDE, and in my terminal. The ones that came with the machine by default are…

3286

Let's write a setjmp

Yesterday I wrote that setjmp is handy and that it would be nice to have without linking the C standard library. It’s conceptually simple, after all. Today let’s explore some differently-portable implementation possibilities with distinct trade-offs. At the very least it should illuminate why setjmp sometimes requires…

3298

How a Zig IDE Could Work

Zig is a very interesting language from an IDE point of view. Some aspects of it are friendly to IDEs, like a very minimal and simple-to-parse syntax (Zig can even be correctly lexed line-by-line, very cool!), the absence of syntactic macros, and ability to do a great deal of semantic analysis on a file-by-file basis…