Pop Goes the Population Count?
Postedabout 1 month agoActive29 days ago
xania.orgTech Discussionstory
informativeneutral
Debate
40/100
AlgorithmsProgrammingScience
Key topics
Algorithms
Programming
Science
Discussion Activity
Light discussionFirst comment
3h
Peak period
5
4-6h
Avg / period
2.1
Key moments
- 01Story posted
Dec 11, 2025 at 9:30 AM EST
about 1 month ago
Step 01 - 02First comment
Dec 11, 2025 at 12:36 PM EST
3h after posting
Step 02 - 03Peak activity
5 comments in 4-6h
Hottest window of the conversation
Step 03 - 04Latest activity
Dec 12, 2025 at 1:00 PM EST
29 days ago
Step 04
Generating AI Summary...
Analyzing up to 500 comments to identify key contributors and discussion patterns
ID: 46231829Type: storyLast synced: 12/11/2025, 8:00:25 PM
Want the full context?
Jump to the original sources
Read the primary article or dive into the live Hacker News thread when you're ready.
[1] https://retrocomputing.stackexchange.com/a/8666/4158
[2] https://archive.computerhistory.org/resources/access/text/20...
I don't know if compilers are able to detect this and compile it down to a single instruction, though.
Maybe a bit of a stretch, but I could see it fitting - https://en.wikipedia.org/wiki/Aptronym
Side note: many years ago I wrote the backend for a private global surveillance system that has almost surely tracked the physical location of anyone reading this. We could efficiently track how often a device had been seen at a location in the prior 64 (days|weeks|months) in just 192 bytes and use popcount to compute the value. I am not proud that I built this.
Not that you couldn't do source level analysis as you suggest... it just wouldn't be effective in many cases.
It would also be 'unstable' in the sense that it might depend on architecture, etc.
I wish GCC and LLVM had compiler passes to semi/automagically "vectorize" hot sections using SIMD, i.e., magic transformation of UTF-8 conversion, regex matching, and string functions.