this post was submitted on 13 Aug 2023
20 points (77.8% liked)

Golang

2206 readers
2 users here now

This is a community dedicated to the go programming language.

Useful Links:

Rules:

founded 1 year ago
MODERATORS
 

Rust vs Go in 2023

Which is better, Rust or Go? Go or Rust? Which language should you choose for your next project in 2023, and why? How do the two compare in areas like performance, simplicity, safety, features, scale, and concurrency? What do they have in common, and where do they fundamentally differ? Let’s find out, in this friendly and even-handed comparison of Rust and Golang.

top 7 comments
sorted by: hot top controversial new old
[–] [email protected] 3 points 1 year ago

All languages have their place and there's no simple "better" or "worse" between any of them.

Go's great for quickly and efficiently writing web services and other general programs. It's clean, simple and quick to learn. Executables are pretty fast and it's safe.

Rust's aimed more at systems level programming like operating systems etc. but it's also suitable for general programs. It's complex and hard to learn but powerful according to its advocates. Like Go, executables are fast and it's safe.

[–] [email protected] 3 points 1 year ago

My next project is dealing the RDF. I really wanted to use Go for this, but there aren't any fully features RDF libraries for Go. Rust has a few pretty mature RDF libraries, so Rust it is.