Build your entire tech stack in Rust

Поділитися
Вставка
  • Опубліковано 21 вер 2024
  • Today we are talking about a brand new tech stack which allows you to build your entire application in Rust!
    FREE Rust Cheat Sheet: letsgetrusty.c...
    Code: github.com/let...

КОМЕНТАРІ • 351

  • @letsgetrusty
    @letsgetrusty  Рік тому +29

    📝Get your *FREE Rust cheat sheet* :
    www.letsgetrusty.com/cheatsheet

    • @maxali6591
      @maxali6591 Рік тому +2

      Is there so many people using this kind of stack nowadays? I mean it's on both windows and Unix kind of low memory consumption ( more on windows in fact than on Linux ) less consumption than electron, but here in France I don't see it so much used.
      In fact I see C# Lamp stack, python... But rust...
      Is it more common in US or India or China or else?

    • @electrolyteorb
      @electrolyteorb 4 місяці тому

      Dear LGR,
      Please do the Brown University version of Rust book series here on YT

  • @kibe2134
    @kibe2134 Рік тому +792

    "We are not here to do what's practical, we are here to do what's rusty."
    That's the base principle upon which the Rust community functions.

    • @catwayroad
      @catwayroad Рік тому +12

      lol

    • @soupnoodles
      @soupnoodles Рік тому +8

      for real

    • @myfavouritecolorisgreen
      @myfavouritecolorisgreen Рік тому +9

      lol we have been using java and c++ for ages and basically everything functions on that. and more recently javascript. and we are talking about practicality when it comes to rust lmao.

    • @aneeshprasobhan
      @aneeshprasobhan Рік тому +3

      wait, so you think this is not practical at the moment ?

    • @arthurvieira2104
      @arthurvieira2104 Рік тому +9

      ​@@aneeshprasobhanfor most apps it's not really that benefitial or practical to use that rusty stack

  • @linuswalker4552
    @linuswalker4552 Рік тому +623

    I use Actix for web server, SurrealDb for Database, Yew for frontend, egui and iced for gui development, bevy for game dev, leftwm for window manager, paru for aur, nushell for shell, gitoxide for git replacement, btm for system monitoring, sccache for faster compilation and more... btw")

  • @SuperSrDan
    @SuperSrDan Рік тому +169

    The ”Small PP” stack - Smalltalk, Python and Postgres should be the next, almost, big thing
    Jokes aside, was a very interesting take on rust frameworks put together

  • @_romeopeter
    @_romeopeter Рік тому +57

    Good to see that Rust is growing. My next programming language will be rust but I'd learning it for the fun and not really to build massive projects with it.

    • @radinkhosraviani8634
      @radinkhosraviani8634 Рік тому +3

      I’m trying to decide between rust and golang. Why are you choosing rust over golang to learn?

    • @squabble3332
      @squabble3332 Рік тому +2

      @@radinkhosraviani8634 its depends on your purposes, what do you want to do with a language and what type of problen you want to solve with it
      both of them are great choice. And to my mind its a personal choice, get a look for every choice, their syntax and pros\cons!
      GL

    • @jerbear7952
      @jerbear7952 6 місяців тому +1

      Why do you assume that before you know it?

  • @krtirtho
    @krtirtho Рік тому +279

    RSTY stack is dead before it being born
    CHAD stack is the true stack

    • @rehatsingh456
      @rehatsingh456 Рік тому +56

      fellow primeagen fan i see

    • @krtirtho
      @krtirtho Рік тому +17

      @@rehatsingh456 we shall conquer the world
      CHAD is the truest and most refined form of stack ever existed

    • @TernaryM01
      @TernaryM01 Рік тому +14

      What's that?
      C++ Haskell Ada D?
      (These are all programming languages)

    • @peculiar-coding-endeavours
      @peculiar-coding-endeavours Рік тому +9

      cobol on wheelchair for life

    • @rehatsingh456
      @rehatsingh456 Рік тому +40

      @@TernaryM01 COBOL + Haskell + AlpineJS + Docker

  • @SurrealDB
    @SurrealDB Рік тому +9

    Thank you very much for the mention once again Let’s Get Rusty ❤ Have a great weekend!

  • @lovrodvorski7180
    @lovrodvorski7180 Рік тому +59

    could you make this same video but longer where you explain everything, i feel like longform concrete app stack content is missing for rust

  • @jamesbarrow
    @jamesbarrow Рік тому +4

    "but we're not here to do what's practical, we're here to do what's rusty" :D :D :D I laughed, thanks again for the interesting content, may try it out on a pet project

  • @MistaSmith
    @MistaSmith Рік тому +37

    I love your style! Very funny.
    Most of the stack looks very reasonable. I was surprised about how many lines the SQL took. I wonder if the framework should be more optimal there. And I was surprised to see function chaining that contained await twice. It looks like these two parts should be decoupled for performance.

    • @ReinaldoRauch
      @ReinaldoRauch Рік тому +2

      i think its because he is using the db driver directly

  • @arta6183
    @arta6183 Рік тому +4

    It's really good that a language is becoming a standard, so that we only have to learn one language for everything
    I really hope this happens, but I am not sure if Rust is the best language for that.

  • @mass1023
    @mass1023 Рік тому +4

    I use Rust (with tide), MongodDB and Angular. Works like a charm

  • @prevv3366
    @prevv3366 Рік тому +3

    I like the APTS stack
    Axum PostgreSQL Tauri Sveltekit

  • @dimitarvelkov9601
    @dimitarvelkov9601 Рік тому +17

    Bro, that is really good style for tutorial. Fast, demonstrating concepts, but at the same time if someone is interested can pause the video and study the code in depth. 👍👍
    I am learning rust right now and I love it! I plan on using it for embedded. But I am no programmer. Can you recommend sth for learning more about servers and stuff like that with rust? Thanks for the great videos!

  • @senshai1267
    @senshai1267 3 дні тому

    Just joined the rustacean community ...and UA-cam recommended this video , how cool !

  • @user-eg4qz9yc7e
    @user-eg4qz9yc7e 2 місяці тому

    Since Yew uses web-assembly, you are expected a slow runtime even though rust by itself is a fast language. You can also switch to server side rendering with Yew.

  • @0xBerto
    @0xBerto Рік тому +4

    “A fully oxidized tech stack “ 😂😂

  • @catholic_zoomer_br
    @catholic_zoomer_br Рік тому +14

    I know it wouldn't have the same cool acronym as RSTY, but I prefer Actix. Maybe we can bring some typescript or something, and have the TASTY stack

    • @PaulHosler
      @PaulHosler Рік тому +6

      it's cheating a little, but just use Rust for the R, rearrange the letters a bit, and you get... ARTSY

    • @TernaryM01
      @TernaryM01 Рік тому +5

      @@PaulHosler If that's cheating, then so are MEAN and MERN for including Node.

    • @letsgetrusty
      @letsgetrusty  Рік тому +4

      To be fair I'm currently exploring Axum but that didn't fit the branding ;)

    • @PaulHosler
      @PaulHosler Рік тому

      @@TernaryM01 fair play

  • @yuribudilov5638
    @yuribudilov5638 Рік тому +6

    so what I have learnt is that building full-stack web apps using Rust is just as horribly complex as using any other stack. No wonder overall productivy sucks. Rust may be the best language out there in 2023 but the rest of the full-stack stuff still sucks.

  • @thingsiplay
    @thingsiplay Рік тому +33

    Not using Rust is really a big problem and not acceptable in the IT world.

    • @kaplansedat
      @kaplansedat Рік тому +13

      I like rust. I hate hype driven development.

    • @glxckada
      @glxckada Рік тому +2

      @@kaplansedat this

  • @leagueoflags
    @leagueoflags 6 місяців тому +1

    The amount of self-aware humour is surprisingly cool.

  • @marcombo01
    @marcombo01 Рік тому +2

    I guess this framework makes sense if your are a Rust wizard, otherwise I don't see this as the most productive framework available.

  • @TernaryM01
    @TernaryM01 Рік тому +6

    Would you be so kind to share this entire project, maybe as a GitHub repo? 🥺

  • @ycombinator765
    @ycombinator765 Рік тому +1

    A fully Oxidized Sta.... I lost it there. Love this guy

  • @saathwik_dasari1
    @saathwik_dasari1 Рік тому +5

    Thanks a lot for this tutorial! Hope you post more content related to this.

  • @user-QesOrwuMqN
    @user-QesOrwuMqN Рік тому +13

    It would be interesting to hear about sharing types between server/client/desktop like trpc allows, if it is possible then stack is worth to try

    • @PeterAuto1
      @PeterAuto1 Рік тому +3

      it's possible, you can create a crate for your shared types and include it in front- and backed

    • @gzoechi
      @gzoechi 8 місяців тому

      That works fine. Works everywhere and with WASM even in the browser. You can easily switch between JSON and binary encoding for communication.

  • @oszi7058
    @oszi7058 Рік тому +1

    The most compley todo app i have ever seen!

  • @PacificBird
    @PacificBird Рік тому +3

    I think with newest release of Dioxus, full stack rust webapps are ready for real production! Almost as fast as SolidJS and trivially cross platform

  • @ІванБоровик-э8л
    @ІванБоровик-э8л 8 місяців тому +1

    Please make video about Leptos

  • @RobertoOrtis
    @RobertoOrtis Рік тому +4

    Why you use Yew and not leptos? It doesn't make sense to recommend Yew over Leptos, just because the stack "RSTY" sounds and looks good. There are better alternatives than Rocket as well, like axum, actix, and warp. At least, you should have given a reason to use your recommended frameworks instead of the alternatives. I am a subscriber by the way, so I am just giving you a recommendation.

  • @tamles937
    @tamles937 Рік тому +56

    Really funny and instructive content! I wonder if Actix is better than Rocket? I feel like it's more mainstream right now. Also, it's a shame that you coded the front-end in the Tauri app in JS and not in Rust :P
    Btw, could you share the source code of the project? I'll be very interested in reading it
    Thanks for the always great content on your channel!!

    • @romanstingler435
      @romanstingler435 Рік тому +1

      I would choose AXUM, I think this is the best web choice for now

    • @aryabp
      @aryabp Рік тому +1

      Maybe later.. if yew designer exists, for now using an already existing designer in JS is much more productive.

    • @tamles937
      @tamles937 Рік тому

      @@romanstingler435 Thank you for the insight, I'm not a professional rust dev yet. So I take every piece of advice :)

    • @tamles937
      @tamles937 Рік тому

      @@aryabp Does this apply also to browser-based frontend? I mean, there is no yew designer in general, so js designer can be used for tauri, electron and browsers. Or maybe I'm missing something?

    • @aryabp
      @aryabp Рік тому +1

      @@tamles937 if there were something like yew designer, then tauri easily compact to yew too

  • @echoptic775
    @echoptic775 Рік тому

    Bravo Bodange! Ovo je najprostija todo aplikacija koju sam video!

  • @rapustin
    @rapustin Рік тому +10

    I wish you would explain it in detail. For me it is all black magic. But it serves as an example (I guess).

  • @ant1fact
    @ant1fact Рік тому +1

    Loved the complexity joke :D

  • @TarasShabatin
    @TarasShabatin 6 місяців тому +2

    Is there a framework or tool which will allow you to use the same web-frontend app for creating/generating desktop/mobile app?

  • @n0kodoko143
    @n0kodoko143 Рік тому +3

    As always, super insightful! Many thanks 🙏

  • @CHIEF_Games
    @CHIEF_Games Рік тому +3

    6:05 did you mean to say "main.js?" I don't know much about this stack but was wondering why your main script was in javascript and not rust?

  • @rumplstiltztinkerstein
    @rumplstiltztinkerstein Рік тому +3

    Don't forget to use AWS_sdk_rs to deploy it to the cloud still rusty

  • @chadams
    @chadams Рік тому

    I'd like to introduce the CHAD stack
    Components: (web components built with svelte)
    Hypermedia: (htmx, styled with Tailwind)
    AlpineJS: (as little as possible, only when needed)
    Docker:
    Use any database (try surrealDB)
    Use any language (preferably Rust, just not JS)

    • @heroe1486
      @heroe1486 Рік тому +1

      Docker as part of a stack acronym ? I've seen the CSS framework as part of acronym but here it's even further

  • @AnthonyDev
    @AnthonyDev Рік тому +2

    Cool video. Fireship style. I'm new in the Rust community, I made an app with Tauri/Svelte/Sqlite. Now I'm learning back-end with Axum, should I move to Rocket? What are the advantages?

  • @mlsh-azerty
    @mlsh-azerty Рік тому +2

    i need this same video but splited in each tech explaining all code in detail
    i'm not sure what rocket vs yew are doing

  • @patocarrasco6266
    @patocarrasco6266 Рік тому +3

    it would be nice to know the final size of the binary produced by tauri

  • @user-rg7ux5hn5t
    @user-rg7ux5hn5t 12 днів тому

    @letsgetrusty - is this tech stack still up-to-date in 2024

  • @rian7079
    @rian7079 Рік тому +2

    I like how rust perform and how it forces me to do something that's right but unnecessarily complex 🤣 but I still prefer go anywhere I can

  • @fabiofaria1327
    @fabiofaria1327 Рік тому +3

    I was thinking about changing from web dev like React/TS to Rust for the same reason you listed in a more recent video.
    Still have 1.5y experience and the market at this time is so uncertain and I'm not sure what to do.
    Appreciate your video

    • @lsequoiass3704
      @lsequoiass3704 Рік тому +3

      I ask myself the same question ^^

    • @LtdJorge
      @LtdJorge Рік тому +1

      Rust doesn't give many options for jobs apart from Crypto (and we saw how that went). So I'd stick with web even if I love Rust.

    • @berniko4954
      @berniko4954 4 місяці тому

      @@LtdJorge fr

  • @tokoshiro5
    @tokoshiro5 Рік тому +1

    starting to learning and wishing this was around in my 15ys...now I feel more dumb and without time bc of the workload as a designer
    yet rust rules, I'll get there hahah

  • @zeroows
    @zeroows Рік тому +2

    You should stop using rocket and use Axum insted

  • @kaizhu1702
    @kaizhu1702 Рік тому +1

    Where can I learn this stack like a beginner? Can you provide some resources or links to the courses? I much appreciate that, Let's get rusty!

  • @Rithsomware
    @Rithsomware 10 місяців тому

    currently on python, soon would jump to rust

  • @PriyadarshiPrashant
    @PriyadarshiPrashant Рік тому

    assembly is always good to go with / and for legends binary

  • @MarcelToma
    @MarcelToma Рік тому +3

    Hi, Could you provide the repo for study purposes?

  • @tunasub12
    @tunasub12 Рік тому +1

    How do i even get to the point where i am able to make a simple app like this? It seems so out of my reach. I've read the rust book and made a few programs, but im just not capable of making something like this todo app. What should i do? It's extremely unmotivating :/

  • @ibrahemtaha8177
    @ibrahemtaha8177 Рік тому

    Many thanks for sharing your AMAZING video with us, brother!!!
    please more project of that stacks
    Thanks in advance!

  • @alexon2010
    @alexon2010 Рік тому

    I'm already a javascript developer, I'm wanting to learn RUST to create a desktop app with Rust, I want to learn, but the first contacts are being a little frustrating, I'm trying to do the basic installation, to use Tauri, with TypeScript and SolidJS, I've already solved a problem of build with these guys -> stable-gnu | x86_64-pc-windows-gnu, for windows 10, and after solving this problem there is another one like: -> windres
    error -> thread 'main' panicked at 'Couldn't execute windres to compile

  • @biomorphic
    @biomorphic Рік тому +1

    "If you don't use Rust at this point, are you even a real programmer?" lol 😀

  • @ZekeFast
    @ZekeFast Рік тому

    LAMP is actually Linux, Apache, MySQL, PHP/Perl/Python ;)

  • @user-qr4jf4tv2x
    @user-qr4jf4tv2x Рік тому

    it could be not practical but we will get there
    we just need to put overly complicated abstraction on top of abstractions to make it simple until we move to another toy

  • @sujayxaradhya
    @sujayxaradhya Рік тому +4

    Hey man! We know you're the greatest tutor in the Rust Technology and everybody is convinced to join your course. But the thing which makes them stop or to hold on is your
    course price. It is too much high that anyone cannot be able to purchase only because of the price, we know no doubt your course value is awesome but it isn't much appealing
    as because of the course price. Please Please Please, try to make the course affordable that everybody can purchase and thank you later. 🙏🙏🙏🙏
    I request to all of the guys who agree on this point, please leave a like to this comment👍. So that he can look into this problem.

  • @arstneio
    @arstneio Рік тому +1

    Wait you wrote js for the tauri desktop right? Why not write it in Rust? You said it's full rusty right?

  • @jeanchindeko5477
    @jeanchindeko5477 Рік тому

    Awesome stack and really promising for future web development

  • @isaac80745
    @isaac80745 11 місяців тому

    I started off using warp. Maybe I’ll give this a try

  • @hckhanh
    @hckhanh Рік тому

    This is a good stack for Desktop app + web services

  • @DanielTubul
    @DanielTubul Рік тому

    Would be interested in seeing more videos like this using a whole fullstack of RUST

  • @anutoshchaudhuri1746
    @anutoshchaudhuri1746 Рік тому +2

    Bro but can you do pdf upload, AWS S3 integration, machine learning data visualisation etc with your stack?

  • @loganhodgsn
    @loganhodgsn Рік тому +4

    I love all your other videos, but this one went by too fast for an in-depth look at the full stack, but it went too deep for an overview on each technology. Perhaps if you split them into individual videos showcasing the strengths of each, or show a short outline about its features, I'd be a better audience, but this video was hard to watch! :(
    Your other videos are super helpful though, and I refer to them often when I get stuck!

  • @jckail
    @jckail Рік тому +2

    Thanks for this!

  • @AsbestosSoup
    @AsbestosSoup 10 місяців тому +1

    leptos is amazing too

  • @realfootball338
    @realfootball338 Рік тому +1

    You are RUST preacher

  • @ManishSingh-ll4ws
    @ManishSingh-ll4ws Рік тому +2

    A repo link would be great

  • @aryangurung30
    @aryangurung30 Рік тому

    We want a whole series of tutorial on RUSTY stack its awesome

  • @treythomas7647
    @treythomas7647 Рік тому +1

    I'll stick with Flutter for UI dev, but everything else is awesome. Thanks

    • @zzzyyyxxx
      @zzzyyyxxx Рік тому

      I've been using flutter_rust_bridge, it's awesome

    • @treythomas7647
      @treythomas7647 Рік тому

      @@zzzyyyxxx Nice. Do you know if you can run the FFI bridge inside another isolate?

  • @736939
    @736939 Рік тому +1

    Actix, Diesel, Yew, Surreal.

  • @Yomanthunder-e4c
    @Yomanthunder-e4c 3 дні тому

    Damnn , rust can be very overwhelming for beginners

  • @milutinke
    @milutinke Рік тому +1

    That is a ton of code for a simple todo app.

  • @JTCF
    @JTCF Рік тому +2

    Hold on, desktop app is in js!

  • @mariomonteiro7992
    @mariomonteiro7992 Рік тому +1

    Awesome video. Where can we get the source code for this video project? Will be great if we have a github repo. Thanks

  • @Anonymous-sq6eo
    @Anonymous-sq6eo Рік тому +1

    I come from web development, but I have been thinking of learning something that goes lower. I am still not sure, for now Java and C# are my main options, however, I am starting to consider Rust for its flexibility.
    I am so confused, I don’t know what to pick 😂
    Do you think these frameworks are staying for good?

    • @piff57paff
      @piff57paff Рік тому +1

      It's funny that a web dev asks if a framework will stay, given that web frameworks and tooling are changing like twice a day. Or maybe it's the pain speaking? :D Joking aside: Rocket seems to be here to stay, can't speak for the rest. Rust gets you a lot lower than C# and Java, but what to pick really depends on what you are aiming for. There is a lot of web backend stuff and Apps currently written in Java or Kotlin, but I see this trending _slowly_ towards Rust. Can't speak for C#, but my gut feeling says it's more used in desktop apps. That being said Rust is an interesting language and compared to Java and C# very resource efficient and "runs on a toaster".

    • @Anonymous-sq6eo
      @Anonymous-sq6eo Рік тому +1

      @@piff57paff that was personal haha
      yeah webdev frameworks come and go… even React as we knew it is gone now. But oh well.
      Yeah C# is more desktop/windows centric, I wouldn’t want to limit myself to one platform, so after seeing Rust being able to develop apps crossplatform, webapps and anything else you can imagine, I am considering getting into Rust.
      I can imagine it’s going to be a journey considering the language goes low, but I think it will be an interesting journey.

  • @304nokia
    @304nokia Рік тому

    You can't just say that the wasm application is a frontend on rust, it's not true.
    > As of today, WebAssembly is not feature-complete for DOM interactions. This means even in Yew we sometimes rely on calling Javascript. What follows is an overview of the involved libraries.

  • @jhoughjr1
    @jhoughjr1 Рік тому

    starting off the the best meme to describe tech stacks, wow

  • @gramajocristianismael282
    @gramajocristianismael282 Рік тому

    Fireship style? i love it.

  • @devOnHoliday
    @devOnHoliday 7 місяців тому +2

    10 months after this video is posted, Rocket is already outdated

    • @antoniong4380
      @antoniong4380 7 місяців тому +1

      Rocket just is lagging behind. It needs more consideration before using it

  • @MichalLipinskimisial
    @MichalLipinskimisial Рік тому +2

    not rusty enough, I saw css and html, everything should by ruuuust xD

    • @harriet-x.x
      @harriet-x.x 5 місяців тому

      rustss :P rustml :PPP

  • @lucomusicofficial
    @lucomusicofficial 2 дні тому

    Does HTML5 CAMERA work? Rust rocket only render green screen.

  • @theman3n
    @theman3n Рік тому

    Thanks for the information, can you please share the code's repository?

  • @lpls
    @lpls 5 місяців тому

    What I'm really missing is something like Pydantic for Rust.

    • @i_accept_all_cookies
      @i_accept_all_cookies 5 місяців тому

      Is Garde similar to Pydantic?

    • @lpls
      @lpls 4 місяці тому

      @@i_accept_all_cookies looks so! Thank you!

  • @vasileiosnl
    @vasileiosnl Рік тому +2

    Is rocket still a thing? It is still in rc0.5 version for the past 2 years now

  • @sreejishnair5922
    @sreejishnair5922 Рік тому

    This sound really dope can make a course on this?

  • @ninjatwentyfive
    @ninjatwentyfive 28 днів тому

    This is sick!

  • @alexleung842
    @alexleung842 Рік тому

    You can build mobile apps with Tauri now too

  • @furkanunsal5814
    @furkanunsal5814 Рік тому +1

    only stack you really need, c++, c++, c++, c++

  • @thekwoka4707
    @thekwoka4707 Рік тому

    Why didn't you use the same WASM front end from the web app for the Tauri app?

  • @cryogon
    @cryogon 6 місяців тому

    most accurate component library name

  • @pabloosrer4938
    @pabloosrer4938 8 місяців тому

    Do you know if Java or Go has a stack like the ones you mention about LAMP, MERN?

  • @jaysistar2711
    @jaysistar2711 Рік тому +1

    What's up with the "probably not"?

  • @PaulHosler
    @PaulHosler Рік тому

    Druid-rs is pretty cool if you want to make a desktop app

  • @brymstoner
    @brymstoner Рік тому

    this opinion might not be well liked, but oh well. I've messed with a bit of rust and rocket. i like it. but it's still ... too much. i don't want to have to use 4 or 5 separate technologies to get secure, reliable results. make it require less code, make the code more human readable / easier to glance and understand to help bolster newcomers and retain dabblers like myself, and it'll probably see a significant uptake.

  • @eck1997rock
    @eck1997rock Рік тому

    omfg, gold. Thanks!

  • @greentox89a
    @greentox89a Рік тому +2

    I prefer actix rather than rocket tbh

  • @flogginga_dead_horse4022
    @flogginga_dead_horse4022 Рік тому

    kinda surprised even in your new "bootcamp" course you are using Rocket. Makes me wonder how much you really know about Rust. Actix, axum, warp all better choices it seems for frameworks. I could be wrong I guess. 🤪

  • @paulmess
    @paulmess Рік тому

    Great Work! but I am still waiting for my cheat sheet 😛