This comparison examines the performance of Go and Rust programming languages using only their standard libraries. The tests were conducted on AWS m7a.large EC2 instances, measuring latency, requests per second, CPU usage, and memory usage. The findings indicated that a single-threaded Rust application handled around 1,500 requests per second, while a multi-threaded version reached 4,000 requests per second. On the other hand, a production-ready Go REST application managed thousands of requests per second using just its standard library.

3m watch time
2 Comments

Sort: