New
The latest blog posts to take off on Hacker News. 14,540 posts.
My primality testing code is faster than Sir Roger Penrose's
But, I guess he did win the Nobel Prize for Physics in 2020 so I can't really brag. However, it was a great surprise when looking at two pa...
Curl on 100 Operating Systems
In a recent pull-request for curl, I clarified to the contributor that their change would only be accepted and merged into curl's git code repository if they made sure that the change was done in a way so that it did not break (testing) for and on legacy platforms. In that thread, I could almost … Continue reading…
Why do people still use VBA?
Introduction Recently, I watched a video by YouTuber ThePrimeTime which details a dev’s frustrations with business culture. Prime is an ex-entrepreneur who currently works in software development at Netflix. His views in this video have been criticised for being jaded by FAANG business cultures he has worked in. I…
Writing a GPT-4 script to check Wikipedia for the first unused acronym
Curious what the first ‘unused’ alphabetic acronym is, I have GPT-4 write a script to check English Wikipedia. After three bugs, the first unused one turns out as of 2023-09-29 to be the three-letter acronym ‘CQK’, with another 2.6k TLA unused, and 393k four-letter acronyms unused. Exploratory analysis suggests…
Four Kinds of Optimisation
Premature optimisation might be the root of all evil, but overdue optimisation is the root of all frustration. No matter how fast hardware becomes, we find it easy to write programs which run too slow. Often this is not immediately apparent. Users can go for years without considering a program’s performance to be an…
A decade of developing a programming language
In 2013, I had an idea: "what if I were to build my programming language?". Back then my idea came down to "an interpreted language that mixes elements from Ruby and Smalltalk", and not much more.
I accidentally a scheme
wingolog: article: i accidentally a scheme
My favorite coding question to give candidates
A coding question, from the viewpoint of an Google/Amazon/Microsoft interviewer
Designing a programming language to speedrun Advent of Code
“shouldn’t this have been published a few months ago?” yeah, probably. I even considered submitting it to the AoC contest. time is a real beast. The title is clickbait. I did not design and implement a programming language for the sole or even primary purpose of leaderboarding on Advent of Code. It just turned out…
HTML Web Components
I think the word “component” in “web components” confused a lot of people — at least it did me. “Web components” sounded like the web platform’s equivalent to…
Let's create a Python Debugger together
An article series where I show you how to write a fully functional Python debugger.
Link-Time Optimisation (LTO)
I recently started exploring link-time optimisation (LTO), which I used to think was just a single boolean choice in the compilation and linking workflow, and perhaps it was like that a while ago… I’ve learned that these days, there are many different dimensions of LTO across compilers and linkers today and more…
Cursorless is alien magic from the future
Xe Iaso's personal website.
i386 Assembly Language trick for storing data in .text
Don’t want a big old bloated multi-kilobyte executable with a data segment, but you do need to store some data?
Interactive examples for learning jq
Learn how to search, query, and modify JSON data with 25 interactive jq examples and explanations
Writing a Compiler is Surprisingly Easy (part 1)
Part 1: expressions, arithmetic Part 2: statements, control flow Ever since I was a teenager I wanted to create my own systems pr...
Go, Containers, and the Linux Scheduler
How to make the Go runtime play nicely with the Linux Scheduler
A four year plan for async Rust
Four years ago today, the Rust async/await feature was released in version 1.39.0. The announcement post says that “this work has been a long time in development – the key ideas for zero-cost futures, for example, were first proposed by Aaron Turon and Alex Crichton in 2016”. It’s now been longer since the release of…
Git rebase, what can go wrong
git rebase: what can go wrong?
A linear algebra trick for computing Fibonacci numbers fast
Fast Fibonacci Computations With a Linear Algebra Twist
See the History of a Method with Git log -L
Git can “trace the evolution” of a specific method, showing you logs of how it has changed over time.