Get Advice Icon

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

Rust
Rust

779
853
+ 1
594
Spring Boot
Spring Boot

4.2K
3.3K
+ 1
489
Add tool

Rust vs Spring Boot: 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 Boot? Create Spring-powered, production-grade applications and services with absolute minimum fuss. Spring Boot makes it easy to create stand-alone, production-grade Spring based Applications that you can "just run". We take an opinionated view of the Spring platform and third-party libraries so you can get started with minimum fuss. Most Spring Boot applications need very little Spring configuration.

Rust can be classified as a tool in the "Languages" category, while Spring Boot is grouped under "Frameworks (Full Stack)".

"Guaranteed memory safety" is the top reason why over 81 developers like Rust, while over 78 developers mention "Powerful and handy" as the leading cause for choosing Spring Boot.

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

According to the StackShare community, Spring Boot has a broader approval, being mentioned in 333 company stacks & 615 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 Boot?

Spring Boot makes it easy to create stand-alone, production-grade Spring based Applications that you can "just run". We take an opinionated view of the Spring platform and third-party libraries so you can get started with minimum fuss. Most Spring Boot applications need very little Spring configuration.
Get Advice Icon

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

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

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

What companies use Rust?
What companies use Spring Boot?

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

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

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

What are some alternatives to Rust and Spring Boot?
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 Boot
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 · 39.7K 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
Marwen Trabelsi
Marwen Trabelsi
Spring Boot
Spring Boot

I use Spring-Boot because it almost let you get things done quickly for a JVM-target project, with auto configuration components and dependency management starters. It is almost perfectly tailored for microservices applications development with a single unit deployment artifact (JAR) along with support for Service Registry and Discovery, Circuit Breaker pattern...

Any third-party library or any back-end service would perfectly integrate well since Spring offers integration support for most of mainstream services, let it be a RDBMS service, a NoSQL database, a Message Broker...

Coming to day-to-day development, Spring-Boot enjoys a great community so you can get support, direction, focused guidance from almost everywhere.

See more
Praveen Mooli
Praveen Mooli
Technical Leader at Taylor and Francis · | 11 upvotes · 94.8K views
MongoDB Atlas
MongoDB Atlas
Amazon S3
Amazon S3
Amazon DynamoDB
Amazon DynamoDB
Amazon RDS
Amazon RDS
Serverless
Serverless
Docker
Docker
Terraform
Terraform
Travis CI
Travis CI
GitHub
GitHub
RxJS
RxJS
Angular 2
Angular 2
AWS Lambda
AWS Lambda
Amazon SQS
Amazon SQS
Amazon SNS
Amazon SNS
Amazon Kinesis Firehose
Amazon Kinesis Firehose
Amazon Kinesis
Amazon Kinesis
Flask
Flask
Python
Python
ExpressJS
ExpressJS
Node.js
Node.js
Spring Boot
Spring Boot
Java
Java
#Data
#Devops
#Webapps
#Eventsourcingframework
#Microservices
#Backend

We are in the process of building a modern content platform to deliver our content through various channels. We decided to go with Microservices architecture as we wanted scale. Microservice architecture style is an approach to developing an application as a suite of small independently deployable services built around specific business capabilities. You can gain modularity, extensive parallelism and cost-effective scaling by deploying services across many distributed servers. Microservices modularity facilitates independent updates/deployments, and helps to avoid single point of failure, which can help prevent large-scale outages. We also decided to use Event Driven Architecture pattern which is a popular distributed asynchronous architecture pattern used to produce highly scalable applications. The event-driven architecture is made up of highly decoupled, single-purpose event processing components that asynchronously receive and process events.

To build our #Backend capabilities we decided to use the following: 1. #Microservices - Java with Spring Boot , Node.js with ExpressJS and Python with Flask 2. #Eventsourcingframework - Amazon Kinesis , Amazon Kinesis Firehose , Amazon SNS , Amazon SQS, AWS Lambda 3. #Data - Amazon RDS , Amazon DynamoDB , Amazon S3 , MongoDB Atlas

To build #Webapps we decided to use Angular 2 with RxJS

#Devops - GitHub , Travis CI , Terraform , Docker , Serverless

See more
Dan Larsen
Dan Larsen
CTO at FlowStack · | 7 upvotes · 12.9K 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 Boot
Review ofSpring BootSpring Boot

spring boot allow my team to start building web services quickly and package it in a stand alone application

How developers use Rust and Spring Boot
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 Climate CoLab
Climate CoLab uses Spring BootSpring Boot

Spring-Boot allows us to create stand-alone web servers and helps us configure many of our dependencies with sane default, while maintaining flexibility where we need it.

Avatar of Emcee
Emcee uses Spring BootSpring Boot

Probably the best application framework in Java, by far. Time-proven, mature.

Avatar of p009922
p009922 uses Spring BootSpring Boot

light weight server approach for REST-services

Avatar of Project44
Project44 uses Spring BootSpring Boot

All services are spring-boot applications.

Avatar of Vaadin
Vaadin uses Spring BootSpring Boot

Solid base for Java-based web app backend

How much does Rust cost?
How much does Spring Boot cost?
Pricing unavailable
Pricing unavailable
News about Spring Boot
More news