[image] oscar6echo: I have added a parallel version of the algo. Before going into parallelization, I’d suggest improvements to the algorithm. As I called out, essentially all of its time is spent in a highly suboptimal, quadratic-time, duplicates check. A trivial usage of a HashSet already … Answer from steffahn on users.rust-lang.org
🌐
Reddit
reddit.com › r/rust › rust vs go/jvm: dev speed + safety in practice
r/rust on Reddit: Rust vs Go/JVM: dev speed + safety in practice
June 24, 2023 -

Okay, we all know that Rust is theoretically faster, even if only by a little bit. That's great, but it's not actually my main consideration.

For those with extensive experience with Rust vs. Go/JVM-based languages, have you noticed any major differences in dev speed + code safety? If we want to focus on a specific category of apps, let's say web services.

Top answer
1 of 5
110
Complex software becomes easier to write/express, and hugely easier to get right, with Rust. Simple logic is quicker to write in other GC-based managed languages. Like if you just want to jot down a note, opening Word and creating a proper formatted template is too much work. You'd just open up Notepad instead. But once your document gets up to a certain complexity and size, it becomes exponentially more difficult to manage it in Notepad. Then you find yourself biting the bullet and transferring it to Word. You cannot say which is better. They serve different needs. The trick is complexity and security, not really the type of web services. Can your ws crash and just restart? Or must it stay up 24x7, no failures accepted? Is your ws very complex or simple one-liner? These questions determine your tech stack, not the app category.
2 of 5
47
I've done distributed business applications in Java and library development in Rust. There was one particular business application that was probably over 500k lines of code, and had been factored into 30+ different repositories (for maintainability, ostensibly). I cannot count the number of times we had issues in production because of a NullPointerException for some edge case that we didn't think was possible. Sometimes it was subtle changes in a RPC or library, and sometimes it was our own code that was at fault. I personally broke the entire financial reporting part of the application because I used an immutable list, and some method in a different repo was expecting it to be mutable without making a defensive copy. The Rust type system and ownership model would have prevented us from introducing a lot of those in the first place, and the way dependencies are handled in Rust would meant that we got compile-time errors instead of runtime errors for many other problems. You can write unmaintainable code in Java or Rust or any other language, but Rust can prevent you from introducing several entire categories of potential problems even if the code is bad.
🌐
Bitfield Consulting
bitfieldconsulting.com › posts › rust-vs-go
Rust vs Go — Bitfield Consulting
February 15, 2026 - Rust’s clever compiler produces optimised code that runs as fast as the underlying hardware will allow, equalling the performance of C++ or assembly language programs without sacrificing memory safety. Control. To get the most out of modern CPUs, programmers need to get “close to the metal”, and Rust offers low-level control and excellent interoperability with C/C++ libraries. Go is an ideal language when the situation demands:
🌐
Quora
quora.com › What-is-the-performance-of-Go-compared-to-that-of-C-Java-Rust-for-server-side-web-development
What is the performance of Go compared to that of C++/Java/Rust for server-side web development? - Quora
If you’re dealing with super ... performance really means. If performance means raw performance speed, Go is usually not faster than C, C++ or Rust....
🌐
Reddit
reddit.com › r/rust › speed of go vs rust in practice/real world experience?
r/rust on Reddit: Speed of Go vs Rust in practice/real world experience?
June 23, 2023 -

Hi!

I don't want to start another language war, so let me preface this by saying I love both Go and Rust like they are my own.

That out of the way: Do you have practical/real-world experience with the performance of Go, and the performance of Rust in the same setting?

How many people worked on the codebases? Which one is newer?

I'm asking because I've got a feeling that for smaller companies, Go would in practice (not in theory) outperform Rust because Rust's design encourages the use of inefficient patterns -- like cloning a bunch where you could theoretically pass a reference

