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...
Пікірлер: 354
@letsgetrusty Жыл бұрын
📝Get your *FREE Rust cheat sheet* : www.letsgetrusty.com/cheatsheet
@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?
@electrolyteorb6 ай бұрын
Dear LGR, Please do the Brown University version of Rust book series here on YT
@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.
@catwayroad Жыл бұрын
lol
@soupnoodles Жыл бұрын
for real
@myfavouritecolorisgreen Жыл бұрын
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 Жыл бұрын
wait, so you think this is not practical at the moment ?
@arthurvieira2104 Жыл бұрын
@@aneeshprasobhanfor most apps it's not really that benefitial or practical to use that rusty stack
@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")
@ЭнрикеЧурин Жыл бұрын
i use arch btw, no brag
@nicolaslopeza2251 Жыл бұрын
So your stack is called ASYEIBLPNGBS?
@linuswalker4552 Жыл бұрын
@@nicolaslopeza2251 yea maybe ")
@japrogramer Жыл бұрын
Cool 👍
@schmeekydev6244 Жыл бұрын
Alacritty as the terminal?
@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 Жыл бұрын
Love it
@nsdfilthyasmels4852 Жыл бұрын
Python always was a grower not a show'r xD
@kutsoyu Жыл бұрын
LOL@@nsdfilthyasmels4852
@krtirtho Жыл бұрын
RSTY stack is dead before it being born CHAD stack is the true stack
@rehatsingh456 Жыл бұрын
fellow primeagen fan i see
@krtirtho Жыл бұрын
@@rehatsingh456 we shall conquer the world CHAD is the truest and most refined form of stack ever existed
@TernaryM01 Жыл бұрын
What's that? C++ Haskell Ada D? (These are all programming languages)
@peculiar-coding-endeavours Жыл бұрын
cobol on wheelchair for life
@rehatsingh456 Жыл бұрын
@@TernaryM01 COBOL + Haskell + AlpineJS + Docker
@_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 Жыл бұрын
I’m trying to decide between rust and golang. Why are you choosing rust over golang to learn?
@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
@jerbear79528 ай бұрын
Why do you assume that before you know it?
@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 Жыл бұрын
Request noted
@SurrealDB Жыл бұрын
Thank you very much for the mention once again Let’s Get Rusty ❤ Have a great weekend!
@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!
@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 Жыл бұрын
i think its because he is using the db driver directly
@mass1023 Жыл бұрын
I use Rust (with tide), MongodDB and Angular. Works like a charm
@prevv3366 Жыл бұрын
I like the APTS stack Axum PostgreSQL Tauri Sveltekit
@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.
@TernaryM01 Жыл бұрын
Would you be so kind to share this entire project, maybe as a GitHub repo? 🥺
@mopishlynx2323Ай бұрын
I use Tauri a lot, and it's really nice.
@thingsiplay Жыл бұрын
Not using Rust is really a big problem and not acceptable in the IT world.
@kaplansedat Жыл бұрын
I like rust. I hate hype driven development.
@glxckada Жыл бұрын
@@kaplansedat this
@leagueoflags8 ай бұрын
The amount of self-aware humour is surprisingly cool.
@marcombo01 Жыл бұрын
I guess this framework makes sense if your are a Rust wizard, otherwise I don't see this as the most productive framework available.
@catholic_zoomer_bro Жыл бұрын
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 Жыл бұрын
it's cheating a little, but just use Rust for the R, rearrange the letters a bit, and you get... ARTSY
@TernaryM01 Жыл бұрын
@@PaulHosler If that's cheating, then so are MEAN and MERN for including Node.
@letsgetrusty Жыл бұрын
To be fair I'm currently exploring Axum but that didn't fit the branding ;)
@PaulHosler Жыл бұрын
@@TernaryM01 fair play
@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?
@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
@ycombinator765 Жыл бұрын
A fully Oxidized Sta.... I lost it there. Love this guy
@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
@TarasShabatin8 ай бұрын
Is there a framework or tool which will allow you to use the same web-frontend app for creating/generating desktop/mobile app?
@0xBerto Жыл бұрын
“A fully oxidized tech stack “ 😂😂
@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 Жыл бұрын
it's possible, you can create a crate for your shared types and include it in front- and backed
@gzoechi10 ай бұрын
That works fine. Works everywhere and with WASM even in the browser. You can easily switch between JSON and binary encoding for communication.
@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.
@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 Жыл бұрын
Docker as part of a stack acronym ? I've seen the CSS framework as part of acronym but here it's even further
@rapustin Жыл бұрын
I wish you would explain it in detail. For me it is all black magic. But it serves as an example (I guess).
@user-eg4qz9yc7e4 ай бұрын
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.
@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 Жыл бұрын
I would choose AXUM, I think this is the best web choice for now
@aryabp Жыл бұрын
Maybe later.. if yew designer exists, for now using an already existing designer in JS is much more productive.
@tamles937 Жыл бұрын
@@romanstingler435 Thank you for the insight, I'm not a professional rust dev yet. So I take every piece of advice :)
@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 Жыл бұрын
@@tamles937 if there were something like yew designer, then tauri easily compact to yew too
@senshai1267Ай бұрын
Just joined the rustacean community ...and KZbin recommended this video , how cool !
@rumplstiltztinkerstein Жыл бұрын
Don't forget to use AWS_sdk_rs to deploy it to the cloud still rusty
@oszi7058 Жыл бұрын
The most compley todo app i have ever seen!
@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?
@echoptic775 Жыл бұрын
Bravo Bodange! Ovo je najprostija todo aplikacija koju sam video!
@saathwik_dasari1 Жыл бұрын
Thanks a lot for this tutorial! Hope you post more content related to this.
@arstneio Жыл бұрын
Wait you wrote js for the tauri desktop right? Why not write it in Rust? You said it's full rusty right?
@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 Жыл бұрын
I ask myself the same question ^^
@LtdJorge Жыл бұрын
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.
@berniko49546 ай бұрын
@@LtdJorge fr
@kaizhu1702 Жыл бұрын
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!
@mlsh-azerty Жыл бұрын
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
@MarcelToma Жыл бұрын
Hi, Could you provide the repo for study purposes?
@anutoshchaudhuri1746 Жыл бұрын
Bro but can you do pdf upload, AWS S3 integration, machine learning data visualisation etc with your stack?
@noyb-yb Жыл бұрын
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.
@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
@jhoughjr1 Жыл бұрын
starting off the the best meme to describe tech stacks, wow
@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
@user-rg7ux5hn5t2 ай бұрын
@letsgetrusty - is this tech stack still up-to-date in 2024
@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!
@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
@zeroows Жыл бұрын
You should stop using rocket and use Axum insted
@patocarrasco6266 Жыл бұрын
it would be nice to know the final size of the binary produced by tauri
@ІванБоровик-э8л10 ай бұрын
Please make video about Leptos
@aryangurung30 Жыл бұрын
We want a whole series of tutorial on RUSTY stack its awesome
@ZekeFast Жыл бұрын
LAMP is actually Linux, Apache, MySQL, PHP/Perl/Python ;)
@milutinke Жыл бұрын
That is a ton of code for a simple todo app.
@hckhanh Жыл бұрын
This is a good stack for Desktop app + web services
@janakaone7 күн бұрын
When you have a hammer in your hand everything looks like a nail. 😂
@n0kodoko143 Жыл бұрын
As always, super insightful! Many thanks 🙏
@tunasub12 Жыл бұрын
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 :/
@furkanunsal5814 Жыл бұрын
only stack you really need, c++, c++, c++, c++
@MichalLipinskimisial Жыл бұрын
not rusty enough, I saw css and html, everything should by ruuuust xD
@harriet-x.x7 ай бұрын
rustss :P rustml :PPP
@JTCF Жыл бұрын
Hold on, desktop app is in js!
@PriyadarshiPrashant Жыл бұрын
assembly is always good to go with / and for legends binary
@mariomonteiro7992 Жыл бұрын
Awesome video. Where can we get the source code for this video project? Will be great if we have a github repo. Thanks
@gramajocristianismael282 Жыл бұрын
Fireship style? i love it.
@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
@jedgrecoАй бұрын
What's about Leptos instead of yew?
@biomorphic Жыл бұрын
"If you don't use Rust at this point, are you even a real programmer?" lol 😀
@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 Жыл бұрын
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 Жыл бұрын
@@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.
@vasileiosnl Жыл бұрын
Is rocket still a thing? It is still in rc0.5 version for the past 2 years now
@flogginga_dead_horse4022 Жыл бұрын
exactly
@isaac80745 Жыл бұрын
I started off using warp. Maybe I’ll give this a try
@ManishSingh-ll4ws Жыл бұрын
A repo link would be great
@pabloosrer493810 ай бұрын
Do you know if Java or Go has a stack like the ones you mention about LAMP, MERN?
@AsbestosSoup Жыл бұрын
leptos is amazing too
@thekwoka4707 Жыл бұрын
Why didn't you use the same WASM front end from the web app for the Tauri app?
@devOnHoliday9 ай бұрын
10 months after this video is posted, Rocket is already outdated
@antoniong43809 ай бұрын
Rocket just is lagging behind. It needs more consideration before using it
@Sword_of_RuptureАй бұрын
How about now, btw?
@DanielTubul Жыл бұрын
Would be interested in seeing more videos like this using a whole fullstack of RUST
@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.
@sreejishnair5922 Жыл бұрын
This sound really dope can make a course on this?
@realfootball338 Жыл бұрын
You are RUST preacher
@alexleung842 Жыл бұрын
You can build mobile apps with Tauri now too
@ant1fact Жыл бұрын
Loved the complexity joke :D
@jaysistar2711 Жыл бұрын
What's up with the "probably not"?
@SermanD Жыл бұрын
The database queries (from 2:45) look like they are vulnerable to traditional sql injection attacks?
@treythomas7647 Жыл бұрын
I'll stick with Flutter for UI dev, but everything else is awesome. Thanks
@zzzyyyxxx Жыл бұрын
I've been using flutter_rust_bridge, it's awesome
@treythomas7647 Жыл бұрын
@@zzzyyyxxx Nice. Do you know if you can run the FFI bridge inside another isolate?
@shadowpenguin3482 Жыл бұрын
2:48 i don’t know rust, but it looks like this is vulnerable to SQL injection, right?
@theman3n Жыл бұрын
Thanks for the information, can you please share the code's repository?
@KrillTechOfficialАй бұрын
Does HTML5 CAMERA work? Rust rocket only render green screen.
@Rithsomware Жыл бұрын
currently on python, soon would jump to rust
@phoenicianathletix2866 Жыл бұрын
Which rust ui framework best for convert Photoshop to Rust UI? Like some developers do PSD to svelte
@richardly1543 Жыл бұрын
Does Yew/Rust have a way to directly work with the DOM yet
@FusionHyperion Жыл бұрын
Btw I think Tauri already released the android build since 1.2?
@HudaDemirtas Жыл бұрын
hey, can you tell me wich font do you use?
@mikhailvasilev5798 Жыл бұрын
Why is Yew instead Leptos ?
@kocokan Жыл бұрын
To build the desktop app, you have to write js?
@jckail Жыл бұрын
Thanks for this!
@jeanchindeko5477 Жыл бұрын
Awesome stack and really promising for future web development