128 karma · joined Sep 27, 2026 (2mo ago) · 76 submissions
comment 1mo ago · link · parent
I'm kind of sad that all those algorithms have become obsolete, but at the same time, I'm happy that integer division has finally become fast enough in hardware.
comment 1mo ago · link · parent
Bjarne Stroustrup's criterion for language design is that C++ is an abstraction in itself over writing in assembly, and the language design should not get in the way by introducing overhead costs. C++ should allow the programmer to express their intent without losing performance relative to assembly, and it fails in this case due to undefined behavior.
So when the compiler doesn't let you implement your low-level code, it is a failure of the language and compiler relative to the design criteria of C++.
comment 1mo ago · link · parent
Not that exact quote, but the spirit of it at 44:22.
https://youtu.be/uTxRF5ag27A?t=2662
Quote: "A zero-overhead principle. It basically says that if you have an abstraction, it should not cost anything compared to writing the equivalent code at a lower level."
comment 1mo ago · link · parent
The latest models require repeatedly disassembling the sandwich from both sides. You have to remove the keyboard to access a screw, open the bottom, remove another screw to lift the top, then go back and forth between both sides just to reach a fan that frequently gets clogged with dust and needs frequent, regular cleaning.
Even worse, the unavoidable cleaning voids the warranty.
comment 1mo ago · link · parent
comment 1mo ago · link · parent
Yes, 128 bytes. Used for code, data, video, and everything else.
(But it can address 64 KB)
It is so primitive that it is unable to multiply integers. If you want to multiply, you have to write your own algorithm.
comment 1mo ago · link · parent
It showed a chart of brain weight relative to body weight, and birds had a much higher ratio than any other animal group. Primates were on the same curve, which wasn't shared with any other mammalian group. Primates were literally on the avian curve.
But I don't remember where I saw that. I searched for it on Google and found nothing.
comment 1mo ago · link · parent
I've tried to figure it out to see if there are any modern equivalents, but I haven't been able to identify the feature. All I remember is that it was a single checkbox in the Windows driver settings, sometime in the '90s or early 2000s.
I've even downloaded the manuals for old Sound Blaster cards to look for it, but I can't remember which model I had. Creative Labs released so many variations of seemingly similar cards that narrowing it down feels almost impossible.