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)