Hacker News new | ask | show | jobs
by thatinstant 3064 days ago
There are several blog posts out there on the Go vs Rust debate and how both languages are not really in the same boxing weight class, so to speak, but people tend to compare and contrast the two languages more often because they both launched around the same time. With that said, I'll take a crack at this question... Without having to define what "large amount" means to you or others, I would guess you want to pick Rust. Go uses a runtime to perform garbage collection; while Rust is not runtime-based (no garbage collection), and manages memory with zero-cost abstractions and a very strict compilation process. So, if you're turned off by your applications being attached at the hip to a garbage collector that will cost precious milliseconds, then Rust is a better choice. It's also a better choice for having more advanced language features than Go. Rust is a LLVM-based language so I believe Rust can target more platforms than Go, but Go has a better story for easier cross-compilation right now. However, one of the Rust team's goals for 2018 will be focusing on easier cross-compilation.