Operation Costs in CPU Clock Cycles
Quote: Back in 80s, it was possible to calculate the speed of the program just by looking at assembly. Another Quote: keep in mind that these days compilers ...
Posts that commenters keep linking to, ranked by how many different people have cited them in Hacker News comments. 466 posts.
Quote: Back in 80s, it was possible to calculate the speed of the program just by looking at assembly. Another Quote: keep in mind that these days compilers ...
Benchmarking throughput and latency of Amazon AWS Simple Storage Service (S3), Google Cloud Storage (GCS) and Microsoft Azure Storage object storage services
Personal Blog of Will Drevo
This page lists some of the changes I make to a vanilla install of FreeBSD for security hardening. Some changes to increase network performance or make things a bit more sane are also included. It only covers basic changes that a sysadmin can make to a running system.
As a project evolves, does the new code just add on top of the old code? Or does it replace the old code slowly over time? In order to understand this, I built a little thing to analyze Git projects, with help from the formidable GitPython project.
A space efficient UTF-8 binary-to-text encoding
How Stephen Wolfram helped with the theory of interstellar travel, communication with aliens and questions from the actors in “Arrival”, the movie.
QUIC replaces TCP with UDP for faster connections, eliminating head-of-line blocking and reducing latency. Learn how it works and why it matters.
Welcome to the brand new tutorial series - “Design and Implementation of a Win32 Text Editor!” The purpose of these tutorials is to follow the development of a …
Portability and Robustness issues commonly found in shell scripts
graph theory, music theory
Some people on the internet are getting very excited at the (unconfirmed) reports of an "Earth-like" exoplanet orbiting Proxima Centauri , a mere 4.25 light-years away from Earth. If correct, the planet is orbiting in the liquid water zone around our nearest stellar neighbour and is of the same order of mass as the…
An Obviously Critical Response to “Economic Inequality” by Paul Graham
I wanted to know how a modern C compiler like clang would process the following C code: #include <stdint.h> int count(uint64_t x) { int v = 0; while(x != 0) { x &= x - 1; v++; } return v; } Can you guess? popcntq %rdi, %rax That is right. A fairly sophisticated C function, … Continue reading The surprising cleverness…
Let's start with a quick quiz: Take a look at haveibeenpwned.com [https://haveibeenpwned.com/] (HIBP) and tell me where the traffic is encrypted between: You see HTTPS which is good so you know it's doing crypto things in your browser, but where's the other end of
One of the most annoying problems in Swift is when the compiler gives an 'Expression was too complex to be solved in a reasonable time' error. I look at why this error occurs, how to avoid it and talk about how this should be solved in a future compiler update.
You mean the one where he says that he tried it for a few months and then gave up? Yes, I read it.
I’m just going to jump right into the definitions and rigor, so if you haven’t read the previous post motivating the singular value decomposition, go back and do that first. This post will be theorem, proof, algorithm, data. The data set we test on is a thousand-story CNN news data set. All of the data, code, and…
The Goal – Explain What is Magic Leap Doing Magic Leap has a way of talking about what they hope to do someday and not necessarily what they can do anytime soon. Their patent applications ar…
C++ has changed a lot in recent years. The last two revisions, C++11 and C++14, introduce so many new features that, in the words of Bjarne Stroustrup, “It feels like a new …
So the C programming language has been getting a lot of bad press recently; a really stupid bug in some C code has compromised some of the core security infrastructure on the internet. The fix is easy, but the knock-on effects are going to go on for years and will cost serious amounts of money. As a result, people…
This is the first article in a series dedicated to multiple dispatch - an advanced abstraction technique available to programmers out-of-the-box in some languages, and implementable in others. This first post in the series presents the technique and explains the problem it intends to solve. It uses C++ as the…
Kind people already sent donations that will make my childrens' lives easier, when I'm not there any more. Thank you enormously! :-)
We can define roundness in many ways. For example, as you may know, the circle is the shape that given a fixed perimeter maximizes the area. This definition has many problems. One of the problems is that countries generally have chaotic perimeters (also known as borders), so they tend to be much longer than they seem…
A few days ago, I wrote about how I'm helping restore a Xerox Alto for Y Combinator. This new post describes the first day of restoration...
Cyrille Rossant,