DEV Community

Vee Satayamas
Vee Satayamas

Posted on

Different languages have different core data structure

Sometimes I don't aware that I use different data structures.

  • [1,2,3] in Rust is an array.
  • [1,2,3] in Elixir is a singly-link list.
  • [1,2,3] in PHP is an ordered hash map.
  • [1,2,3] in Clojure is a hash array mapped trie.

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more