Exploring Clang/LLVM optimization on programming horror
Recently, I’ve come across a not so efficient implementation of a isEven function (from r/programminghorror ).
Topics /
The most popular blog posts about software engineering on Hacker News. 1,020 posts.
Recently, I’ve come across a not so efficient implementation of a isEven function (from r/programminghorror ).
The user interfaces are a weird thing. There are all sorts of libraries and frameworks that are supposed to help you on your journey of writing a GUI, but despite all the best practices and frameworks forcing you to eat your vegetables, the GUI always ends up being a ridiculous mess. After pondering some more about…
I wrote Gitlet to show how Git works under the covers. I wrote it to be readable. I commented the code heavily.
Title is literally true. This may not be the best place to learn about these concepts for the first time, because I'm going to focus on knocking down the misconceptions about them.
Around 1990, Richard Stallman (RMS) and I were writing the GNU C library getopt() and he wanted to extend it to support long (multi-character) option names for user-friendliness. He considered Unix…
While working through the old posts in order to adjust the front matter (and sometimes more), I thought: Will this last? Or will this go south soon, like it did around with previous projects again? A recent reddit post reinforced this line of thought, so I decided to write down my thoughts on the issue.
Trying out this newsletter thing... It's sort of astonishing to think about how much value I've gotten from Twitter over the last few years. At its best, my...
In the Unity for Software Engineers (now updated and available as a book), series, I give an accelerated introduction to game development in Unity.
A lot of programmers believe that compilers are magic black boxes in which you put your messy code in and get a nice optimized binary out. The hallway philosophers will often start a debate on which language features or compiler flags to use in order to capture the full power of the compiler’s magic. If you have ever…
Add WebAssembly, get performance. Is that how it really works?
Blog of Jonas Bernoulli
Words from Chris Keathley
This may surprise you if you know me, but I’ve been learning Common Lisp for a few weeks now.
This is The Entire Computer Science Curriculum in 1000 YouTube Videos. The curriculum is going to be organized in 40 courses in total, further organized in 4 academic years...
I’ve long thought that Zig was an interesting programming language, potentially more interesting than Rust in many respects given that Zig seems to be targetting a more modern C-like language replacement whereas Rust firmly looks like it is trying to take C++ out back like ol’ yeller. Rust is powerful, but the…
I love when my current problem can be solved with a state machine. They’re fun to design and implement, and I have high confidence about correctness. They tend to:
Docker has recently announced that Docker Desktop will soon require a subscription and, based on the size of your company, may require a paid subscription. (It remains free for personal use). There has been quite a bit of reaction to this news...
I'm afraid I'm not accepting new requests for review. I have reviewed all the ones I've received before 2022-03-24.
I got the chance to investigate an interesting bug in SerenityOS this week. It was related to the decoding of JPG images in the operating system. For some reason, when a JPG image is viewed, it comes out like this: Lenna, showing up with incorrect colors. Weird, huh? Also seems like a simple confusion of RGB vs. BGR…
never leave the comfort of your home row again
It is not just the borrow checker
A year ago I wrote a post comparing .NET 5 performance with its predecessor on Fusion performance tests, and honestly, I was quite…
It covers how to make a time-series database engine from scratch