3 ms·
It’s not reasonable to compare “optimization” between a zero-cost abstraction language like Rust and a GC-runtime language like Go. You write different programs
by tptacek 6y ago
It’s not reasonable to compare “optimization” between a zero-cost abstraction language like Rust and a GC-runtime language like Go. You write different programs in each.
There are idiomatic ways to avoid the GC in Go, and people do that in tiny places, but few people build ground-up that way, because it’s not the kind of program Go asks you to write.