go VS rust

Compare go vs rust and see what are their differences.

rust

Empowering everyone to build reliable and efficient software. (by rust-lang)
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
go rust
2,214 2,782
125,509 100,984
0.6% 0.9%
10.0 10.0
5 days ago 6 days ago
Go Rust
BSD 3-clause "New" or "Revised" License GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

go

Posts with mentions or reviews of go. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2025-02-09.

rust

Posts with mentions or reviews of rust. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2025-02-09.
  • Ada crate of the year 2024 announced
    2 projects | news.ycombinator.com | 9 Feb 2025
    Yep, and even without dynamic memory management, Ada is not type-safe: https://www.enyo.de/fw/notes/ada-type-safety.html

    Rust also has problems: https://github.com/rust-lang/rust/issues/25860

  • It Is Time to Standardize Principles and Practices for Software Memory Safety
    3 projects | news.ycombinator.com | 6 Feb 2025
    The bug used by that repository [1] isn't the only one that can be used to escape the Safe Rust type system. There are a couple others I've tried [2] [3], and the Rust issue tracker currently lists 92 unsoundness bugs (though only some of them are general-purpose escapes), and that's only the ones we know about.

    These bugs are not really a problem in practice though as long as the developer is not malicious. However, they are a problem for supply chain security or any case where the Rust source is fully untrusted.

    [1]: https://github.com/rust-lang/rust/issues/25860

    [2]: https://github.com/rust-lang/rust/issues/57893

    [3]: https://github.com/rust-lang/rust/issues/133361

  • Roc Rewrites the Compiler in Zig
    4 projects | news.ycombinator.com | 4 Feb 2025
    Since at least 2018, there's been a planned upgrade to the borrow checker to permit certain patterns that it currently rejects [0]. Also since 2018, there's been an implementation of the new version (called Polonius) that can be enabled with an unstable compiler flag [1].

    But it's 2025, and the new version still hasn't been enabled on stable Rust, since the Polonius implementation is seen as too slow for larger programs. A big goal of the types team since last year has been to reimplement a faster version within rustc [2].

    I'd count this as a language feature (albeit a relatively minor one) that's been greatly deferred in favor of shorter compile times.

    [0] https://blog.rust-lang.org/inside-rust/2023/10/06/polonius-u...

    [1] https://github.com/rust-lang/rust/pull/51133

    [2] https://rust-lang.github.io/rust-project-goals/2024h2/Poloni...

  • Rust's worst feature (available in Rust nightly)
    1 project | news.ycombinator.com | 30 Jan 2025
    > Is there evidence more baking won't happen?

    No, actually there is a lot of evidence that it will still be worked on.

    Normally I would just say look at the issue linked in the nightly docs but due to an overlap of tacking PR and moving it from std to core PR it's not supper useful.

    Tracking Issue: https://github.com/rust-lang/rust/issues/78485

    If the author has constructive critique they should probably mention it there (after skimming through the discussion to make sure this wasn't already considered and not done due to subtleties they overlooked in the blog post (like e.g. that it's a standard/core feature which has to work across all targets and as such can't rely on anything being initialized to 0 by the OS, or that depending on the global allocator used you definitely can't rely on things being zeroed even if the OS only hands out zeroed memory, etc. etc.))

  • I've been advocating for RSS support, and you should too
    9 projects | news.ycombinator.com | 18 Jan 2025
    I recently had the need to subscribe to changes to a Github repo and it turns out it provides a feed for them. For rust master branch, for example, subscribe to https://github.com/rust-lang/rust/commits/master.atom.
  • Rust's New Sort Algorithms
    1 project | news.ycombinator.com | 15 Jan 2025
  • KEON is a human-readable serde format that syntactic similar to Rust
    3 projects | news.ycombinator.com | 11 Jan 2025
    With some notable exceptions. I'll never love the turbofish [1] for example.

    [1] https://github.com/rust-lang/rust/blob/master/tests/ui/parse...

  • 2025’s Must-Know Tech Stacks
    17 projects | dev.to | 11 Jan 2025
    Rust
  • Loco 0.14 on Cathyos: 始め方
    4 projects | dev.to | 10 Jan 2025
  • Loco 0.14 on Cathyos: Getting started
    5 projects | dev.to | 9 Jan 2025
    Loco is a relatively new Rust web framework which first appeared around 2021. It is strongly inspired by Ruby on Rails, and designed to bring developers productivity as various functionality on routing, middlewares, and request handling. They aim to provide a modern and intuitive development experience.

What are some alternatives?

When comparing go and rust you can also consider the following projects:

zig - General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.

carbon-lang - Carbon Language's main repository: documents, design, implementation, and related tools. (NOTE: Carbon Language is experimental; see README)

v - Simple, fast, safe, compiled language for developing maintainable software. Compiles itself in <1s with zero library dependencies. Supports automatic C => V translation. https://vlang.io

Odin - Odin Programming Language

Nim - Nim is a statically typed compiled systems programming language. It combines successful concepts from mature languages like Python, Ada and Modula. Its design focuses on efficiency, expressiveness, and elegance (in that order of priority).

TinyGo - Go compiler for small places. Microcontrollers, WebAssembly (WASM/WASI), and command-line tools. Based on LLVM.

Angular - Deliver web apps with confidence 🚀

hylo - The Hylo programming language

grule-rule-engine - Rule engine implementation in Golang

Elixir - Elixir is a dynamic, functional language for building scalable and maintainable applications

CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured

Did you know that Go is
the 4th most popular programming language
based on number of references?