Pros for GO
- Log statements and error handling go hand in hand. log.Fatalf will interrupt program execution and log a statement.
- GO is way faster to compile, which means more time programming, less time waiting for the computer to load.
- Testing in GO is built in and the test files let you test private methods.
Pros for Rust
- Many languages provide memory safety through garbage collection. But garbage collection doesn't give you any help in preventing data races. Rust instead uses ownership and borrowing to provide its two key value propositions:
- Memory safety without garbage collection.
- Concurrency without data races.