New
The latest blog posts to take off on Hacker News. 21,835 posts.
Glob Matching Can Be Simple and Fast Too
Here’s a straightforward benchmark. Time how long it takes to run ls ( a* ) n b in a directory with a single file named a 100 , compared to running ls | grep ( a.* ) n b . Superscripts denote string repetition and parentheses are for grouping only, so that when n is 3, we’re running ls a*a*a*b in a directory…
High-performance .NET by example: Filtering bot traffic
Mistakes and lessons from a real-world feature performance optimizations: from API usage to advanced data structures, from bit hacks to CPU-friendlier code.
Linked Lists Are Still Hard
Stephen Brennan's personal website and blog.
A Foray into Go Assembly Programming
This blog post started last August when I was integrating the Spectator PercentileTimer concept into the metrics library in Rend so we could get better cross-fleet latency percentiles.
Reproducing Go binaries byte by byte
Fully reproducible builds are important because they bridge the gap between auditable open source and convenient binary artifacts. Technologies like TUF and Binary Transparency provide accountability for what binaries are shipped to users, but that’s of limited utility if there is no way (short of reverse engineering)…
All about java.util.Date
This post is an attempt to reduce the number of times I need to explain things in Stack Overflow comments. You may well be reading it via a link from Stack Overflow – I intend to refer to thi…
Fewer mallocs in curl
Today I landed yet another small change to libcurl internals that further reduces the number of small mallocs we do. This time the generic linked list functions got converted to become malloc-less (the way linked list functions should behave, really). Instrument mallocs I started out my quest a few weeks ago by…
[ -z $var ] works unreasonably well
There is a subreddit /r/nononoyes for videos of things that look like they’ll go horribly wrong, but amazingly turn out ok.
Stop Guessing Languages Based on IP Address
There’s better ways to do this already built into HTTP.
ARM Releases Machine Readable Architecture Specification
Researcher at Intel
Metaprogramming is less fun in D
Despite the speaker’s calm voice and the slides showing almost nothing but code in C++ (which isn’t what you’d normally expect from a keynote), Louis Dionne’...
Raw Linux Threads via System Calls (2015)
Linux has an elegant and beautiful design when it comes to threads: threads are nothing more than processes that share a virtual address space and file descriptor table. Threads spawned by a process are additional child processes of the main “thread’s” parent process. They’re manipulated through the same process…
JavaScript performance, WebAssembly, and Shared Memory in Microsoft Edge
JavaScript performance is an evergreen topic on the web. With each new release of Microsoft Edge, we look at user feedback and telemetry data to identify opportunities to improve the Chakra JavaScript engine and enable better performance on real sites. In this post, we’ll walk you through some new features coming to…
Tmux and Vim – better together
There are numerous benefits of using tmux. The benefits I discussed there are independent of one’s choice of text editor. But if you’re a vim user, the benefits of tmux reach even further. One of the best aspects of tmux is that it unlocks the potential for a more powerful vim-based development environment, allowing…
Hard-won lessons: Five years with Node.js
After five years working with Node.js, I’ve learned a lot. I’ve already shared a few stories, but this time I wanted to focus on the ones I learned the hard way. Bugs, challenges, surprises, and...
Modernizing the DOM Tree in Microsoft Edge
The DOM is the foundation of the web platform programming model, and its design and performance impacts the rest of the browser pipeline. However, its history and evolution is far from a simple story. Over the past three years, we’ve embarked on an in-flight refactoring of the DOM in Microsoft Edge, with our eye on
CodeStar – Quickly Develop, Build, and Deploy Applications on AWS
It wasn’t too long ago that I was on a development team working toward completing a software project by a release deadline and facing the challenges most software teams face today in developing applications. Challenges such as new project environment setup, team member collaboration, and the day-to-day task of keeping…
What programming languages are used late at night?
Do you program in the evening? How about late at night? I enjoy programming as a hobby and I'm a bit of a night owl, so I often code well outside working hours, sometimes past midnight. And whatever time it is, when I run into a bug I visit Stack Overflow. This means that Stack Overflow data can give us insights into…