News for hackers. Stuff that matters.
Re:Are efficiency and horizontal scalability at odds? by Legend2440 on Wednesday February 12, 2025 @03:35PM (#43029482)
A lot of clocks are still spent waiting for memory. GPUs in particular are limited by memory bandwidth despite a memory bus that runs at terabytes per second.

Back when I started programming, it was reasonable to precompute lookup tables for multiplications and trig functions. Now you'd never do that - it's far cheaper to recompute it than to look it up from memory.

Re:Are efficiency and horizontal scalability at odds? by rbanffy on Thursday February 13, 2025 @02:08PM (#43039900)
Indeed. When I was in college I designed a stack-based CPU. It was a perfectly sane design decision to keep the stack in main memory. It made the design VERY simple (but I kept a couple registers in the architecture, just in case).

These days it'd be an unbelievably stupid decision.