|
|
|
|
|
by scottlamb
1803 days ago
|
|
As a general rule, I'd expect Rust stuff to use less CPU (as the grandparent comment mentioned, it's optimized with LLVM) and less RAM (no GC). If that's a big win or not depends a lot on what your CLI application is doing. I'm a big fan of Rust but if Go does what you want, great. Go's a simpler language with a more mature/stable ecosystem and much more straightforward async code. Rust of course has generics too, so I find it easier to use the right data structure for the problem (eg btrees) without dropping to interface{}. But it seems like the Go team is getting serious about adding generics so this advantage may be temporary. |
|