3 ms·
Is any of this code open source? As an outsider, I'm kind of at a loss for why anyone wants this or what you kids are doing over there and how offended I should
by drawnwren 2y ago
Is any of this code open source? As an outsider, I'm kind of at a loss for why anyone wants this or what you kids are doing over there and how offended I should be by it.
- jhgg 2y agohttps://github.com/discord/sorted_set_nif https://github.com/discord/sorted_set_nif
- drawnwren 2y agoAwesome! Thank you! My sarcasm got downvoted heavily (poe's law), but I was genuinely interested.
- alberth 2y agoDo you mean Rustler? Yes, it's Apache 2.0 https://github.com/rusterlium/rustler https://github.com/rusterlium/rustler
- sodapopcan 2y agoTL;DR: Erlang/Elixir/etc are high level languages and the virtual machine they run on, the BEAM, is optimized for speedy IO but is not so great when it comes to intensive CPU tasks. You'll want to write the latter in a good systems language which is what libraries like this provide (you get C bindings out of the box, I believe).