Programming

Go vs Rust whats your opinion

Started by SzGzW92xYaa · Oct 26, 2025

#11470
↳ Replying to @Beelzebub
[removed]
#11471
↳ Replying to @SzGzW92xYaa
The problem with Rust is that its standard library is really small, meaning you either need to roll your own code or rely more on small packages to implement features (like... reasonable random number generation, lol). This leaves you more vulnerable to supply chain attacks, although this is present really in any language nowadays.

In the real world, Go is currently more popular, but Rust is making its way into all mission critical software. There's a reason why Tor, Monero, a bunch of other cryptocurrencies, the Linux Kernel, Mozilla, etc. are all starting to use Rust now.
#11472
↳ Replying to @lint5045
The key guarantee (and this is a guarantee codified in Rust itself) is that a program built today on a specific platform is guaranteed to work on that specific platform in 20, 30, 50 years time. This guarantee gets blurry when you add more dependencies into the mix, rely on web services, etc, but if you were to take a simple program like the Sieve of Eratosthenes, if you built it today on Rust to target x86 it will run on any x86 device, for now and forever. If you wrote it in, say, Java, you'd need to use a compatible JVM & version of the JVM, basically any other language has some form of dependency that could break or be lost over time.
#11473
↳ Replying to @pgpfreak
My first attempt at coding using a keyboard instead of punch cards was to try to write a pinball machine on my C64.

It was a dismal failure..
#11474
↳ Replying to @SzGzW92xYaa
I like golang better but then again I don't have much experience in Rust and that is subject to change.
#11477
↳ Replying to @SzGzW92xYaa
I feel the same about Go it handle memory points way better for large memory sets. The problem with rust IMO is not alot of internal services you kind of have to roll everything your own.
#11479
↳ Replying to @SzGzW92xYaa
Rust 100%. It's fast, scalable and secure. It's a tough learning curve but worth it.

Members-only continuation

This discussion contains more posts.

Create an account or sign in to continue reading the full conversation. 4 additional posts await inside.

Create an accountSign in