3 ms·
What language/field do you work in? Usually one of a language's native data types will be implemented as a linked list, and/or something in a popular library wi
by smitherfield 10y ago
What language/field do you work in? Usually one of a language's native data types will be implemented as a linked list, and/or something in a popular library will. That said nobody should ever need to roll their own functions for operating on linked lists.
- douche 10y agoLinked lists are slow as shit, most of the time. Even things that looks like they are linked lists, i.e. C#'s List<T>, are really dynamic arrays, akin to std::vector. Cache coherency matters.
- mikestew 10y agoThese days, mostly Objective-C on iOS and Java on Android. Python, mostly, for scripts and quick-and-dirty. Bash for anything else. So, yeah, I haven't seen a lot of linked lists lately. Back in my Microsoft days working mostly with C? You betcha. But I haven't worked there in quite a while.