Rust’s most popular framework just got a major upgrade

  Рет қаралды 74,867

Let's Get Rusty

Let's Get Rusty

Күн бұрын

Пікірлер: 137
@letsgetrusty
@letsgetrusty Жыл бұрын
📝Get your FREE Rust training : letsgetrusty.com/bootcamp
@wigosas
@wigosas Жыл бұрын
No way, Sergio gave my class a few lectures this week, I didn't image he was the only one maintaining Rocket. I wish he's ok now
@gustavojoaquin_arch
@gustavojoaquin_arch Жыл бұрын
Context?
@bobsquaredme
@bobsquaredme Жыл бұрын
@@gustavojoaquin_arch watch the video
@giripriyadarshan
@giripriyadarshan Жыл бұрын
Which uni?
@Praisethefab
@Praisethefab Жыл бұрын
@@giripriyadarshan UniTN
@Ma1ne2
@Ma1ne2 Жыл бұрын
As a web dev, I find those route handlers looking absolutely clean and practical.
@FemLolStudio
@FemLolStudio Жыл бұрын
cratesio downloads: Axum: 25,7 M Actix: 15,0 M Rocket: 3,8 M I choosed Axum bc the popularity and bc it have a stable future. I currently love it, I can do everything with it what I wanted.
@georgehelyar
@georgehelyar Жыл бұрын
Yea if you asked a room full of rust devs what the most popular web framework was, I don't think anyone would say rocket.
@theintjengineer
@theintjengineer Жыл бұрын
Yeah. I don't even know why Bogdan would put something like that in the title ('most popular'). We did give them a try(Rocket and Actix), but we found working with Axum better in the end. And at other times, we just use FastAPI haha. C++ is and remains our main language though.
@hubciooo
@hubciooo Жыл бұрын
yeah, but rocket was inactive for years. those are really good numbers considering that.
@TorreInformativa
@TorreInformativa Жыл бұрын
I tried to add a spa to my Axum project but i cant, finnaly chose actix 🥴🥴
@ohmyv3gatron
@ohmyv3gatron Жыл бұрын
@@TorreInformativawhy not?
@yds6268
@yds6268 Жыл бұрын
Not a web dev, but good news for Rust community all the same. I'd really love to see Scientific Computation frameworks popping up, that's what I'm mainly trying to use Rust for.
@xynyde0
@xynyde0 Жыл бұрын
something like numpy?
@yds6268
@yds6268 Жыл бұрын
@@xynyde0 yes, but also scipy. Though I don't use Python.
@ssmith5048
@ssmith5048 Жыл бұрын
use Fortran or C / C++.....
@nocodenoblunder6672
@nocodenoblunder6672 Жыл бұрын
@@xynyde0yeah
@kevinmcfarlane2752
@kevinmcfarlane2752 Жыл бұрын
I’m guessing that in this field Mojo will likely dominate in the next few years. Not that Rust can’t do it, just that Mojo is more aligned with the ecosystem.
@harrynair1811
@harrynair1811 Жыл бұрын
As someone who have been following Rust pre 1.0 … and someone who tried to a rest framework with Rust, Rocket was clean and Amazing to work with. The documentation was best of the breed in fact I would argue still is one among the best there is.. from Rust’s perspective.. Go Rocket
@jadelily18
@jadelily18 Жыл бұрын
would be awesome to see an axum vs actix vs rocket comparison 👀
@bikerinbeta
@bikerinbeta Жыл бұрын
Can't believe rocket didn't have async. Glad I just chose axum and never looked back. I chose axum because I thought with it's deep connection to tokio libs, it wouldn't go stale.
@LtdJorge
@LtdJorge Жыл бұрын
Axum is great
@letsgetrusty
@letsgetrusty Жыл бұрын
Yeah axums deep connection to tokio makes me very confident that it will be around for a long time
@schrenk-d
@schrenk-d Жыл бұрын
All the best to Sergio ... It is not a simple thing to balance time to run a major open source project. I was still happy to use rocket. I was slowly looking at Actix and some other frameworks. Looks like I get to update my sites now with 0.5.
@blightning1476
@blightning1476 Жыл бұрын
I'm kinda all in with actix at this point. Could not be happier :) It's great to see that rocket isn't dead, though!
@gagaxueguzheng
@gagaxueguzheng Жыл бұрын
Same, we had tried Rocket and it was nice but seemed dead and actix seemed to have a much more active community and more information about it.
@sadramohh
@sadramohh Жыл бұрын
Rocket was my gateway to rust development. It showed me that while rust is a low level language, it doesn't have to come with the tedious developer experience of a such language. Really hope the new leadership model pans out.
@user-abc855
@user-abc855 Жыл бұрын
personally I prefer Axum because it is built on Hyper, which has great ecosystem with Tower and Tower-Http
@whyando
@whyando Жыл бұрын
FYI when I used it, rocket had massive memory leak issues and I switched all my stuff to warp which does the same but with no issues
@narutosimas
@narutosimas Жыл бұрын
I think actix and axum already passed rocket in popularity
@letsgetrusty
@letsgetrusty Жыл бұрын
According to crates.io download stats yes
@utenatenjou2139
@utenatenjou2139 Жыл бұрын
I still wait to see Rust framework that has native swagger built into the framework. In enterprise ecology, swagger is important for sign-off, integration and testing.
@Luxalpa
@Luxalpa Жыл бұрын
I found swagger / OpenAPI very nice to add in Rocket, especially compared to the implementations in NodeJS.
@oserodal2702
@oserodal2702 Жыл бұрын
Poem framework has built in support for OpenAPI spec and is as nice to use as Rocket.
@utenatenjou2139
@utenatenjou2139 Жыл бұрын
@@oserodal2702Thx, I looking at poem for quite awhile, I hope it get populized. It is hard in enterprise space, to challenge spring boot or quarkus. If rust's framework won't have ecology that support (project management side of thing, spec sign-off, test, opinioned way of integration. (Investment in enterprises framework required these for adoption)
@headlibrarian1996
@headlibrarian1996 6 ай бұрын
I believe Salvo does OpenAPI natively as well.
@rumplstiltztinkerstein
@rumplstiltztinkerstein Жыл бұрын
I use actix regularly. What are your thoughts on it compared to other frameworks?
@KresnaPermana
@KresnaPermana Жыл бұрын
Still hard to understand why the websocket is need actor
@nicomiebach
@nicomiebach Жыл бұрын
we use actix in production and it works great!
@NexusGamingRadical
@NexusGamingRadical Жыл бұрын
Honestly I've tried all of the top 6 give or take frameworks. And poem has been the best. Specifically poem-openapi. Man I just can't go back to anything else ever. It scratches that typesafety itch. Imagine a fully typesafety, self documenting, rest API. Amazing!
@felixklg
@felixklg Жыл бұрын
Axum 💪 Used to love Rocket but Axum is so much better.
@v0xl
@v0xl Жыл бұрын
i actually hated axum and really wanted to go back to rocket (which wasn't the best option either due to issues with it's development speed)
@felixklg
@felixklg Жыл бұрын
@@v0xl That's a fair standpoint, for me personally I disliked the strong reliance on macros in Rocket as well as the relative heaviness of Rocket. I personally find Axum to be smoother, and for obvious reasons it integrates with Tokio a lot stronger.
@v0xl
@v0xl Жыл бұрын
@@felixklg yeah rocket is pretty bloatead and slow to compile but i still really love it. it seems like it has a "clean" way of handling almost everything and i really like that
@TheNoirKamui
@TheNoirKamui Жыл бұрын
Nah, Axum is the thing! Its amazing even while very new, it doesn't even have a proper website or docs and they have outdated examples... I hope they slowly fix everything and build upon this great serde-focused library, that works well and completely without mysterious macros!
@flogginga_dead_horse4022
@flogginga_dead_horse4022 Жыл бұрын
yeah I wish they had a good website etc. doesn't seem very well documented. Even Salvo has a decent website and docs.
@adaliszk
@adaliszk Жыл бұрын
Rocket looks cool, but I feel like its not as popular as the chad ones like Axum and Actix.
@VolodymyrMoon
@VolodymyrMoon Жыл бұрын
Is there any framework that allows automatic OpenAPI schema generation, similar to pythons FastAPI?
@nicomiebach
@nicomiebach Жыл бұрын
we have that with actix + utoipa. But I think other frameworks like axum etc. are also supported by the utoipa crate.
@headlibrarian1996
@headlibrarian1996 6 ай бұрын
Poem and Salvo?
@haliszekeriyaozkok4851
@haliszekeriyaozkok4851 Жыл бұрын
since actix is most stable web framework in rust i'm using it and unless axum don't hit 1.0 i don't think i'll look any other framework.
@theLowestPointInMyLife
@theLowestPointInMyLife Жыл бұрын
Don't wait for 1.0, Axum is rock solid and the best backend framework around, not just in rust.
@haliszekeriyaozkok4851
@haliszekeriyaozkok4851 Жыл бұрын
@@theLowestPointInMyLife then why they dont ship axum 1.0? That's obvious there are somethlng that's not stable.
@haliszekeriyaozkok4851
@haliszekeriyaozkok4851 Жыл бұрын
@@theLowestPointInMyLife then why they dont ship axum 1.0? That's obvious there are somethlng that's not stable.
@abdelhaksidialimebarek8615
@abdelhaksidialimebarek8615 Жыл бұрын
I personally use poem, which is not the most hyped one, but is pretty stable and easy to use. Anyone has feedback about it?
@oleksiistri8429
@oleksiistri8429 Жыл бұрын
For some reason I thought Actix or Axum was most popular, no?
@MrRobmango
@MrRobmango Жыл бұрын
Thanks for doing this one. I was just doing an initial review of rust web frameworks and didn't run into the rocket governance doc, good to know about and good news for that project.
@abdullahmertozdemir9437
@abdullahmertozdemir9437 Жыл бұрын
I thought tokio would be the most popular since it can be used by everyone for any reason while rocket is only for web devs
@theintjengineer
@theintjengineer Жыл бұрын
I too thought *Tokio* when I read the title🤔
@TheZdannar
@TheZdannar Жыл бұрын
Glad to see it is getting some love, but I started with actix and have no complaints. Rocket wasn't an option without being in stable and not having async.
@thatonesnowboarde
@thatonesnowboarde 5 ай бұрын
@letsgetrusty can you make a tutorial on Rocket building CRUD app... all the tutorials seem old
@tidus4400
@tidus4400 Жыл бұрын
thanks for the news! I thought this project was done for good, glad it's not the case!
@thurston04
@thurston04 Жыл бұрын
Rocket is my choice of backend and has been since v3
@FlaviusAspra
@FlaviusAspra Жыл бұрын
0.5.0?
@thurston04
@thurston04 Жыл бұрын
@@FlaviusAspra 0.3. Better?
@alecksgates
@alecksgates Жыл бұрын
Here I am using poem-openapi like a pleb
@coldcircuit99
@coldcircuit99 Жыл бұрын
Sadly we moved to axum at this point. Hope rocket will get some more active maintainers.
@hm_kaiser
@hm_kaiser Жыл бұрын
That’s a great news ! I’ve always liked this framework !
@kolebynov
@kolebynov Жыл бұрын
I tried Rocket, but I dropped it after a few days when I noticed there is no normal middlewares in Rocket. In 2023 I can't imagine web framework without middlewares that can preprocess request, post process response or stop request pipeline and return response.
@flogginga_dead_horse4022
@flogginga_dead_horse4022 Жыл бұрын
fairings don't do that?
@kolebynov
@kolebynov Жыл бұрын
@@flogginga_dead_horse4022 ​ I knew someone mentioned it). Fairings are not good middleware IMHO. I can't stop request/response pipeline and return my own response. Good middleware for me is a chain of responsibility. Actix, Axum, ASP NET Core (I came from NET) implement middlewares as a chain of responsibility.
@mozabeta7003
@mozabeta7003 Жыл бұрын
Great news but I, like most people, have moved onto Axum. Don’t this there are any compelling reasons to use Rocket even with these developments.
@armanradan
@armanradan Жыл бұрын
What about leptos?
@dapoakinola8999
@dapoakinola8999 Жыл бұрын
Leptos is Rust WebAssembly for frontend. Not to compare an apple with an orange, you may want to rather compare Leptos with Yew or Dioxus instead of Rocket, Actix, Axum, Warp
@randomhunter47
@randomhunter47 Жыл бұрын
Like that reply, why not actix?
@Dygear
@Dygear Жыл бұрын
Happy Rocket landed on stable. I use Axum and it’s really very good.
@adriancruz2822
@adriancruz2822 Жыл бұрын
The reverb is way too high dude. Otherwise, good stuff
@xDELTAGIx
@xDELTAGIx Жыл бұрын
While in general Rocket has better documentation than Axum I’d still use Axum. Already had to port my app once not going back. Axum is also extremely similar to Rocket but imo works a bit better
@Pedram-cy3wu
@Pedram-cy3wu Жыл бұрын
I think actix is most popular and most perfomant rust web framework
@nathanaelbennett8286
@nathanaelbennett8286 Жыл бұрын
People use Rocket still?
@andredasilva6807
@andredasilva6807 Жыл бұрын
Cant wait. Hopefully rocket will have a brighter future
@vmachacek
@vmachacek Жыл бұрын
oh wait, there was endorsed framework by official docs which was maintained by single person? okay
@MisFakapek
@MisFakapek Жыл бұрын
Go go axum!
@konga8165
@konga8165 Жыл бұрын
Rocket is not the most popular. Axum is. Check your stats.
@JohnDoe-ji1zv
@JohnDoe-ji1zv Жыл бұрын
Actix web ftw 🙌
@logicalimmanuel2357
@logicalimmanuel2357 Жыл бұрын
Rocket api is more intuitive❤
@mannycalavera121
@mannycalavera121 Жыл бұрын
Axum is superior but Rocket has pretty red symbol
@pavanj3666
@pavanj3666 Жыл бұрын
Hello… I am a college dropout and looking for a job and right now i am trying to choose between rust and c++…. Please help which one should i learn to get a job as a fresher…?
@masela01
@masela01 Жыл бұрын
c++ is still better for getting jobs so probably that one? idk i recommend doing some more proper research abt it. look through job listings, articles abt the thing etc. good luck out there
@Lampomaniac
@Lampomaniac Жыл бұрын
how about... going back to college
@gagaxueguzheng
@gagaxueguzheng Жыл бұрын
Not sure if finishing your education wouldn't be more useful. But if I had to choose and my priority was earning money, I'd go with C++.
@pavanj3666
@pavanj3666 Жыл бұрын
@@gagaxueguzheng so learning rust won’t get me a job as a fresher..?
@gagaxueguzheng
@gagaxueguzheng Жыл бұрын
@@pavanj3666 I program in Rust in a professional context. We built one system in Rust because we wanted to. But just do your research. Go on job platforms and compare the number of jobs that require Rust knowledge vs. C++. I bet C++ will be several times more. But that's not even the most important decision. Learn how to program while learning a language. It's not necesarily about the language you learn..Most programming skills can be transferred to new languages. I started with Basic and Pascal when I was young. Learned C when I was older. Then I studied, learned Java, C++ and C#. Programmed in Perl and now I'm in a Typescript and Rust project. Of course, having a lot of experience in one language helps as a beginner because only that will help you understand programming. It's about solving problems in a certain manner more than it is about learning a specific syntax. But if you need to find a job, learn what's popular and in demand. You need to get your foot in the door of a company and then you can learn more or other languages.
@irlshrek
@irlshrek Жыл бұрын
Yeah.. It's going to take something seriously amazing to pull me away from Axum
@ssmith5048
@ssmith5048 Жыл бұрын
The cult that is Rust.
@wrong1029
@wrong1029 Жыл бұрын
if its a cult, it's made me a fuckton of money so far so I'm for it.
@diadetediotedio6918
@diadetediotedio6918 Жыл бұрын
The cult that is [insert anything you don't like].
@fswerneck
@fswerneck Жыл бұрын
As a Pythonist Rustling who likes Flask: go Rocket 🚀🤸
@ankitkumarjat9886
@ankitkumarjat9886 Жыл бұрын
I always thought actix is top 😅
@Miaut236
@Miaut236 Жыл бұрын
What exactly does "diversify leadership" mean. Cause anything that has that word attached to it is never good. I hope he means handing it to competent and responsible people.
@flogginga_dead_horse4022
@flogginga_dead_horse4022 Жыл бұрын
if means someone other than him can create a release :P
@arcstur
@arcstur Жыл бұрын
Are you sure Rocket is the most popular framework?
@charliewhousen7133
@charliewhousen7133 Жыл бұрын
poem is superior
@mrrobot-e4b
@mrrobot-e4b Жыл бұрын
rocket is one of the best web framework , and that thought is not changing soon
@khmerai3096
@khmerai3096 Жыл бұрын
Rocket is awesome
@AlexanderBorshak
@AlexanderBorshak Жыл бұрын
Rocket is dead! Long live Rocket!
@soundreamerbg
@soundreamerbg Жыл бұрын
Just actix bruh.
@pantanom18
@pantanom18 Жыл бұрын
rusters gonna rust
@Jiftoo
@Jiftoo Жыл бұрын
"Most popular" is untrue
@lipepaniguel
@lipepaniguel Жыл бұрын
axum FTW
@alexhri
@alexhri Жыл бұрын
Imo poem>rocket>actix in terms of ergonomics
@pabloqp7929
@pabloqp7929 Жыл бұрын
praise the sun
@michaelpacheco7421
@michaelpacheco7421 Жыл бұрын
🚀
@alexon2010
@alexon2010 11 ай бұрын
Eu gostaria muito de aprender Rust, acredito que seu conteúdo é muito legal, mas eu realmente não gosto de ver com legenda do inglês para português, não tenho condição de aprender inglês pelo tanto de outras coisas que tenho que estudar, sou designer de produto e desenvolvedor de sistema, em designer de produto estou quase terminando a fabricação minha Router CNC para uso industrial, gostaria muito de criar uma interface visual que fosse sensacional para Linux CNC, já que as interfaces que existem para são muito ruim ou feias... é baita desafios e me colocando um monte de coisas para estudar... seria maravilhoso se seus vídeos fosse dublados por IA a google oferece uma ferramenta chamada de aloud que a dublagem fica muito legal e... seria muito legal ver seus videos como este por exemplo: kzbin.info/www/bejne/oH_QY5pqidCZaac
@mr.togrul--9383
@mr.togrul--9383 Жыл бұрын
Fuiyohhh
@kirillgimranov4943
@kirillgimranov4943 Жыл бұрын
Rocket sucks, Axum is da best!
@31redorange08
@31redorange08 Жыл бұрын
Why?
@kirillgimranov4943
@kirillgimranov4943 Жыл бұрын
@@31redorange08 Google will help ya with that question, my boi. Any rust dev know the truth
@redhathackermod
@redhathackermod Жыл бұрын
Answer my Question Please...I'm from India and i completed my basic python and i have command on all IT Skills and now I want to learn new programing language to secure my future should I go for rust I'll complete my graduation in 2027
@0xedb
@0xedb Жыл бұрын
still axum or actix-web
@UwU-dx5hu
@UwU-dx5hu Жыл бұрын
I Just googled.actix's speed is off the charts man!
@burnheart2965
@burnheart2965 Жыл бұрын
So someone with a shit trackrecord of consistent development wants money for "governance" (overhead) and promises to do better this time. Sounds like a disaster waiting to happen.
AWS now officially supports Rust!
2:36
Let's Get Rusty
Рет қаралды 35 М.
8 deadly mistakes beginner Rust developers make
14:14
Let's Get Rusty
Рет қаралды 178 М.
“Don’t stop the chances.”
00:44
ISSEI / いっせい
Рет қаралды 62 МЛН
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19
5 deadly Rust anti-patterns to avoid
13:25
Let's Get Rusty
Рет қаралды 38 М.
"The Life & Death of htmx" by Alexander Petros at Big Sky Dev Con 2024
23:01
Montana Programmers
Рет қаралды 74 М.
Async Rust Is The Bane Of My Existence | Prime Reacts
35:36
ThePrimeTime
Рет қаралды 110 М.
Actix Web vs. Axum: Is One a Clear Winner?
8:59
OptiCode
Рет қаралды 3,1 М.
A Legendary Web Framework is Reborn... In Rust
9:49
Code to the Moon
Рет қаралды 101 М.
Improve your Rust APIs with the type state pattern
14:45
Let's Get Rusty
Рет қаралды 92 М.
Rust & Wasm
9:38
No Boilerplate
Рет қаралды 201 М.
Web Frameworks (And why you don't need one)
9:16
Destiny Hailstorm
Рет қаралды 13 М.
The Truth about Rust/WebAssembly Performance
29:47
Greg Johnston
Рет қаралды 189 М.
Rust vs Go : Hands On Comparison
50:40
ThePrimeTime
Рет қаралды 241 М.