A faster way to calculate the day of the week
A range of fast modulus techniques that beat compiler output
Every blog post that took off on Hacker News, ranked by the votes of its best submission. 49,211 posts.
A range of fast modulus techniques that beat compiler output
I’ve released ZLinq v1 last month! By building on structs and generics, it achieves zero allocations. It includes extensions like LINQ to…
My tech posts often come from kind of a negative place. I wish it wasn't like that, but we all know how the mind works: writing with nuance and positivity is a lot harder than fired-up screeds of the "someone is wrong on the Internet" variety.
Russian Translation by frol , Chinese Translation by JiyinYiyong , Japanese Translation by Mutsuha Asada
I was surprised not to find an introduction to Emacs Lisp on learnxinyminutes.com, so I created one, which is now maintained there. Comments and feedback are we...
I’ve been using Vim for eight years and am still discovering new things. This is usually seen as a Good Thing About Vim. In my head, though, it’s a failing of discoverability: I keep discovering new things because Vim makes it so hard to know what’s available. While people often talk about the beauty of modal editing…
Pipes are cool! We saw how handy they are in a previous blog post . Let's look at a typical way to use the pipe operator. We have some output, and we want to look at the first lines of the output. Let's download The Brothers Karamazov by Fyodor Dostoevsky, a fairly long novel.
As the man said, for every complex problem there’s a simple solution, and it’s wrong.
An exploration into C++ memory throughput performance.
Well, I think most of you reading this blog use git more or less on a daily basis, but have you ever looked into what is in the .git folder that git creates? Let's explore it together and understand what is going on in there.
I always wanted to understand how a CPU works, how it transitions from one instruction to the next and makes a computer work. So I thought: let's implement one and run a C program on it.
On September 22, 2016, this site was forced offline for nearly four days after it was hit with “ Mirai ,” a malware strain that enslaves poorly secured Internet of Things (IoT) devices like wireless routers and security cameras into a botnet for use in large cyberattacks. Roughly a week after that assault, the…
Measure frame time, allocations, overdraw, and repeated work before changing code; the useful optimization is the one a trace can prove.
There was a Simpsons episode, I can’t recall correctly, but I think Bart recorded Lisa when her heart broke and he watched it in slow motion to stop exactly at that point. I thought of this e…
LLVM is a godsend of a research tool. Here are some detailed notes on what LLVM is, why you would want to use it for research, and how to get started as a compiler hacker.
piccolo is an interpreter for the Lua language written in pure, mostly safe Rust with an eye towards safe sandboxing and resiliency. It uses gc-arena for its garbage collection system, and in fact gc-arena was originally created as part of piccolo .
The expressive power of Lisp has drawbacks.
As an investor, I've found that one of the reasons there are fewer female startup founders than male ones is that there are fewer female programmers. So this summer I'm trying an experiment to see...
We are past the event horizon; the takeoff has started. Humanity is close to building digital superintelligence, and at least so far it’s much less weird than it seems like it should be. Robots...
New Post: ADTs in TLA+ Using Abstract Data Types in TLA+. It's an adaptation of part of my TLAConf talk. It's also a lot more advanced than most of the...
A guest post on Georgism by Lars Doucet
Fireside this week! We actually haven’t had one of these in quite a while; we had a gap week in April but the last Fireside looks like it was in March! In any case, here we are and here’…