<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/OrMNgUVQp" -->

---
title: Why you should use Rust on the backend | daily.dev
description: Rust is becoming an increasingly popular choice for backend web development due to its low memory footprint, efficient concurrency handling, and strong memory...
canonical: https://daily.dev/posts/why-you-should-use-rust-on-the-backend-ormnguvqp
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Why you should use Rust on the backend | daily.dev
og:description: Rust is becoming an increasingly popular choice for backend web development due to its low memory footprint, efficient concurrency handling, and strong memory...
og:url: https://daily.dev/posts/why-you-should-use-rust-on-the-backend-ormnguvqp
og:image: https://api.daily.dev/og/posts/OrMNgUVQp.png
og:image:alt: Why you should use Rust on the backend
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Why you should use Rust on the backend

**[Community Picks](https://daily.dev/sources/community)** · 9 min read · 162 upvotes · 6 comments

## Summary

Rust is becoming an increasingly popular choice for backend web development due to its low memory footprint, efficient concurrency handling, and strong memory safety guarantees. The article provides an example of a Rust web service using Axum and discusses how Rust optimizes for both performance and safety. Major companies like Amazon, Google, and Microsoft are adopting Rust, and its advantages are particularly significant for reducing costs and enhancing security. Additionally, DARPA is transitioning its C codebase to Rust, highlighting the language's growing impact.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.shuttle.rs/blog/2024/07/31/rust-on-the-backend>

## Community discussion

Top comments from developers on daily.dev.

**@shipweck** · 6 upvotes

> So happy the "Rewrite it in Rust" movement is growing ever bigger!

**@endallframeworks** · 2 upvotes

> Do I need to state the obvious that I am not DARPA or any of these big orgs

**@pretro** · 1 upvotes

> all of your points are valid and all, but there is 1 crucial detail you kind of forgot about, before reading this I saw 10 different "X rewritten in rust" and "why you should use rust" posts.
>
> you are talking to a bunch of rust fans and telling them to use rust.

**@jakofys** · 0 upvotes

> You can see here that you have said is no really true on all case.
> Rust must be use for a real reason, to answer a real need.
> See test performance between some language [here](https://programming-language-benchmarks.vercel.app/go-vs-rust)

---

Tags: [#webdev](https://daily.dev/tags/webdev), [#backend](https://daily.dev/tags/backend), [#rust](https://daily.dev/tags/rust)

[View this post on daily.dev](https://daily.dev/posts/why-you-should-use-rust-on-the-backend-ormnguvqp)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Why you should use Rust on the backend","url":"https://daily.dev/posts/why-you-should-use-rust-on-the-backend-ormnguvqp","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/why-you-should-use-rust-on-the-backend-ormnguvqp"},"datePublished":"2024-08-01T15:43:54.648Z","dateModified":"2024-10-05T18:23:01.496Z","description":"Rust is becoming an increasingly popular choice for backend web development due to its low memory footprint, efficient concurrency handling, and strong memory...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/8a516f1732ccf03904f2292463e9df25?_a=AQAEuiZ","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/8a516f1732ccf03904f2292463e9df25?_a=AQAEuiZ","isAccessibleForFree":true,"articleSection":"Community Picks","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Community Picks","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1655817725/logos/community","url":"https://daily.dev/sources/community"},"commentCount":6,"discussionUrl":"https://daily.dev/posts/why-you-should-use-rust-on-the-backend-ormnguvqp","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":162},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":6}],"keywords":"webdev,backend,rust","timeRequired":"PT9M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Community Picks","item":"https://daily.dev/sources/community"},{"@type":"ListItem","position":3,"name":"Why you should use Rust on the backend"}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/why-you-should-use-rust-on-the-backend-ormnguvqp","comment":[{"@type":"Comment","text":"So happy the “Rewrite it in Rust” movement is growing ever bigger!","datePublished":"2024-08-01T23:49:15.034Z","url":"https://daily.dev/posts/OrMNgUVQp#c-CQA2urTTI","author":{"@type":"Person","name":"Alexander Shpurik","url":"https://daily.dev/shipweck","image":"https://avatars.githubusercontent.com/u/126022532?v=4"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":6}},{"@type":"Comment","text":"Do I need to state the obvious that I am not DARPA or any of these big orgs","datePublished":"2024-08-06T20:08:15.861Z","url":"https://daily.dev/posts/OrMNgUVQp#c-CmJ62OrZo","author":{"@type":"Person","name":"end all frameworks","url":"https://daily.dev/endallframeworks","image":"https://lh3.googleusercontent.com/a/AEdFTp55st6FFoRy1GBNu7b69FjoDvjMEGYOymou52JWbA=s96-c"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":2}},{"@type":"Comment","text":"all of your points are valid and all, but there is 1 crucial detail you kind of forgot about, before reading this I saw 10 different “X rewritten in rust” and “why you should use rust” posts.\nyou are talking to a bunch of rust fans and telling them to use rust.","datePublished":"2024-09-01T13:19:26.425Z","url":"https://daily.dev/posts/OrMNgUVQp#c-ksqtmfI4h","author":{"@type":"Person","name":"ori","url":"https://daily.dev/pretro","image":"https://lh3.googleusercontent.com/a/ACg8ocJzTyhUZH3xiHeFHA5RvNIPcMFt5OMVvsHdYqNU7TU5CpKxgrE=s96-c"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1}},{"@type":"Comment","text":"You can see here that you have said is no really true on all case.\nRust must be use for a real reason, to answer a real need.\nSee test performance between some language here","datePublished":"2024-09-07T09:19:30.128Z","url":"https://daily.dev/posts/OrMNgUVQp#c-gfGiZoI9R","author":{"@type":"Person","name":"COFIS Jacques","url":"https://daily.dev/jakofys","image":"https://lh3.googleusercontent.com/a/ACg8ocK_AXjI0drsqPhVfUcWExLp-Lfa19RPUfkuNXtOJu9H40JjBzlu=s96-c"}}]}
```

