# Rust vs Go This repository contains two quick implementations of echo servers in both [Rust] and [Go]. Both are great languages with lots of support, I wanted to take a look at the type of operations that our programs will be performing to get an idea of how well each will perform. ## Running the Rust server ```bash cd rust cargo run src/main.rs # Listening on http://127.0.0.1:3000 ``` ## Running the Go server ```bash cd go go run main.go # Listening on 127.0.0.1:3001 ``` ## Testing the servers ```bash # 2MiB RAND_CHARS=$(( 2 * 1024 * 1024 )) # send requests to Rust time bash -c 'tr -dc A-Za-z0-9