# How do I code a simple linked list using DataStructures.jl

**URL:** <https://discourse.julialang.org/t/how-do-i-code-a-simple-linked-list-using-datastructures-jl/80929>\
**Category:** New to Julia\
**Tags:** data\_structures\
**Created:** [May 12, 2022, 3:47am UTC](https://discourse.julialang.org/t/how-do-i-code-a-simple-linked-list-using-datastructures-jl/80929 "2022-05-12T03:47:28Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![jling](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jling/32/212909_2.png) [@jling](https://discourse.julialang.org/u/jling)\
**Post date:** [May 12, 2022, 5:36am UTC](https://discourse.julialang.org/t/how-do-i-code-a-simple-linked-list-using-datastructures-jl/80929/4 "2022-05-12T05:36:08Z")

</div>

> [@Linked list](https://discourse.julialang.org/t/linked-list/6633/3):
>
> I updated Lists.jl awhile ago to make this: (it was a PR to fix, update, and “conciseify” but it wasn’t looked at for months so it became a fork, but it all worked so I just registered it). Don’t assume that. [[Bjarne Stroustrup: Why you should avoid Linked Lists] ](https://www.youtube.com/watch?v=YQs6IC-vgmo)

If you’re using this for production code that has performance requirements, maybe also consider not using linked list. Pointer chasing is slow

---

_[View the full topic](https://discourse.julialang.org/t/how-do-i-code-a-simple-linked-list-using-datastructures-jl/80929)._
