Debug your programs like they're closed source
Debug your programs like they're closed source!
I installed CoreOS on a 9-year-old MacBook
DeLorean DMC-12
Web App Speed
When Apple originally released the iPhone SDK in 2008, I was extremely excited about it, and immediately started working on multiple different iPhone apps. By 2009, though, I had become so uncomfortable with Apple’s stewardship of its mobile platform that I released the one game that was furthest along, and…
Optimized Go gzip/zip packages, 30-50% faster
I have worked on optimizing the standard library deflate function, and I am happy to announce revised gzip/zip packages, that on x64 is about 30-50% faster with slightly improved compression. Project: https://github.com/klauspost/compress All packages are drop-in replacements for the standard libraries, so you can use…
Considering performance in the small is not “premature optimization”
DISCLAIMER : The following are my own personal opinions and are not shared, sanctioned or endorsed by anybody in particular, especially my employer. Any criticisms expressed herein are of a general nature and are neither inspired by nor directed at any person, entity, or product in particular. Links to other online…
Go, D, Erlang and C in real life: MQTT broker implementation shootout (2013)
At work we recently started using the MQTT protocol, which uses a publish / subscribe model. It’s simple in the good way and well thought out. We went with an open source implementation named…
Erlang Garbage Collection Details and Why They Matter
Hamidreza Soleimani's Blog - Just about what I know
Rust Faster
This is a co-production with Veedrac, who wrote most of the awesome technical details.
Memory Layouts for Binary Search
Binary search is a wonderful algorithm: theoretically optimal, fast in practice, and discoverable by school children playing guessing games. Usually we think of binary search as being applied to a sorted array, and we teach it this way.
Using strace to figure out how Git push over SSH works
Yesterday I was curious about how git push works over SSH. I’m getting more used to using strace to figure this kind of thing out, so I gave it a shot. If I strace pushing to this site’s repository, this shows up:
The Taos Operating System (1991)
{This material originally appeared in the March, 1991 International Edition of Byte magazine, a McGraw-Hill publication} To describe TAOS (pronounced 'dowse' as in the oriental religion Daoism) as an innovatory operating system would be a profound understatement. It has so few points of
Incorporating and accessing binary data into a C program
Blog about Ubuntu from a kernel engineer
10Gbit/s full TX wirespeed smallest packet size on a single CPU core
The Linux Kernel Network Stack Scalability, mitigating DDoS attacks firewalling iptables netfilter connection tracking (conntrack)
Call Me Maybe: Percona XtraDB Cluster
Percona’s CTO Vadim Tkachenko wrote a response to my Galera Snapshot Isolation post last week. I think Tkachenko may have misunderstood some of my results, and I’d like to clear those up now. I’ve ported the MariaDB tests to Percona XtraDB Cluster, and would like to confirm that using exclusive write locks on all…
W^X policy violation affects Windows drivers compiled in VS 2013 and previous
Back in June, I was doing some analysis on a Windows driver and discovered that the INIT section had the read, write, and executable characteristics flags set. Windows executables (drivers included…
The Death of the Von Neumann Architecture
Lots of exciting new things were announced at the latest Apple WWDC this week, but hidden amongst the big announcements was an extension of something that's been bothering me for a while.