# Why Discord Is Switching From Go To Rust

**URL:** <https://onehack.st/t/why-discord-is-switching-from-go-to-rust/173692>\
**Category:** News & Articles\
**Tags:** programming\
**Created:** [February 25, 2021, 2:47pm UTC](https://onehack.st/t/why-discord-is-switching-from-go-to-rust/173692 "2021-02-25T14:47:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![TheStrength](https://onehack.st/user_avatar/onehack.st/thestrength/32/46753_2.png) [@TheStrength](https://onehack.st/u/TheStrength)\
**Post date:** [February 25, 2021, 2:47pm UTC](https://onehack.st/t/why-discord-is-switching-from-go-to-rust/173692/1 "2021-02-25T14:47:36Z")

</div>

![image](https://onehack.st/uploads/default/original/3X/1/9/1955a527d15663510b85379b7bbb475fe17190e5.png)

[RoccamOccam](https://developers.slashdot.org/~RoccamOccam) writes:

_The developers at Discord have seen success with Rust on their video encoding pipeline for Go Live and on their Elixir NIFs’ server. Recently, they [penned a post](https://blog.discord.com/why-discord-is-switching-from-go-to-rust-a190bbca2b1f) explaining how they have drastically improved the performance of a service by switching its implementation from Go to Rust._

 

_From the post, “Remarkably, we had only put very basic thought into optimization as the Rust version was written. Even with just basic optimization, Rust was able to outperform the hyper hand-tuned Go version. This is a huge testament to how easy it is to write efficient programs with Rust compared to the deep dive we had to do with Go.”_
