Digital Media
Claim pageClaim
Follow
Overview
Connections
News
Salaries
Products
People
Growth
Offices
Financials
Overview
Daniel Lemire's blog. Daniel Lemire is a software performance expert. He ranks among the top 2% of scientists globally (Stanford/Elsevier 2025) and is one of GitHub's top 1000 most followed developers.
News
AI programming : are you angry yet?
AI-assisted programming is fast evolving and there is a tension between 'we no longer need to understand the code' and 'what is my purpose as a programmer'. I recorded a short video on this topic with how I think the tension can result in conflicts.
Read more
Report
Profile-guided optimization in Go
When a compiler optimizes your program, it has to guess. Which functions are worth inlining? Which side of a branch is the common one? Which method does this interface call actually reach? At compile time it cannot know, so it uses heuristics. Profile-gui
Read more
Report
How fast is C++26's std::hive?
C++26 adds a new container to the standard library: std::hive. It is meant to occupy the ground between std::vector and std::list. Like a vector, it keeps its elements in contiguous blocks of memory, so scanning it does not require you to chase a pointer
Read more
Report
Memory-level parallelism: AMD is the king
When your program asks for memory that is not in cache, the processor has to go to RAM. That trip costs on the order of 100 nanoseconds. On a 3 GHz core, that is about 300 cycles of doing nothing. Memory latency has not improved in ten years. The 2016 Bro
Read more
Report
Does a PhD Pay Off?
Every week, I discuss with people who want to get a PhD. For years, I have been advising people not to pursue a PhD. It may come as a surprise to some. You would expect people with a PhD to earn more money. Individuals who complete doctorates tend to have
Read more
Report
From Institutions to Individuals: the White House Report on Revitalizing U.S. Scientific Leadership
In 1945, Vannevar Bush published a report entitled Science: The Endless Frontier. His thesis was that prosperity follows from basic research. The report was highly influential in the United States and elsewhere. It led to the creation of an entirely new g
Read more
Report
Using AI to build your own software
A few years ago, a friend of mine was stuck. He needed to quickly process over a hundred high-quality images according to a complicated sequence. He was using Photoshop, but it was going to take him days. Initially, he asked for my help, could I do the ma
Read more
Report
X just gave us an interface that AI agents can use. I pointed it at my own posts.
I have been on X for a long time. Like most people who post regularly, I have a gut feeling for what might interest people. I post in the morning. Longer posts seem to do better. But gut feelings are not measurements. And until recently, digging into your
Read more
Report
Chatting with an AI Won't Make You a Top Programmer
When I was a kid, most people did not know how to type. We took typing class. The final exam was a speed test: words per minute. Today, you will not impress anyone by saying you can type. In fact, cursive writing is fading. Kids increasingly cannot read o
Read more
Report
Parsing JSON at compile time with C++26 static reflection
Suppose that you have a configuration file in JSON. Something like this: { "width": 1920, "height": 1080, "fullscreen": true, "title": "My Game", "volume": 0.8 } Normally you ship this file alongside your program, open it at startup, read it, and parse it
Read more
Report
Show more news
