discord/sorted_set_nif
View on GitHub ↗ ★ 1,652 Elixir
Elixir SortedSet backed by a Rust-based NIF
4 mentions on Hacker News by 4 people: 0 stories, 4 comments · first 2020-11-11 · latest 2024-10-25
20082026
-
I looked at that library and I found https://github.com/discord/sorted_set_nif/issues/30 which made me think it doesn't work on recent Erlang versions and is therefore not used anymore.
comment by depr · 2024-10-25 · in Zigler: Zig NIFs in Elixir -
https://github.com/discord/sorted_set_nif
comment by jhgg · 2024-10-24 · in Zigler: Zig NIFs in Elixir -
…the Discord tidbit will be interesting to others. [0] https://github.com/rusterlium/rustler [1] https://github.com/discord/sorted_set_nif
comment by prophesi · 2024-10-01 · in Ask HN: What is the best way to learn Erlang? -
…G++ has __gnu_pbds which add O(log n) "find_by_order" and "order_of_key" to trees, e.g. [2]. [0] https://github.com/discord/sorted_set_nif/blob/master/native... [1] Technically O(n/max_size + max_size) but we can assume that max_size is…
comment by kilotaras · 2020-11-11 · in Using Rust to Scale Elixir for 11M Concurrent Users (2019)