Hacker News new | ask | show | jobs
by fenollp 4505 days ago
> Side note: dynamic hash tables just hit Erlang THIS MONTH. So, that's probably not a good reason anymore.

What? Erlang's hashtables are called `ETS` and `DETS` and have been there since at least 1997.

What I believe you are referring to are `maps`, which while they have the syntax of scripting languages' hashes, are nothing but trees. Access is far from constant time. Then again Erlang had these a while ago. They are just adding syntax sugar and pattern matching.

1 comments

I'm not getting into the maps/records/ets/mnesia debate. Yes, you could do it in Erlang, but it was clunky and verbose.

Maps are what people coming from other languages expect to see, and I wanted to point out that now Erlang has them.