3 ms·
> Go is also a systems programming language so I don't know what you mean. I would like to use Go, yes, and I do when I have a chance. Go is a fully garbage co
by pcwalton 13y ago
> Go is also a systems programming language so I don't know what you mean. I would like to use Go, yes, and I do when I have a chance.
Go is a fully garbage collected language that doesn't offer a lot of support for manual memory management (and that isn't intended to attack Go—it just wasn't one of its goals). Rust is a low-level systems language that allows full control via zero-cost abstractions, but is safe. Achieving that goal requires some new machinery and syntax. Systems programming often entails writing for environments in which you can't use a GC (or even any runtime at all) for performance or other reasons.
> Also your point about syntax vs safety and correctness makes no sense, since it implies that those are mutually exclusive so I'm just going to ignore that one.
Rust has a unique feature—manual memory management with safety—so it needs syntax for it. It's not just syntax for its own sake—it's what gives the language a niche all its own.
- deleted 13y ago[deleted]