4 ms·
Sounds like Go is better for web servers because of better concurrency support for millions of users, while Rust is better suited for desktop apps that take adv
by higherpurpose 12y ago
Sounds like Go is better for web servers because of better concurrency support for millions of users, while Rust is better suited for desktop apps that take advantage of all the PC's cores?
- fread2281 12y agoIf you want true lightweight threads, you need haskell or erlang.
- carllerche 12y agoActually, Rust is much closer to the system than Go is making it possible to implement lighter weight web services using Rust than Go. Rust features like not having a GC allows for much more predictable performance. Go's concurrency features are nice if it's your kind of thing, but will get in your way when hitting that "last mile" of performance. For example, if you were to implement something like haproxy, you would probably want to use Rust over Go for performance.