Rustย vsย Spring

Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Rust
Rust

832
908
+ 1
597
Spring
Spring

1.9K
1.5K
+ 1
942
Add tool

Rust vs Spring: What are the differences?

What is Rust? A safe, concurrent, practical language. Rust is a systems programming language that combines strong compile-time correctness guarantees with fast performance. It improves upon the ideas of other systems languages like C++ by providing guaranteed memory safety (no crashes, no data races) and complete control over the lifecycle of memory.

What is Spring? Provides a comprehensive programming and configuration model for modern Java-based enterprise applications. A key element of Spring is infrastructural support at the application level: Spring focuses on the "plumbing" of enterprise applications so that teams can focus on application-level business logic, without unnecessary ties to specific deployment environments.

Rust and Spring are primarily classified as "Languages" and "Frameworks (Full Stack)" tools respectively.

"Guaranteed memory safety" is the top reason why over 81 developers like Rust, while over 192 developers mention "Java" as the leading cause for choosing Spring.

Rust and Spring are both open source tools. Rust with 37.3K GitHub stars and 5.85K forks on GitHub appears to be more popular than Spring with 30.6K GitHub stars and 19.6K GitHub forks.

According to the StackShare community, Spring has a broader approval, being mentioned in 319 company stacks & 184 developers stacks; compared to Rust, which is listed in 39 company stacks and 105 developer stacks.

What is Rust?

Rust is a systems programming language that combines strong compile-time correctness guarantees with fast performance. It improves upon the ideas of other systems languages like C++ by providing guaranteed memory safety (no crashes, no data races) and complete control over the lifecycle of memory.

What is Spring?

A key element of Spring is infrastructural support at the application level: Spring focuses on the "plumbing" of enterprise applications so that teams can focus on application-level business logic, without unnecessary ties to specific deployment environments.
Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Why do developers choose Rust?
Why do developers choose Spring?

Sign up to add, upvote and see more prosMake informed product decisions

Jobs that mention Rust and Spring as a desired skillset
OneSignalOneSignal
San Mateo, California
OneSignalOneSignal
San Mateo, California
OneSignalOneSignal
San Mateo, California
OneSignalOneSignal
San Mateo, California
What companies use Rust?
What companies use Spring?

Sign up to get full access to all the companiesMake informed product decisions

What tools integrate with Rust?
What tools integrate with Spring?

Sign up to get full access to all the tool integrationsMake informed product decisions

What are some alternatives to Rust and Spring?
C
Swift
Writing code is interactive and fun, the syntax is concise yet expressive, and apps run lightning-fast. Swift is ready for your next iOS and OS X project โ€” or for addition into your current app โ€” because Swift code works side-by-side with Objective-C.
Python
Python is a general purpose programming language created by Guido Van Rossum. Python is most praised for its elegant syntax and readable code, if you are just beginning your programming career python suits you best.
Haskell
PHP
Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world.
See all alternatives
Decisions about Rust and Spring
StackShare Editors
StackShare Editors
Rust
Rust
Lua
Lua

To handle its growing observability needs, Postmates created and open sourced Cernan, a telemetry and logging aggregation server. Ceran is built on Rust and Lua, and can ingest data from many sources and then push or exposes what itโ€™s collected to many destinations, or โ€œsinks.โ€ It can also create or manipulate in-flight data with programmable Lua filters.

See more
James Cunningham
James Cunningham
Operations Engineer at Sentry ยท | 18 upvotes ยท 44.1K views
atSentrySentry
Rust
Rust
Python
Python

Sentry's event processing pipeline, which is responsible for handling all of the ingested event data that makes it through to our offline task processing, is written primarily in Python.

For particularly intense code paths, like our source map processing pipeline, we have begun re-writing those bits in Rust. Rustโ€™s lack of garbage collection makes it a particularly convenient language for embedding in Python. It allows us to easily build a Python extension where all memory is managed from the Python side (if the Python wrapper gets collected by the Python GC we clean up the Rust object as well).

See more
marcoalmeida
marcoalmeida
C
C
Go
Go
Rust
Rust
Python
Python

One important decision for delivering a platform independent solution with low memory footprint and minimal dependencies was the choice of the programming language. We considered a few from Python (there was already a reasonably large Python code base at Thumbtack), to Go (we were taking our first steps with it), and even Rust (too immature at the time).

We ended up writing it in C. It was easy to meet all requirements with only one external dependency for implementing the web server, clearly no challenges running it on any of the Linux distributions we were maintaining, and arguably the implementation with the smallest memory footprint given the choices above.

See more
Rust
Rust
C++
C++

Initially, I wrote my text adventure game in C++, but I later rewrote my project in Rust. It was an incredibly easier process to use Rust to create a faster, more robust, and bug-free project.

