5.6K
4.7K
+ 1
1.2K

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.
Rust is a tool in the Languages category of a tech stack.
Rust is an open source tool with 92.2K GitHub stars and 11.9K GitHub forks. Here’s a link to Rust's open source repository on GitHub

Who uses Rust?

Companies
365 companies reportedly use Rust in their tech stacks, including Dropbox, Sentry, and doubleSlash.

Developers
3796 developers on StackShare have stated that they use Rust.

Rust Integrations

Sentry, Strapi, Ethereum, Julia, and Deno are some of the popular tools that integrate with Rust. Here's a list of all 122 tools that integrate with Rust.
Pros of Rust
143
Guaranteed memory safety
130
Fast
87
Open source
75
Minimal runtime
70
Pattern matching
63
Type inference
56
Algebraic data types
56
Concurrent
46
Efficient C bindings
43
Practical
37
Best advances in languages in 20 years
32
Safe, fast, easy + friendly community
30
Fix for C/C++
25
Stablity
24
Zero-cost abstractions
23
Closures
20
Great community
20
Extensive compiler checks
18
No NULL type
18
Async/await
15
Completely cross platform: Windows, Linux, Android
15
No Garbage Collection
14
Great documentations
14
High-performance
12
Super fast
12
Generics
12
High performance
11
Safety no runtime crashes
11
Guaranteed thread data race safety
11
Fearless concurrency
11
Macros
10
Compiler can generate Webassembly
10
Helpful compiler
9
Easy Deployment
9
RLS provides great IDE support
9
Prevents data races
8
Real multithreading
8
Painless dependency management
7
Good package management
5
Support on Other Languages
Decisions about Rust

Here are some stack decisions, common use cases and reviews by companies and developers who chose Rust in their tech stack.

Needs advice
on
GolangGolangKotlinKotlin
and
TypeScriptTypeScript

I want to try out backend development by making a somewhat simple finance tracker web app and intend to use PostgreSQL, but I have very little knowledge of the area and would like to know which language and accompanying framework would be best suited.

My preferences would be between Kotlin (I already know Java) and Golang or TypeScript, but other recommendations are welcome.

I also know a bit of Rust from doing Advent of Code with it, but I would instead use something easier for now.

See more
Needs advice
on
GolangGolangRustRust
and
TypeScriptTypeScript

Should I start with web development or DevOps?

And which of the 3 I should learn first Golang, TypeScript, or Rust? I want to land a junior-level job in 10 months.

See more
Needs advice
on
GolangGolangNode.jsNode.js
and
PythonPython

Hi Guys, If you were to learn one of these languages for backend development: Golang, Python or TypeScript/Node.js, which one would you choose? Should meet the following criteria: - Focus on web application development. - Be stable for the next 10 years. - Good for microservices (compete with Java Spring Boot). - Production ready for now and not in the future. (Like Rust) - Have good ecosystems, i.e. libraries, testing, CLI, framework and good deployment options. - Good language features. I'm not interested in ML/AI, Data Science or DevOps.

See more
Caue Carvalho
Needs advice
on
GolangGolangPythonPython
and
RubyRuby

Hello!

I'm a developer for over 9 years, and most of this time I've been working with C# and it is paying my bills until nowadays. But I'm seeking to learn other languages and expand the possibilities for the next years.

Now the question... I know Ruby is far from dead but is it still worth investing time in learning it? Or would be better to take Python, Golang, or even Rust? Or maybe another language.

Thanks in advance.

See more
Needs advice
on
GolangGolangPerlPerl
and
RustRust

I intend to use a programming language which I'll use as AWS runtime and write a script that will comb through tons of files in a directory and its subdirectories and search for simple text regular expressions and process and write the matches in a file as output. I have heard that Perl is good for regex based search but I also want the performance to be good as it will have to go through tons of files for IO. In this post: https://filia-aleks.medium.com/aws-lambda-battle-2021-performance-comparison-for-all-languages-c1b441005fd1, I see that Rust works well as AWS Lambda runtime with very good performance. Which one should I choose as my AWS lambda runtime for this problem? Golang is also an option as it is fast as per the above link.

See more
Daison Carino
Senior Software Engineer at Incube8 Pte. Ltd · | 4 upvotes · 312.4K views
Needs advice
on
NestJSNestJS
and
Next.jsNext.js

I would choose Next.js / Nuxt.js or SvelteKit as they're implemented to support the backend that manages cookies/sessions/API/reactive components and props.

The good thing about them is that if ever your app grows with a ton of traffic, you can easily migrate your SSR app and use other programming languages such as Golang or Rust to serve the API.

NestJS is only used for the backend side, however, the backend side of this is already offered from these big 3 (Next/Nuxt/SvelteKit), as these 3 major SSR Frameworks were able to connect from RDB / MongoDB / GraphQL / 3rd Party APIs, you name it!

Regarding websocket / service-worker (PWA) / wasm, those big 3 can do it too

TL;DR: NodeJS is so big, don't complicate your life, make a single route to handle the frontend and backend, migrating to performant environment such as Go/Rust can be done over an api call inside those big 3 Next/Nuxt/SvelteKit.

See more

Blog Posts

Nov 20 2019 at 3:38AM

OneSignal

PostgreSQLRedisRuby+8
9
4637
Jun 6 2019 at 5:11PM

AppSignal

RedisRubyKafka+9
15
1638

Rust Alternatives & Comparisons

What are some alternatives to Rust?
C lang
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.
Golang
Go is expressive, concise, clean, and efficient. Its concurrency mechanisms make it easy to write programs that get the most out of multicore and networked machines, while its novel type system enables flexible and modular program construction. Go compiles quickly to machine code yet has the convenience of garbage collection and the power of run-time reflection. It's a fast, statically typed, compiled language that feels like a dynamically typed, interpreted language.
Haskell
It is a general purpose language that can be used in any domain and use case, it is ideally suited for proprietary business logic and data analysis, fast prototyping and enhancing existing software environments with correct code, performance and scalability.
See all alternatives

Rust's Followers
4752 developers follow Rust to keep up with related blogs and decisions.