Golang vs Rust 性能之间的较量(1)

RustGolang86.69%RustGolangDropboxTwitchNetflixUber
Gopher Vs Ferris crab
GopherGoRust
i72.6GHz16GB
执行次数
10064O(n²)10¹²

GO排序

Rust排序
结果

100nnxy
Go9600KBRust8116KB
结论
Rust
动态内存分配
GoRustRust10064int10

Go

Rust
结果
Rust16.0244 秒Golang39.7851Go2.771499872
结论
RustGolangGC7%
下一步是什么?
RustGolangGolangGo
感谢您阅读这篇文章。希望你学到了新东西。快乐编码!
参考地址[1]
参考资料
参考地址: https://medium.com/@bhvsaraf536/clash-of-the-compiled-golang-vs-rust-62595cb90377