Hacker News new | ask | show | jobs
by burpsnard 2332 days ago
Widget w; // stack

Widget *pw = new Widget(); // heap

Memory is no longer highly constrained

1 comments

Which is double “damning” because plentiful memory means more objects, and often deeper interactions, which means the likelihood of getting object lifetime exactly right declines. Not only does manual management become less necessary, it also becomes less tenable.