Build your entire tech stack in Rust

  Рет қаралды 197,591

Let's Get Rusty

Let's Get Rusty

Жыл бұрын

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.com/cheatsheet
Code: github.com/letsgetrusty/rsty-...

Пікірлер: 336
@letsgetrusty
@letsgetrusty Жыл бұрын
📝Get your *FREE Rust cheat sheet* : www.letsgetrusty.com/cheatsheet
@maxali6591
@maxali6591 Жыл бұрын
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 27 күн бұрын
Dear LGR, Please do the Brown University version of Rust book series here on YT
@kibe2134
@kibe2134 Жыл бұрын
"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.
@catwayroad9742
@catwayroad9742 Жыл бұрын
lol
@soupnoodles
@soupnoodles Жыл бұрын
for real
@myfavouritecolorisgreen
@myfavouritecolorisgreen 10 ай бұрын
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 10 ай бұрын
wait, so you think this is not practical at the moment ?
@arthurvieira2104
@arthurvieira2104 10 ай бұрын
​@@aneeshprasobhanfor most apps it's not really that benefitial or practical to use that rusty stack
@linuswalker4552
@linuswalker4552 Жыл бұрын
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")
@user-rr8hc8ls5n
@user-rr8hc8ls5n Жыл бұрын
i use arch btw, no brag
@nicolaslopeza2251
@nicolaslopeza2251 Жыл бұрын
So your stack is called ASYEIBLPNGBS?
@linuswalker4552
@linuswalker4552 Жыл бұрын
@@nicolaslopeza2251 yea maybe ")
@japrogramer
@japrogramer Жыл бұрын
Cool 👍
@schmeekydev6244
@schmeekydev6244 Жыл бұрын
Alacritty as the terminal?
@SuperSrDan
@SuperSrDan Жыл бұрын
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
@letsgetrusty
@letsgetrusty Жыл бұрын
Love it
@nsdfilthyasmels4852
@nsdfilthyasmels4852 Жыл бұрын
Python always was a grower not a show'r xD
@kutsoyu
@kutsoyu 9 ай бұрын
LOL@@nsdfilthyasmels4852
@krtirtho
@krtirtho Жыл бұрын
RSTY stack is dead before it being born CHAD stack is the true stack
@rehatsingh456
@rehatsingh456 Жыл бұрын
fellow primeagen fan i see
@krtirtho
@krtirtho Жыл бұрын
@@rehatsingh456 we shall conquer the world CHAD is the truest and most refined form of stack ever existed
@TernaryM01
@TernaryM01 Жыл бұрын
What's that? C++ Haskell Ada D? (These are all programming languages)
@peculiar-coding-endeavours
@peculiar-coding-endeavours Жыл бұрын
cobol on wheelchair for life
@rehatsingh456
@rehatsingh456 Жыл бұрын
@@TernaryM01 COBOL + Haskell + AlpineJS + Docker
@_romeopeter
@_romeopeter Жыл бұрын
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 Жыл бұрын
I’m trying to decide between rust and golang. Why are you choosing rust over golang to learn?
@squabble3332
@squabble3332 Жыл бұрын
@@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 3 ай бұрын
Why do you assume that before you know it?
@SurrealDB
@SurrealDB Жыл бұрын
Thank you very much for the mention once again Let’s Get Rusty ❤ Have a great weekend!
@saathwik_dasari1
@saathwik_dasari1 Жыл бұрын
Thanks a lot for this tutorial! Hope you post more content related to this.
@lovrodvorski7180
@lovrodvorski7180 Жыл бұрын
could you make this same video but longer where you explain everything, i feel like longform concrete app stack content is missing for rust
@letsgetrusty
@letsgetrusty Жыл бұрын
Request noted
@n0kodoko143
@n0kodoko143 Жыл бұрын
As always, super insightful! Many thanks 🙏
@MistaSmith
@MistaSmith Жыл бұрын
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 Жыл бұрын
i think its because he is using the db driver directly
@dimitarvelkov9601
@dimitarvelkov9601 Жыл бұрын
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!
@jamesbarrow
@jamesbarrow Жыл бұрын
"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
@user-QesOrwuMqN
@user-QesOrwuMqN Жыл бұрын
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 Жыл бұрын
it's possible, you can create a crate for your shared types and include it in front- and backed
@gzoechi
@gzoechi 4 ай бұрын
That works fine. Works everywhere and with WASM even in the browser. You can easily switch between JSON and binary encoding for communication.
@mass1023
@mass1023 Жыл бұрын
I use Rust (with tide), MongodDB and Angular. Works like a charm
@arta6183
@arta6183 Жыл бұрын
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.
@DanielTubul
@DanielTubul Жыл бұрын
Would be interested in seeing more videos like this using a whole fullstack of RUST
@ibrahemtaha8177
@ibrahemtaha8177 Жыл бұрын
Many thanks for sharing your AMAZING video with us, brother!!! please more project of that stacks Thanks in advance!
@AnthonyDev
@AnthonyDev Жыл бұрын
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?
@leagueoflags
@leagueoflags 3 ай бұрын
The amount of self-aware humour is surprisingly cool.
@echoptic775
@echoptic775 Жыл бұрын
Bravo Bodange! Ovo je najprostija todo aplikacija koju sam video!
@marcombo01
@marcombo01 8 ай бұрын
I guess this framework makes sense if your are a Rust wizard, otherwise I don't see this as the most productive framework available.
@TarasShabatin
@TarasShabatin 2 ай бұрын
Is there a framework or tool which will allow you to use the same web-frontend app for creating/generating desktop/mobile app?
@jckail
@jckail Жыл бұрын
Thanks for this!
@mlsh-azerty
@mlsh-azerty 10 ай бұрын
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
@PacificBird
@PacificBird Жыл бұрын
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
@patocarrasco6266
@patocarrasco6266 Жыл бұрын
it would be nice to know the final size of the binary produced by tauri
@MarcelToma
@MarcelToma Жыл бұрын
Hi, Could you provide the repo for study purposes?
@jeanchindeko5477
@jeanchindeko5477 Жыл бұрын
Awesome stack and really promising for future web development
@PriyadarshiPrashant
@PriyadarshiPrashant Жыл бұрын
assembly is always good to go with / and for legends binary
@theman3n
@theman3n Жыл бұрын
Thanks for the information, can you please share the code's repository?
@thingsiplay
@thingsiplay Жыл бұрын
Not using Rust is really a big problem and not acceptable in the IT world.
@kaplansedat
@kaplansedat Жыл бұрын
I like rust. I hate hype driven development.
@glxckada
@glxckada Жыл бұрын
@@kaplansedat this
@kaizhu1702
@kaizhu1702 11 ай бұрын
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!
@prevv3366
@prevv3366 Жыл бұрын
I like the APTS stack Axum PostgreSQL Tauri Sveltekit
@ycombinator765
@ycombinator765 Жыл бұрын
A fully Oxidized Sta.... I lost it there. Love this guy
@pabloosrer4938
@pabloosrer4938 4 ай бұрын
Do you know if Java or Go has a stack like the ones you mention about LAMP, MERN?
@eck1997rock
@eck1997rock Жыл бұрын
omfg, gold. Thanks!
@mariomonteiro7992
@mariomonteiro7992 Жыл бұрын
Awesome video. Where can we get the source code for this video project? Will be great if we have a github repo. Thanks
@fabiofaria1327
@fabiofaria1327 Жыл бұрын
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 Жыл бұрын
I ask myself the same question ^^
@LtdJorge
@LtdJorge 11 ай бұрын
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 Ай бұрын
@@LtdJorge fr
@CHIEF_Games
@CHIEF_Games Жыл бұрын
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?
@TernaryM01
@TernaryM01 Жыл бұрын
Would you be so kind to share this entire project, maybe as a GitHub repo? 🥺
@rian7079
@rian7079 Жыл бұрын
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
@arstneio
@arstneio Жыл бұрын
Wait you wrote js for the tauri desktop right? Why not write it in Rust? You said it's full rusty right?
@anutoshchaudhuri1746
@anutoshchaudhuri1746 Жыл бұрын
Bro but can you do pdf upload, AWS S3 integration, machine learning data visualisation etc with your stack?
@phoenicianathletix2866
@phoenicianathletix2866 Жыл бұрын
Which rust ui framework best for convert Photoshop to Rust UI? Like some developers do PSD to svelte
@aryangurung3401
@aryangurung3401 Жыл бұрын
We want a whole series of tutorial on RUSTY stack its awesome
@thekwoka4707
@thekwoka4707 Жыл бұрын
Why didn't you use the same WASM front end from the web app for the Tauri app?
@SermanD
@SermanD Жыл бұрын
The database queries (from 2:45) look like they are vulnerable to traditional sql injection attacks?
@richardly1543
@richardly1543 11 ай бұрын
Does Yew/Rust have a way to directly work with the DOM yet
@HudaDemirtas
@HudaDemirtas Жыл бұрын
hey, can you tell me wich font do you use?
@kocokan
@kocokan Жыл бұрын
To build the desktop app, you have to write js?
@ManishSingh-ll4ws
@ManishSingh-ll4ws Жыл бұрын
A repo link would be great
@tokoshiro5
@tokoshiro5 Жыл бұрын
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
@sreejishnair5922
@sreejishnair5922 Жыл бұрын
This sound really dope can make a course on this?
@marcmarugan3565
@marcmarugan3565 Жыл бұрын
I would love to use Yew, but trunk serve does not work when running it inside a docker container using the latest 1.69 rust official image :(
@goshmain982
@goshmain982 11 ай бұрын
Can I use React as frontend? RSR stack?
@gramajocristianismael282
@gramajocristianismael282 Жыл бұрын
Fireship style? i love it.
@Tvaroh
@Tvaroh Жыл бұрын
Is there a Github link for this code?
@jhoughjr1
@jhoughjr1 Жыл бұрын
starting off the the best meme to describe tech stacks, wow
@isaac80745
@isaac80745 7 ай бұрын
I started off using warp. Maybe I’ll give this a try
@hckhanh
@hckhanh Жыл бұрын
This is a good stack for Desktop app + web services
@Gelo2000origami
@Gelo2000origami Жыл бұрын
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 Жыл бұрын
it's cheating a little, but just use Rust for the R, rearrange the letters a bit, and you get... ARTSY
@TernaryM01
@TernaryM01 Жыл бұрын
@@PaulHosler If that's cheating, then so are MEAN and MERN for including Node.
@letsgetrusty
@letsgetrusty Жыл бұрын
To be fair I'm currently exploring Axum but that didn't fit the branding ;)
@PaulHosler
@PaulHosler Жыл бұрын
@@TernaryM01 fair play
@0xBerto
@0xBerto Жыл бұрын
“A fully oxidized tech stack “ 😂😂
@rumplstiltztinkerstein
@rumplstiltztinkerstein Жыл бұрын
Don't forget to use AWS_sdk_rs to deploy it to the cloud still rusty
@Anonymous-sq6eo
@Anonymous-sq6eo Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
@@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.
@paulmess
@paulmess Жыл бұрын
Great Work! but I am still waiting for my cheat sheet 😛
@PaulHosler
@PaulHosler Жыл бұрын
Druid-rs is pretty cool if you want to make a desktop app
@tamles937
@tamles937 Жыл бұрын
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 Жыл бұрын
I would choose AXUM, I think this is the best web choice for now
@aryabp
@aryabp Жыл бұрын
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 Жыл бұрын
@@tamles937 if there were something like yew designer, then tauri easily compact to yew too
@vasileiosnl
@vasileiosnl Жыл бұрын
Is rocket still a thing? It is still in rc0.5 version for the past 2 years now
@flogginga_dead_horse4022
@flogginga_dead_horse4022 Жыл бұрын
exactly
@devOnHoliday
@devOnHoliday 4 ай бұрын
10 months after this video is posted, Rocket is already outdated
@antoniong4380
@antoniong4380 4 ай бұрын
Rocket just is lagging behind. It needs more consideration before using it
@shadowpenguin3482
@shadowpenguin3482 Жыл бұрын
2:48 i don’t know rust, but it looks like this is vulnerable to SQL injection, right?
@kkkk-nw5rf
@kkkk-nw5rf Жыл бұрын
awesome!
@trollsdelpuente
@trollsdelpuente Жыл бұрын
I wish you would explain it in detail. For me it is all black magic. But it serves as an example (I guess).
@irlshrek
@irlshrek Жыл бұрын
is rocket still in development?
@tunasub12
@tunasub12 11 ай бұрын
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 :/
@user-hy5cx9iu3l
@user-hy5cx9iu3l 5 ай бұрын
Please make video about Leptos
@hellelo.5840
@hellelo.5840 Жыл бұрын
I need help if you can, I need to change the data directory of tauri app but I can't find how. Can you help me?
@ant1fact
@ant1fact Жыл бұрын
Loved the complexity joke :D
@user-qr4jf4tv2x
@user-qr4jf4tv2x 11 ай бұрын
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
@mikhailvasilev5798
@mikhailvasilev5798 Жыл бұрын
Why is Yew instead Leptos ?
@RobertoOrtis
@RobertoOrtis Жыл бұрын
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.
@Jacob011
@Jacob011 Жыл бұрын
Where is support for linear algebra with general nd-arrays and numerical algorithms (integration, optimization, etc.)
@ZekeFast
@ZekeFast Жыл бұрын
LAMP is actually Linux, Apache, MySQL, PHP/Perl/Python ;)
@FusionHyperion
@FusionHyperion Жыл бұрын
Btw I think Tauri already released the android build since 1.2?
@Rithsomware
@Rithsomware 6 ай бұрын
currently on python, soon would jump to rust
@jaysistar2711
@jaysistar2711 Жыл бұрын
What's up with the "probably not"?
@mentat92
@mentat92 Жыл бұрын
Wooow impressive 😮
@Rigardoful
@Rigardoful Жыл бұрын
Sadly, I'm not good enough at frontend to not need a bunch of libraries to help me :x So I will need some rusty components and misc stuff like editors till this is a decent option. Also, although it ruins the abbreviation, I don't think Rocket is the best choice right now :x
@zeroows
@zeroows Жыл бұрын
You should stop using rocket and use Axum insted
@JTCF
@JTCF Жыл бұрын
Hold on, desktop app is in js!
@oszi7058
@oszi7058 11 ай бұрын
The most compley todo app i have ever seen!
@ras4884
@ras4884 Жыл бұрын
I'd appreciate if you post the codes in github then share it to us
@thedevminer
@thedevminer Жыл бұрын
Why did you build the web app with Yew but not the desktop app?
@letsgetrusty
@letsgetrusty Жыл бұрын
Laziness
@D3vD145
@D3vD145 Жыл бұрын
Where is the git repo with this project?
@alexleung842
@alexleung842 Жыл бұрын
You can build mobile apps with Tauri now too
@sergey9679
@sergey9679 Жыл бұрын
So the frontend app is written twice, using rust/yew and js)
@biomorphic
@biomorphic Жыл бұрын
"If you don't use Rust at this point, are you even a real programmer?" lol 😀
@loganhodgsn
@loganhodgsn Жыл бұрын
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!
@thaiduynguyen6469
@thaiduynguyen6469 8 ай бұрын
How about Axum?
@chadams
@chadams 11 ай бұрын
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 10 ай бұрын
Docker as part of a stack acronym ? I've seen the CSS framework as part of acronym but here it's even further
5 traits your Rust types must implement
10:39
Let's Get Rusty
Рет қаралды 55 М.
8 deadly mistakes beginner Rust developers make
14:14
Let's Get Rusty
Рет қаралды 155 М.
Black Magic 🪄 by Petkit Pura Max #cat #cats
00:38
Sonyakisa8 TT
Рет қаралды 37 МЛН
The Rust Survival Guide
12:34
Let's Get Rusty
Рет қаралды 127 М.
How to OVER Engineer a Website // What is a Tech Stack?
11:20
Fireship
Рет қаралды 2,3 МЛН
The Truth about Rust/WebAssembly Performance
29:47
Greg Johnston
Рет қаралды 170 М.
Why JavaScript Devs are Switching to Rust in 2024
10:35
warpdotdev
Рет қаралды 244 М.
I spent six months rewriting everything in Rust
15:11
chris biscardi
Рет қаралды 398 М.
I Made a FAST File Explorer (in Rust)
4:33
conaticus
Рет қаралды 206 М.
Rust is easy... (we make it hard)
10:11
Let's Get Rusty
Рет қаралды 114 М.
I made my own Text Editor (in Rust)
8:16
FaceDev
Рет қаралды 83 М.
СТОИТ ЛИ БРАТЬ IPHONE 13 В 2024?
13:53
DimaViper Live
Рет қаралды 20 М.
С Какой Высоты Разобьётся NOKIA3310 ?!😳
0:43
iPhone 12 socket cleaning #fixit
0:30
Tamar DB (mt)
Рет қаралды 21 МЛН
Нашел айфоны в мусорке!
0:32
По ту сторону Гугла
Рет қаралды 275 М.
ЭТОТ ЗАБЫТЫЙ ФЛАГМАН СИЛЬНО ПОДЕШЕВЕЛ! Стоит купить...
12:54
Thebox - о технике и гаджетах
Рет қаралды 151 М.