One difficulty with the C++ language is the lack of safety, helpful error messages, and useful abstractions when compared to languages like Rust. Rust would display a helpful error message at compile time, while C++ would often display "Segmentation fault (core dumped)" or wall of STL errors in the middle. While I would frequently push buggy code to my C++ repository, Rust enabled me to only even submit fully functional code.

Along with the actual language, Rust also included useful tools such as rustup and cargo to aid in building projects, IDE tooling, managing dependencies, and cross-compiling. This was a refreshing alternative to the difficult CMake and tools of the same nature.

See more
Dan Larsen
Dan Larsen
CTO at FlowStack ยท | 7 upvotes ยท 28.4K views
atFlowStack ApSFlowStack ApS
C++
C++
C
C
Rust
Rust
Go
Go

At FlowStack we write most of our backend in Go. Go is a well thought out language, with all the right compromises for speedy development of speedy and robust software. It's tooling is part of what makes Go such a great language. Testing and benchmarking is built into the language, in a way that makes it easy to ensure correctness and high performance. In most cases you can get more performance out of Rust and C or C++, but getting everything right is more cumbersome.

See more
Interest over time
Reviews of Rust and Spring
No reviews found
How developers use Rust and Spring
Avatar of datapile
datapile uses SpringSpring

Spring is another gift rained down by the gods of Open Source Software (a.k.a. Pivotal Labs in this particular case) that just makes sense on all levels.

From Spring Boot, to SpringMVC, the configuration architecture & profile paradigm, Spring Cloud expandability, to the ease with which one can deploy Spring applets as microservices within Docker is an absolute joy.

Avatar of Giovanni Candido da Silva
Giovanni Candido da Silva uses SpringSpring

The core of the application use Spring Stack, to provide services and structure like:

  • Persistence
  • REST
  • Email
  • Security
  • Self contained application with spring boot
  • And many others.
Avatar of Marc3842h
Marc3842h uses RustRust

Rust is used in Shirogane (https://github.com/Marc3842h/shirogane).

Shirogane is a osu! beatmap mirror built for shiro. We use Rust because of memory safe but still low level and high performance.

Avatar of Kang Hyeon Ku
Kang Hyeon Ku uses SpringSpring

๊ทธ๋ƒฅ ๊ฐ„๋‹จํ•œ MVC ์›น ํ”„๋ ˆ์ž„ ์›Œํฌ ์ธ์ค„ ์•Œ์•˜๋Š”๋ฐ ์ •๋ง ๋ชจ๋“ˆํ™”๊ฐ€ ์ž˜ ๋˜์žˆ๊ณ , ์‚ฌ์šฉํ•˜๋‹ค๋ณด๋ฉด ๊ฐœ๋ฐœ์ž์—๊ฒŒ ์ •๋ง ํŽธ๋ฆฌํ•˜๊ฒŒ ๋งŒ๋“ค์–ด ๋†“์•˜๋‹ค. vaildation ๋ถ€๋ถ„์€ ๋”ฐ๋กœ ์ฒ˜๋ฆฌ ํ•  ์ˆ˜ ์žˆ๊ณ , ํŒŒ๋ผ๋ฏธํ„ฐ ๋‹ด๋Š” ๋ณ€์ˆ˜์™€ ๋””ํดํŠธ ๊ฐ’์„ ์ธ์ž๋กœ ์„ค์ •ํ•ด ์ฃผ๋Š” ๋ถ€๋ถ„๋„ ์ฐธ ์ข‹์€ ๊ฒƒ ๊ฐ™๋‹ค. ๋˜ spring-data ๋Š” jpa ํ™œ์šฉํ•ด ๋น ๋ฅด๊ฒŒ ๊ฐœ๋ฐœํ•˜๋Š”๋ฐ ์œ ์šฉํ•˜๋‹ค.

Avatar of ByeongGi
ByeongGi uses SpringSpring
  • SpringFramework ์ค‘ MVC , AOP ๋“ฑ์˜ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ๋ฅผ ํ™œ์šฉํ•˜์—ฌ ์›น ์–ดํ”Œ๋ฆฌ์ผ€์ด์…˜ ํ”„๋กœ์ ํŠธ ๊ตฌ์„ฑ
  • ๊ณตํ†ต ๋กœ์ง ๊ตฌํ˜„ ๋ฐ ๋ณด์•ˆ ์ฒ˜๋ฆฌ ๊ฐ€๋Šฅ

  • Spring5์—์„œ ์ง€์›ํ•˜๋Š” ํ•จ์ˆ˜ํ˜• ํ”„๋กœ๊ทธ๋ž˜๋ฐ ๊ฒฝํ—˜ ์žˆ์Œ

Avatar of Ralic Lo
Ralic Lo uses SpringSpring

Used Spring Boot and its ORM to interacting with database server for web application development.

How much does Rust cost?
How much does Spring cost?
Pricing unavailable
Pricing unavailable