scala VS rust

Compare scala vs rust and see what are their differences.

scala

Scala 2 compiler and standard library. Scala 2 bugs at https://github.com/scala/bug; Scala 3 at https://github.com/scala/scala3 (by scala)

rust

Empowering everyone to build reliable and efficient software. (by rust-lang)
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
Stream - Scalable APIs for Chat, Feeds, Moderation, & Video.
Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
getstream.io
featured
scala rust
50 2,858
14,388 105,041
0.1% 1.2%
9.7 10.0
17 days ago 3 days ago
Scala Rust
Apache License 2.0 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.

scala

Posts with mentions or reviews of scala. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2025-04-08.
  • Deploying a Scala Play Application to Heroku
    4 projects | dev.to | 8 Apr 2025
    I’ve been a web developer for years, but I haven’t touched Java in a long time — like, late-90s long. Back then, Java development felt cumbersome: lots of boilerplate and complex configurations. It was not exactly a pleasant experience for building simple web apps. So when I recently started exploring Scala and the Play Framework, I was curious more than anything. Has the Java developer experience gotten better? Is it actually something I’d want to use today?
  • Top FP technologies
    22 projects | dev.to | 29 Oct 2024
    Scala
  • TypeScript's Lack of Naming Types and Type Conversion in Angular
    6 projects | dev.to | 17 Oct 2024
    Elm, ReScript, F#, Ocaml, Scala… it’s just normal to name your types, then use them places. In fact, you’ll often create the types _before_ the code, even if you’re not really practicing DDD (Domain Driven Design). Yes, you’ll do many after the fact when doing functions, or you start testing things and decide to change your design, and make new types. Either way, it’s just “the norm”. You then do the other norms like “name your function” and “name your variables”. I’m a bit confused why it’s only 2 out of 3 (variables and functions, not types) in this TypeScript Angular project. I’ll have to look at other internal Angular projects and see if it’s common there as well.
  • Programming in Scala as a "Better" Java
    1 project | dev.to | 29 Sep 2024
    Scala is a programming language for the JVM born in 2004 that is both object oriented and functional. Since it runs in the JVM it can call any Java method and be called by any Java method. So, moving from Java to Scala is practically pain free, all you have to do is learn the new syntax. You have all the Java libraries at your disposal plus all the improvements Scala has to offer. Even though Scala is both OOP and Functional it doesn't force you to use either of the two paradigms and so it can just be used as a simple OOP replacement for Java with great benefits to speed of coding and readability. In this article I will not get into the details but just show you enough to make you curious and try it. If you want to dive deeper here is a link for you: https://www.scala-lang.org
  • Counted B-Trees
    2 projects | news.ycombinator.com | 22 May 2024
    Funnily enough this is (was?) used by the Scala collection library's TreeSet/TreeMap, for fast performance of the `take` and `drop` operations. This is a red-black tree though, not a B-Tree.

    Commit https://github.com/scala/scala/pull/82/commits/b7e671446892c... of PR https://github.com/scala/scala/pull/82

  • Groovy 🎷 Cheat Sheet - 01 Say "Hello" from Groovy
    7 projects | dev.to | 7 Mar 2024
    Recently I had to revisit the "JVM languages universe" again. Yes, language(s), plural! Java isn't the only language that uses the JVM. I previously used Scala, which is a JVM language, to use Apache Spark for Data Engineering workloads, but this is for another post 😉.
  • Top Paying Programming Technologies 2024
    19 projects | dev.to | 6 Mar 2024
    8. Scala - $96,381
  • Server side(Backend) programming languages
    4 projects | dev.to | 5 Jan 2024
    Scala
  • Functional Programming Library for Golang by IBM
    8 projects | news.ycombinator.com | 17 Aug 2023
    Big Scala vibes here, see also [1].

    1: https://github.com/scala/scala/blob/v2.13.11/src/library/sca...

  • Scala 2.13.11 and 2.12.18 are here
    1 project | /r/scala | 7 Jun 2023
    For details, refer to the release notes on GitHub: * https://github.com/scala/scala/releases/tag/v2.13.11 * https://github.com/scala/scala/releases/tag/v2.12.18

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-07-14.
  • Why Developers Are Switching to Rust: The Rise of Rust Development in 2025
    1 project | dev.to | 15 Jul 2025
    Rust development is experiencing major growth in 2025 as its developers continue to focus more on performance, memory safety, and reliability of their code. Supported by a powerful compiler, with modern tooling and an emerging ecosystem, Rust is an alternative to the majority of the limitations of legacy systems programming languages. This blog discusses the theoretical basis behind the transition to Rust-based development and the reasons why it is rapidly growing as an attractive option to software engineers and organizations.
  • Rust Cargo: The Backbone of Rust Development
    2 projects | dev.to | 14 Jul 2025
    https://www.rust-lang.org/ https://doc.rust-lang.org/cargo/ https://doc.rust-lang.org/cargo/getting-started/installation.html
  • Tree Borrows
    9 projects | news.ycombinator.com | 9 Jul 2025
    I am very sorry, but you do not address that TBAA, like C has by default, generally is easier than just no aliasing, like what Rust has for mutable references. This is a major difference. C code can opt into a similar kind of aliasing, namely by using _restrict_, but that is opt-in, while it is always on for Rust.

    And there is newer UB as well in Rust stdlib

    https://github.com/rust-lang/rust/pull/139553

  • # [derive(Clone)] Is Broken
    11 projects | news.ycombinator.com | 8 Jul 2025
  • My first verified (imperative) program
    2 projects | news.ycombinator.com | 7 Jul 2025
    Real-world programs can be verified by formally proving properties on a small part of the code (called the kernel) in a way that transitively guarantees those for the remaining code.

    For example, Rust's borrow checker guarantees* memory safety of any code written in Rust, even a 10M+ LOC project. Another example is sel4, a formally-verified micro-kernel (https://sel4.systems/About/seL4-whitepaper.pdf).

    * Technically not; even if the code doesn't use `unsafe`, not only is Rust's borrow checker not formally verified, there are soundness holes (https://github.com/rust-lang/rust/issues?q=is%3Aopen%20is%3A...). However, in theory it's possible to formally prove that a subset of Rust can only encode memory-safe programs, and in practice Rust's borrow checker is so effective that a 10M+ LOC project without unsafe will still probably not have memory issues.

  • The Technology Behind SmoothCSV - The Ultimate CSV Editor
    13 projects | dev.to | 30 Jun 2025
    Backend: Rust
  • Weird Expressions in Rust
    4 projects | news.ycombinator.com | 27 Jun 2025
    What's weird about this?

    To understand what evil_lincoln is doing, you have to understand very old Rust. Here's the commit that introduced it: https://github.com/rust-lang/rust/commit/664b0ad3fcead4fe4d2...

        fn evil_lincoln() {
  • "Why is the Rust compiler so slow?"
    7 projects | news.ycombinator.com | 26 Jun 2025
    Side note: There's an effort to cache proc macro invocations so that they get executed only once if the item they annotate hasn't changed: https://github.com/rust-lang/rust/pull/129102

    There are multiple caveats on providing this to users (we can't assume that macro invocations are idempotent, so the new behavior would have to be opt in, and this only benefits incremental compilation), but it's in our radar.

  • Naked functions are now stable in Rust 1.88
    1 project | news.ycombinator.com | 23 Jun 2025
  • Building an iOS App with Rust Using UniFFI
    2 projects | dev.to | 17 Jun 2025
    Rust: Install it from the official Rust website.

What are some alternatives?

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

rust - Rust for the xtensa architecture. Built in targets for the ESP32 and ESP8266

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

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

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

kotlin - The Kotlin Programming Language.

Odin - Odin Programming Language

InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
Stream - Scalable APIs for Chat, Feeds, Moderation, & Video.
Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
getstream.io
featured

Did you know that Scala is
the 32nd most popular programming language
based on number of references?