Hacker News new | past | comments | ask | show | jobs | submit login

> a compiler issue that could be solved by escape analysis

It could be solved today, not in the sixties when Simula has been designed. It's fascinating how much scientific progress we're taking for granted, assuming that is has been that way forever.

> A Simula linked list has as much indirection as a C++ std::list<T>

Barring the same comment on the progress in generic types, intrusive lists are on a bit different scale. The difference between a T which can be a part of intrusive list and List<T> is in how T gets into a list. For intrusive list the links are already in your T. If you have an element and want to add it to the list then it's a bunch of pointer assignments. For non-intrusive list you have to allocate a new list node, and maybe even move your element there.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: