9 ms·
Making an efficient program these days means using an efficient stack, working with threads to avoid blocked code, fighting the other 100+ processes on the CPU
by chinabot 4y ago
Making an efficient program these days means using an efficient stack, working with threads to avoid blocked code, fighting the other 100+ processes on the CPU for resources and possibly avoiding the same on a database server, possibly on the other side of the world. In many ways its a lot harder than the early 80's where you had no networks, diddnt have to worry about security and generally total control of the local OS/CPU.
- rbanffy 4y agoYou forgot the low level parts - properly using the CPU caches. Cache thrashing can make even the fastest most amazingest CPU look like a Celeron from the 90's.