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

Kernels, embeded, games come to mind.

For all of them, a major advantage of linked-lists is that they really are constant time. For example, if you are programming a game, you gennerally do not want to use a vector. Even though vectors amoratize to O(1), and may be, on average, faster, they occasionally take a long time. Switching to a linked list could be the difference from going from 100FPS with an occasional 1FPS, to going at a constant 80FPS.

Also, linked lists can (counterintuitivly) often make better use of a low memory environment. This is because they do not require a continuous block of ram, so they can fill in free memory that has become fragmented.

Also, in many cases linked-lists produce very clear and understandable code.

And functional programming.




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

Search: