one reason software can scale so well today:
memory allocation and memory consumption are not the same thing. reserving 100 GB of virtual address space may cost almost nothing.
actually touching 100 GB is a completely different story.
one reason software can scale so well today:
memory allocation and memory consumption are not the same thing. reserving 100 GB of virtual address space may cost almost nothing.
actually touching 100 GB is a completely different story.
Most Linux processes use far more virtual memory than physical memory.
A 20 MB program may have gigabytes (or even terabytes on 64-bit systems) of virtual address space available.
Virtual address space is cheap. Physical pages only consume RAM once they are actually mapped and used.
Google is fighting every final boss at once:
OpenAI & Anthropic in models, Nvidia in chips, AWS & Microsoft in cloud, Meta in ads, Tesla in self-driving, Apple in phones and OS.
At $4.6T, it feels weirdly undervalued.
The industry has gone completely nuts.
Use tokens to generate AI code and documentation slop. Then use even more tokens to understand and review that slop.
Then judge engineers by token usage instead of how empathetic and clear their docs and code actually are, and completely neglect human comprehension.
Utter nonsense.
atoi() in musl accumulates the result as a negative number, then negates at the end.
INT_MIN (-2147483648) has no positive counterpart in 32-bit signed int. parsing it as positive could overflow.
so it goes negative first.
the deliberate fallthrough from - to + isn't a bug.
many people no longer want to build legendary things.
they want to look like the kind of person who builds legendary things.
that’s a completely different ambition.
The worst thing social media did to smart people was convince them they need a personal brand.
Now everyone talks like a startup founder pitching investors instead of a human being with genuine thoughts.
On May 6, 2010, the US stock market went into chaos for about 36 minutes.
Major indexes suddenly crashed, wiping out nearly $1 trillion in market value before rebounding just as fast.
High-frequency trading algorithms started reacting to each other & liquidity disappeared. some stocks briefly traded for pennies.
It became known as the Flash Crash.
For a moment, the market was moving faster than humans could realistically follow.
everyone's discovering /dev/shm as a RAM filesystem trick, but POSIX already solved this years ago with shm_open().
that's literally what shared memory is for.