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...
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?
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.
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")
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
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 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
"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
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.
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.
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!
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.
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.
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.
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!!
@@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?
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)
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?
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
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
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 :/
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
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
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.
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!
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?
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".
@@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.
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.
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.
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. 🤪
📝Get your *FREE Rust cheat sheet* :
www.letsgetrusty.com/cheatsheet
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?
Dear LGR,
Please do the Brown University version of Rust book series here on YT
"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.
lol
for real
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.
wait, so you think this is not practical at the moment ?
@@aneeshprasobhanfor most apps it's not really that benefitial or practical to use that rusty stack
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")
i use arch btw, no brag
So your stack is called ASYEIBLPNGBS?
@@nicolaslopeza2251 yea maybe ")
Cool 👍
Alacritty as the terminal?
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
Love it
Python always was a grower not a show'r xD
LOL@@nsdfilthyasmels4852
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.
I’m trying to decide between rust and golang. Why are you choosing rust over golang to learn?
@@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
Why do you assume that before you know it?
RSTY stack is dead before it being born
CHAD stack is the true stack
fellow primeagen fan i see
@@rehatsingh456 we shall conquer the world
CHAD is the truest and most refined form of stack ever existed
What's that?
C++ Haskell Ada D?
(These are all programming languages)
cobol on wheelchair for life
@@TernaryM01 COBOL + Haskell + AlpineJS + Docker
Thank you very much for the mention once again Let’s Get Rusty ❤ Have a great weekend!
could you make this same video but longer where you explain everything, i feel like longform concrete app stack content is missing for rust
Request noted
"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
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.
i think its because he is using the db driver directly
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.
I use Rust (with tide), MongodDB and Angular. Works like a charm
I like the APTS stack
Axum PostgreSQL Tauri Sveltekit
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!
Just joined the rustacean community ...and UA-cam recommended this video , how cool !
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.
“A fully oxidized tech stack “ 😂😂
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
it's cheating a little, but just use Rust for the R, rearrange the letters a bit, and you get... ARTSY
@@PaulHosler If that's cheating, then so are MEAN and MERN for including Node.
To be fair I'm currently exploring Axum but that didn't fit the branding ;)
@@TernaryM01 fair play
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.
Not using Rust is really a big problem and not acceptable in the IT world.
I like rust. I hate hype driven development.
@@kaplansedat this
The amount of self-aware humour is surprisingly cool.
I guess this framework makes sense if your are a Rust wizard, otherwise I don't see this as the most productive framework available.
Would you be so kind to share this entire project, maybe as a GitHub repo? 🥺
A fully Oxidized Sta.... I lost it there. Love this guy
Thanks a lot for this tutorial! Hope you post more content related to this.
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
it's possible, you can create a crate for your shared types and include it in front- and backed
That works fine. Works everywhere and with WASM even in the browser. You can easily switch between JSON and binary encoding for communication.
The most compley todo app i have ever seen!
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
Please make video about Leptos
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.
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!!
I would choose AXUM, I think this is the best web choice for now
Maybe later.. if yew designer exists, for now using an already existing designer in JS is much more productive.
@@romanstingler435 Thank you for the insight, I'm not a professional rust dev yet. So I take every piece of advice :)
@@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?
@@tamles937 if there were something like yew designer, then tauri easily compact to yew too
Bravo Bodange! Ovo je najprostija todo aplikacija koju sam video!
I wish you would explain it in detail. For me it is all black magic. But it serves as an example (I guess).
Loved the complexity joke :D
Is there a framework or tool which will allow you to use the same web-frontend app for creating/generating desktop/mobile app?
As always, super insightful! Many thanks 🙏
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?
Don't forget to use AWS_sdk_rs to deploy it to the cloud still rusty
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)
Docker as part of a stack acronym ? I've seen the CSS framework as part of acronym but here it's even further
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?
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
it would be nice to know the final size of the binary produced by tauri
@letsgetrusty - is this tech stack still up-to-date in 2024
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
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
I ask myself the same question ^^
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.
@@LtdJorge fr
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
You should stop using rocket and use Axum insted
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!
currently on python, soon would jump to rust
assembly is always good to go with / and for legends binary
Hi, Could you provide the repo for study purposes?
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 :/
Many thanks for sharing your AMAZING video with us, brother!!!
please more project of that stacks
Thanks in advance!
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
"If you don't use Rust at this point, are you even a real programmer?" lol 😀
LAMP is actually Linux, Apache, MySQL, PHP/Perl/Python ;)
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
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.
Wait you wrote js for the tauri desktop right? Why not write it in Rust? You said it's full rusty right?
Awesome stack and really promising for future web development
I started off using warp. Maybe I’ll give this a try
This is a good stack for Desktop app + web services
Would be interested in seeing more videos like this using a whole fullstack of RUST
Bro but can you do pdf upload, AWS S3 integration, machine learning data visualisation etc with your stack?
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!
Thanks for this!
leptos is amazing too
You are RUST preacher
A repo link would be great
We want a whole series of tutorial on RUSTY stack its awesome
I'll stick with Flutter for UI dev, but everything else is awesome. Thanks
I've been using flutter_rust_bridge, it's awesome
@@zzzyyyxxx Nice. Do you know if you can run the FFI bridge inside another isolate?
Actix, Diesel, Yew, Surreal.
Damnn , rust can be very overwhelming for beginners
That is a ton of code for a simple todo app.
Hold on, desktop app is in js!
Awesome video. Where can we get the source code for this video project? Will be great if we have a github repo. Thanks
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?
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".
@@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.
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.
starting off the the best meme to describe tech stacks, wow
Fireship style? i love it.
10 months after this video is posted, Rocket is already outdated
Rocket just is lagging behind. It needs more consideration before using it
not rusty enough, I saw css and html, everything should by ruuuust xD
rustss :P rustml :PPP
Does HTML5 CAMERA work? Rust rocket only render green screen.
Thanks for the information, can you please share the code's repository?
What I'm really missing is something like Pydantic for Rust.
Is Garde similar to Pydantic?
@@i_accept_all_cookies looks so! Thank you!
Is rocket still a thing? It is still in rc0.5 version for the past 2 years now
exactly
This sound really dope can make a course on this?
This is sick!
You can build mobile apps with Tauri now too
only stack you really need, c++, c++, c++, c++
Why didn't you use the same WASM front end from the web app for the Tauri app?
most accurate component library name
Do you know if Java or Go has a stack like the ones you mention about LAMP, MERN?
What's up with the "probably not"?
Druid-rs is pretty cool if you want to make a desktop app
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.
omfg, gold. Thanks!
I prefer actix rather than rocket tbh
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. 🤪
Great Work! but I am still waiting for my cheat sheet 😛