News for hackers. Stuff that matters.
Re:Bad programming ideas that only become apparent after years by zepto on Sunday December 27, 2020 @03:14PM (#25553883)
With #1, I agree you need an escape hatch from GC and or reference counting.

But for most problems, these don’t impose a meaningful penalty and do remove a huge cognitive burden. Why penalize all programmers?

Re:Bad programming ideas that only become apparent after years by Gibbon1 on Sunday December 27, 2020 @04:39PM (#25554491)
What I see as a bad idea is we created systems where the stack is a precious resource. For no actual good reason. You only have a few MB worth of stack. Why, because traditionally CPU's had one stack pointer.

We stick with this despite that stack allocation is vastly faster than heap.