🌐
Medium
medium.com › @dexwritescode › comparison-between-java-go-and-rust-fdb21bd5fb7c
Comparison between Java, Go, and Rust | by Dex | Medium
July 2, 2023 - When a Java application is started, the Just-In-Time (JIT) compiler is invoked to optimizes the bytecode by compiling it to native code whenever and wherever possible to enhance the application’s performance. Both Go and Rust are compiled to native code ahead-of-time, and no further optimization ...
Find elsewhere
🌐
JetBrains
blog.jetbrains.com › rust › 2025 › 06 › 12 › rust-vs-go
Rust vs Go: Which One to Choose in 2025 | The RustRover Blog
February 17, 2026 - Thanks, we've got you! Rust and Java couldn’t be any more different. One is a battle-tested giant with enterprise-scale use cases. The other is a relative newbie with a rapidly growing community and real-world applications. While Rust is praised for its focus on safety and performance, its complexity presents…
🌐
Programming Language Benchmarks
programming-language-benchmarks.vercel.app › go-vs-rust
Go VS Rust benchmarks, Which programming language or compiler is faster
* (You may find time < time(user) + time(sys) for some non-parallelized programs, the overhead is from GC or JIT compiler, which are allowed to take advantage of multi-cores as that's more close to real-world scenarios.)
🌐
Reddit
reddit.com › r/softwarearchitecture › c++ vs rust vs go
r/softwarearchitecture on Reddit: C++ vs Rust vs GO
September 22, 2021 -

I currently write code in C#, using Console Application, Blazor, or WebForms

Question 1:
I'm looking at going into a low-level language. My interpretation of what a low-level language can actually do (like C++, Rust and GO) is quite limited. What can these kinds of languages offer which C# can't? Although I'm pretty much fluent in coding in C# I still struggle reading about the technical side of languages, so I'd prefer noob-friendly answers like C++ can make an application dedicated to cheese graters, whereas C# would be better creating an application dedicated to cheese.

Question 2:
I'm looking for a language that is still going to be big in 20 years - these three seem to be the biggest, Rust and GO being newer, but C++ still being in applications like Googlebot (backend) despite being ~40 years old. Which would be the better option for a newbie, and why?

🌐
Medium
medium.com › star-gazers › benchmarking-low-level-i-o-c-c-rust-golang-java-python-9a0d505f85f7
Benchmarking low-level I/O: C, C++, Rust, Golang, Java, Python | by Eugene Retunsky | Star Gazers | Medium
March 26, 2023 - In conclusion, all three TCP proxies, written in C, C++, and Rust, showed similar performance: lean and stable. Now, let’s compare memory-safe languages. Unfortunately, Java and Python’s solutions could not handle 25,000 rps on just two ...
🌐
Google Groups
groups.google.com › g › golang-nuts › c › WBnqwLjzTmE
Achieving C/C++/Rust comparable performance with Golang
December 14, 2022 - Go is a high performant garbage collected language, (considered) memory safe programming language, and as such its performance may not be comparable with other languages such as C/C++/Rust under certain application scenarios.
🌐
Preslav
preslav.me › scratchpad › 2023 › 12 › why-golang-over-rust-java-python
Why should I use Go over Rust, Java, or Python? · Preslav Rachev
December 23, 2023 - It will never be as fast and memory-efficient as Rust, but it gets to 80% of its speed out of the box, requiring only 20% of the mental comprehension and developer effort to get there.
🌐
Reddit
reddit.com › r/csharp › c# vs rust vs zig vs go vs java for data processing
r/csharp on Reddit: C# vs Rust vs Zig vs Go vs Java for data processing
October 5, 2023 -

Last week, I posted this benchmark in the rust and golang subreddit and the community made suggestions that sped up the code...So I thought it'd be fair to post it here to get some feedback.

I made a direct port of the go version for c# and it's not performing as expected. It's getting beat by dart, swift, f# etc. so there's obviously something wrong. Nothing sticks out to me though so I hope someone here can optimize it.

nb: This is my first time writing c#.

Repo: https://github.com/jinyus/related_post_gen

🌐
GitHub
github.com › famzah › langs-performance
GitHub - famzah/langs-performance: C++ vs. Python vs. Perl vs. PHP vs. Java vs. NodeJS vs. Go vs. Ruby vs. Rust vs. Swift vs. D performance benchmark
C++ vs. Python vs. Perl vs. PHP vs. Java vs. NodeJS vs. Go vs. Ruby vs. Rust vs. Swift vs. D performance benchmark - famzah/langs-performance
Starred by 129 users
Forked by 33 users
Languages   Perl 29.0% | Shell 18.4% | C++ 13.8% | Java 9.8% | C# 6.3% | Rust 4.6% | Perl 29.0% | Shell 18.4% | C++ 13.8% | Java 9.8% | C# 6.3% | Rust 4.6%
🌐
Lobsters
lobste.rs › s › g44oeq › rust_vs_go_hands_on_comparison
Rust Vs Go: A Hands-On Comparison | Lobsters
September 27, 2023 - You should understand the context a little bit: Shuttle is a company focused on deploying backend applications in Rust. Backend applications (server programs) is precisely the main use-case for Go. It absolutely makes sense for them to compare the two in this context. ... Java is an even more ...
🌐
Quora
quora.com › What-is-the-performance-comparison-between-Golang-Rust-and-C-C
What is the performance comparison between Golang, Rust, and C/C++? - Quora
Answer: Since Golang, Rust and ... there are no intrinsic reasons for any performance differences as long as one compares the same code compiled with the same compiler backend (e.g. LLVM) using the same compiler options...