Hacker Read top | best | new | newcomments | leaders | about | bookmarklet login



sort by: page size:


https://blog.discord.com/using-rust-to-scale-elixir-for-11-m...

Not an implementation, but a very fun explanation, that you could definitely implement if desired.




Thanks for the correction! I conflated what (I believe) some rust teams use as the thing that every thing in official rust uses. I think Rust uses both Discord and Zulip[0].

[0] https://zulip.com/case-studies/rust/







Discussed at the time:

Why Discord is switching from Go to Rust - https://news.ycombinator.com/item?id=22238335 - Feb 2020 (640 comments)

also https://news.ycombinator.com/item?id=23874336 - July 2020 (7 comments)


http://githut.info/

Hm, although I think my estimate is already outdated? It seems like Rust has picked up a lot of steam in the past six months or so.


They're on the bigger side, due to a combination of defaulting to static linking, some optimizations not having been possible (ThinLTO comes to mind), lots of debug strings and metadata, as well as the use of jemalloc[1][2].

[1]: https://jamesmunns.com/blog/tinyrocket/ [2]: https://users.rust-lang.org/t/rust-binary-sizes-once-again/1...




I don't think it's fair to say that Rust is entirely academic. It has a lot of production users including some very large names: https://www.rust-lang.org/production/users

> (does a good/community agreed upon one exist for rust yet?).

I just ran across this: https://csherratt.github.io/blog/posts/specs-and-legion/


As if there aren't plenty of blogs about fighting Go runtime, some of them giving up, and doing rewrites in C++ and Rust.

https://discord.com/blog/why-discord-is-switching-from-go-to...


... and it’s written in Rust! https://twitter.com/svishnevskiy/status/1052334204204150784

In the replies, they said they are planning a blog post to talk about the tech in-depth. Looking forward to that! Apparently they’re also deploying Rust + Elixir via a NIF.

next

Legal | privacy