Тёмный

Tide is perhaps my favorite Rust web app framework. 

Dreams of Code
Подписаться 136 тыс.
Просмотров 96 тыс.
50% 1

There are a name of frameworks for building Rust web applications, and most of them make heavy use of macros and magic. Tide is different.
For me, Tide feels like it closely resembles other web application frameworks found in other languages, which makes it a familiar and simple framework to use.
#rust #tide #coding #api
My socials:
Twitter: / dreamsofcode_io
Discord Server: / discord
Please consider supporting me as well!
Patreon: / dreamsofcode

Опубликовано:

 

13 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 219   
@anidiot2338
@anidiot2338 Год назад
No Boilerplate and Fireship did a fusion.
@wlockuz4467
@wlockuz4467 Год назад
Exactly haha
@dreamsofcode
@dreamsofcode Год назад
Aww thanks, they're both awesome channels! I'm lucky to even be close to comparison.
@RotatingBuffalo
@RotatingBuffalo Год назад
​​@@dreamsofcode am literally 30 seconds into the video and the presentation is polished and high quality enough to keep me interested for the rest of the video. The audio is clear and at a good volume, and the visuals are consistently pleasant to look at. Genuinely well done, and if you maintain this level of quality I can easily see your channel growing a *ton.* Edit: I might recommend spending some more time providing a general high level overview of the video's subject before diving into the details. In this video you kind of just said *what* Tide is, but not really why anyone should care when so many other frameworks already exist. Or what Tide excels at. This kind of intro is great for people who already wanted to get into Tide and don't care to waste time being told things they already know, but I have never heard of Tide before this video. Some more time spent comparing it to existing frameworks would be greatly appreciated.
@dreamsofcode
@dreamsofcode Год назад
Thank you for the feedback! I shall make sure to apply that to the next video.
@thenaman047
@thenaman047 Год назад
YT algo magic 😂
@sputnick1
@sputnick1 Год назад
your channel feels like no boilerplate but with actual examples and tutorials. If you consume both your and his content, you get both a why and a how for everything rust. Love your contributions to the community ❤
@dreamsofcode
@dreamsofcode Год назад
Thank you so much!
@doce3609
@doce3609 Год назад
Really cool video. Tide is great. (Arc stands for Atomically Reference Counted btw)
@dreamsofcode
@dreamsofcode Год назад
You're correct! My brain was thinking about Swift for some reason. Embarrassing haha!
@MrKeebs
@MrKeebs Год назад
I mostly use Axum nowadays but always wanted to get to know alternatives. Loved the simplicity and, as you put it, the familiarity coming from Node before Rust myself. Really like having less magic for sure. Thanks for putting this video together, I will give Tide a shot in my next side project. Oh, BTW I am really interested in the microservices video you mention. Thank you again for great content!
@dreamsofcode
@dreamsofcode Год назад
A lot of comments have talked about Axum so I'm going to have to give it a try! I'm with you though, the simplicity is certainly something I like. Will definitely be doing some more microservices content!
Год назад
Thanks for the video, I hadn't heard about Tide yet, and it seems to have a nice API. A small note - In the video, it mentions "Arc" stands for "Automatic Reference Count". It actually means "Atomically Reference Counted".
@dreamsofcode
@dreamsofcode Год назад
You are correct!
@talli-studios
@talli-studios Год назад
great video 6:50, Arc stands for 'Atomically Reference Counted'
@dreamsofcode
@dreamsofcode Год назад
Yes! You're correct, I made a goof haha.
@tjeerdbakker160
@tjeerdbakker160 Год назад
Just came across this channel and I absolutely love the style of videos. Subbed, keep it up!
@dreamsofcode
@dreamsofcode Год назад
Awesome, thank you! I appreciate that!
@hufuhufu
@hufuhufu Год назад
Really like this style of video. It's concise but somehow still able to stay informative. Keep up the good work! Looking forward for more rust content, since I'm currently trying to learn rust!
@dreamsofcode
@dreamsofcode Год назад
Thank you for the feedback! I appreciate it!
@gungun974
@gungun974 Год назад
Yesterday I was for the first time writing some Rocket code. But now after what I seen. The simplistic and the elegance that Tide has take from the great Node. I think i will rather use Tide for my future Rust project ❤
@TheMsksk
@TheMsksk Год назад
Extremely neat video. Concise, to the point, yet detailed. Thanks. Subscribed.
@vixeven
@vixeven Год назад
Amazing video! Just subscribed and excited to see more. Keep it up!
@dreamsofcode
@dreamsofcode Год назад
Thank you! I'm glad you enjoyed it
@VivekYadav-ds8oz
@VivekYadav-ds8oz 9 месяцев назад
This gives heavy Axum vibes, except it's compatible with async-std. Feels like you could learn Axum and then just straight into this one without much trouble.
@jameender
@jameender Год назад
Great video, I love how simple and non cluttered it is. ❤
@dreamsofcode
@dreamsofcode Год назад
Glad you liked it!!
@fawwn
@fawwn Год назад
i have tried a bunch of other rust web frameworks but this video made me want to use tide and it is so amazing i love it! thank you so much for the recommendation and the beautiful tutorial
@dreamsofcode
@dreamsofcode Год назад
Thank you for the feedback!
@venir_dev
@venir_dev Год назад
Rust microservices? YES PLEASE
@DrIngo1980
@DrIngo1980 Год назад
Had this open in one of my tabs for the last few days and finally got around to watch it. Nicely done. Great overview of Tide. I've used actix-web and axum so far, but this looks intriguing. Thanks for bringing it to my attention. Subscribed.
@fahmitaib
@fahmitaib Год назад
The algorithm seems to be favouring this video. Love your presentation style, I hope your channel grows 🔥
@dreamsofcode
@dreamsofcode Год назад
Haha it really is. Thank you!
@alenasenie6928
@alenasenie6928 Год назад
I have only used python for API for now, I really like what I saw here, the logs are very well done, I haven't seen such pretty logs in tutorials of python APIs, but it is also not my main focus, anyways, it shows how much better rust is in simple ways.
@abhishekshah11
@abhishekshah11 10 месяцев назад
Thanks to this video I tried tide today and immediately fell in love. I am yet to explore advanced features like SSL and rate limiting, but I am optimistic that I will be liking this one.
@midkaa
@midkaa Год назад
Wow, really exited to try tide. And also the video quality was so good and easy to understand!
@dreamsofcode
@dreamsofcode Год назад
Thank you! I'm glad you think so!
@wiseskeshom4673
@wiseskeshom4673 Год назад
This video is awesome, thanks for sharing.
@dreamsofcode
@dreamsofcode Год назад
I'm glad you enjoyed it!
@miguelguthridge
@miguelguthridge Год назад
This honestly looks really nice. I haven't looked much into web frameworks for Rust, so I don't know how alternatives compare, but this looks reassuringly similar to Express.
@dreamsofcode
@dreamsofcode Год назад
I agree! It feels very familiar to use. The other frameworks are great but too much magic for me, personally.
@DanWalshTV
@DanWalshTV Год назад
Rocket and Actix are really great too. The ecosystem as a whole is awesome :)
@danielklein2694
@danielklein2694 Год назад
Really cool and meaningful video for me thanks a lot. Also your dev enviro is really cool 👍
@dreamsofcode
@dreamsofcode Год назад
Thank you! I should have a video on my vim configuration coming out tomorrow as well
@HugBearWithAHat
@HugBearWithAHat Год назад
Thanks for the video. Been using Actix so far, but I'll give Tide a try.
@wintercounter2
@wintercounter2 Год назад
It's an HTTP server fw, not a webapp fw. For me a webapp fw consists several different layers that covers all aspects of a web application. Orherwise the video is really great.
@Notoriousjunior374
@Notoriousjunior374 Год назад
Junior spotted.
@wintercounter2
@wintercounter2 Год назад
@@Notoriousjunior374 Sure bro 🤣
@nicholaskhami1101
@nicholaskhami1101 Год назад
I feel the same.
@michaelvanzyl9418
@michaelvanzyl9418 Год назад
Small detail, Arc stand is for Atomic Reference Counted
@dreamsofcode
@dreamsofcode Год назад
Haha yes you're correct. I must have been thinking in Swift still 😅
@voidwalker7774
@voidwalker7774 Год назад
Why use Tide, if there is Axum and Actix-Web ?
@AlecThilenius
@AlecThilenius Год назад
Same question. It seems less strongly typed, which IMO defeats most of the benefits of using Rust. Kind of a regression back towards a 'more familiar' Express JS API, which I really hope the Rust community doesn't move towards just because it looks more familiar / is easier for the JS devs to pick up. Express is hell to work with at any larger scale.
@AlecThilenius
@AlecThilenius Год назад
@toast Thanks for the info.
@teeI0ck
@teeI0ck 8 месяцев назад
powerful stuff
@andriirubtsov5404
@andriirubtsov5404 Год назад
Thanks for the cool video, but the project seems abandoned. The last commit was on Aug 1, 2022 as of now. It means choosing it for a serious production is questionable. Any advantage over axum, actix, or warp?
@charlesbcraig
@charlesbcraig Год назад
Yeah I’ll be sticking with axum
@dreamsofcode
@dreamsofcode Год назад
Yeah, it does look like development may have stopped which is a shame. I'll be looking at Axum given the popularity with the commenters! Looks like I'll have to write some migration documentation as well
@wlockuz4467
@wlockuz4467 Год назад
I demand that every time you utter the word Tokio you replace it with ThePrimagen screaming "TOKIO!!!"
@dreamsofcode
@dreamsofcode Год назад
Haha!
@vimaximus1360
@vimaximus1360 Год назад
Really nice video. Would like to see more APIs built in rust
@dreamsofcode
@dreamsofcode Год назад
Me too!
@DanelonNicolas
@DanelonNicolas Год назад
I love this video. I'm in. Subscribed !
@dreamsofcode
@dreamsofcode Год назад
Glad you enjoyed it!
@joebarhouch2742
@joebarhouch2742 Год назад
Automatically watched all of your videos so far. Content and production wise you are what I look for in a CS (or any channel) Keep it up !! Also please, what is the font and Theme you are using?
@dreamsofcode
@dreamsofcode Год назад
That's awesome to hear! Thank you. I use JetBrainsMono Nerd Font and Catppuccin theme! My dotfiles should be in the Tide video description also
@panagiotisg83
@panagiotisg83 Год назад
Soon I will not only have to learn a new JS framework every week, but a Rust one as well. Yay!
@dreamsofcode
@dreamsofcode Год назад
never stop learning, friend!
@pri_yan_shu_raj
@pri_yan_shu_raj Год назад
excellent tutorial style. great video.
@dreamsofcode
@dreamsofcode Год назад
Thank you!
@gingersmurf7057
@gingersmurf7057 Год назад
Excited for future micro services videos!
@dreamsofcode
@dreamsofcode Год назад
Me too! Hopefully I get more time to make videos soon and I can start to focus on the microservices one as well.
@erwagasore
@erwagasore 3 месяца назад
It is unfortunate that Tide development staled. I love its ergonomics and flask like simplicity. As of now the last release is in December 6th, 2021.
@undersquire
@undersquire Год назад
Is tide still actively maintained? It seems that there hasn't been a release in over 2 years and the github has been inactive for 8 months. Not saying you shouldn't use it, but that can be a red flag.
@dreamsofcode
@dreamsofcode Год назад
That's a great point and certainly one to be concious of. I'll be keeping an eye on the commit history. Axum seems to be a favorite of viewers so I'm going to be looking at that as well
@DanWalshTV
@DanWalshTV Год назад
In May 2022, there was a GitHub discussion asking if the project was still active and the main maintainer for it replied by saying, that while the project is not abandoned in any form, short-term development is more or less staled while he focuses on the underlying Rust features required for projects like Tide to improve (he works at Microsoft but is an dev advocate for rustlang). For anyone interesting in trying out the project, it's probably worth a read. It's #888 on their Github Repo.
@bombrman1994
@bombrman1994 6 месяцев назад
tide is tight!
@0xgerbot_500
@0xgerbot_500 Год назад
Great video!
@dreamsofcode
@dreamsofcode Год назад
Thanks! Glad you enjoyed it!
@AbhinavKulshreshtha
@AbhinavKulshreshtha Год назад
This looks interesting. But I am more interested in your terminal setup.
@dreamsofcode
@dreamsofcode Год назад
Haha thank you, I use Catppuccin theme and also Tmux, Neovim and Alacritty. My dotfiles are on GitHub I'll post them in the description when I'm back at my desk!
@whelbe
@whelbe Год назад
Warp is also a great alternative option for a minimal Rust web app framework.
@dreamsofcode
@dreamsofcode Год назад
Warp is really fun, but I found it hard to manage all the filters and types. I need to give it another go though so I'll probably have to do a video on it
@reycorbie3581
@reycorbie3581 Год назад
Amazing! Thank you!
@dreamsofcode
@dreamsofcode Год назад
Thank you too!
@xes.software
@xes.software Год назад
Great video.
@dreamsofcode
@dreamsofcode Год назад
Thank you!
@realindrit
@realindrit Год назад
Genuienly enjoyed watching this video, will be nice to follow you on your journey on YT :)
@dreamsofcode
@dreamsofcode Год назад
Yay, thank you!
@IgorGuerrero
@IgorGuerrero Год назад
Do you have a dark mode toggle in your vim tabbar? If so, link to config plz?
@ashikurrahman2247
@ashikurrahman2247 Год назад
Please make a video of how to setup a terminal like yours. I can't seem to make your dotfiles work
@dreamsofcode
@dreamsofcode Год назад
I shall do so!
@matthiasg4843
@matthiasg4843 Год назад
Lots of overlap with Express.js which was the intend right? Also the video is very clear
@dreamsofcode
@dreamsofcode Год назад
Yes, it definitely has the same feeling as express of Go's http.Handler. Thank you for the feedback! Appreciate it
@animanaut
@animanaut Год назад
Nice introduction. i would be interested how devs in Rust would do a "API first" approach. Maybe others too, ike if you are interested as well
@dreamsofcode
@dreamsofcode Год назад
I am interested! It's a good idea
@frittex
@frittex Год назад
Why use this over rocket or actix?
@dreamsofcode
@dreamsofcode Год назад
For me, Tide has less magic under the hood which I'm more partial towards. Rocket and Actix are really powerful, but the magic abstracts too much for my personal taste.
@exaryss2424
@exaryss2424 Год назад
great video, really clear
@dreamsofcode
@dreamsofcode Год назад
Glad you think so! I appreciate it
@dreamsofcode
@dreamsofcode Год назад
Thank you! I appreciate the feedback
@danikvitek6845
@danikvitek6845 Год назад
Cool video. Little fix: not "automatic" but "atomic" reference counter.
@dreamsofcode
@dreamsofcode Год назад
Ahh! You're absolutely correct! Good catch!
@ambitious_grass
@ambitious_grass Год назад
Could you do a video on your vim setup? Looks amazing!
@dreamsofcode
@dreamsofcode Год назад
I shall have to!
@wylitebee2648
@wylitebee2648 Год назад
I love the video, but it would be great if you could add chapters or someone could provide timestamps
@dreamsofcode
@dreamsofcode Год назад
Sure! I can add chapters. Will do so today.
@vighnesh153
@vighnesh153 Год назад
Cool video. Just that I clicked the video because I thought the video is about a "web APP framework" like React, Vue, etc. instead of a "web API framework" like Express, NestJS, etc.
@irlshrek
@irlshrek Год назад
awesome video!
@edgeeffect
@edgeeffect Год назад
This reminds me a lot of Slim on PHP. Which is no bad thing.
@GlobalYoung7
@GlobalYoung7 Год назад
thank you 😊
@dreamsofcode
@dreamsofcode Год назад
You're welcome 😊
@jeffjia106
@jeffjia106 Год назад
great video! I want to create videos like this, which video editor you are using?
@dreamsofcode
@dreamsofcode Год назад
Thank you! I use Davinci Resolve, although I'm sure Premiere Pro is just as good as well.
@JohnnyAlex2u
@JohnnyAlex2u Год назад
may you consider just record the nvim window ? and higher res, maybe. It would look better on iPad or any larger screens. thanks for the video 🎉
@dreamsofcode
@dreamsofcode Год назад
It should be at 4k, but I shall zoom in more for iPad users in future! Thank you for the feedback.
@geoffreyvanwyk4588
@geoffreyvanwyk4588 Год назад
Wow, Ok() is alright!
@tony-go-code
@tony-go-code Год назад
Great
@joshmo3611
@joshmo3611 Год назад
Hey there! What are your thoughts on Tide vs Axum? I currently write tutorial articles for shuttle (a Rust-native cloud dev platform) and was wondering what your thoughts are on where you think Tide stands within the Rust ecosystem (for web dev).
@dreamsofcode
@dreamsofcode Год назад
I'm actually planning a video on Axum in the future which will probably sum up my thoughts. With tide potentially no longer being supported then Axum may be a more compelling. The only hesitation I have is the heavy use of generics which can be a little harder cognitively to fully understand, when compared to the more express like nature of Tide.
@shiroe689
@shiroe689 Год назад
Ur vim so amazing man
@dreamsofcode
@dreamsofcode Год назад
Thank you! I got a video coming out soon on how to do the same.
@mx6115
@mx6115 Год назад
What status line do you use? How do you style it? Are you just using one of the catppuccin themes for the status line and ur nvim in general? It looks so cool. Sorry if this is dumb question. New to vim
@dreamsofcode
@dreamsofcode Год назад
Hey! No problem at all. My dotfiles are in the description but I also should have a video dropping this weekend which goes into my setup and how to create it yourself!
@mx6115
@mx6115 Год назад
You’re a legend thanks bro. Still too new to comprehend what’s going on in dotfiles so can’t wait for your vid.
@hi_im_julian_kirsch
@hi_im_julian_kirsch Год назад
What I don't understand: How is it better than actix-web? From what I have seen in this video, it looks like clonkier version with certain features not exactly fleshed out.
@sebastiangudino9377
@sebastiangudino9377 Год назад
I feel tide is pretty nice to use, it's more straightforward to ME than actix. But I will continue to use Actix since is very much nice to use and pretty darn fast
@sighupcmd
@sighupcmd Год назад
4:16 - Quick question from Rust noobie: why do you need to call `#to_string` on string literal? Thanks!
@dreamsofcode
@dreamsofcode Год назад
Rust is slightly infamous for the number of string types it has. But a string literal is an &str, which is statically allocated and can only be referenced (and not owned). In order to appease the borrow checker, you'll likely need to use `to_string` if there's any ownership beyond a reference.
@sighupcmd
@sighupcmd Год назад
@@dreamsofcode Got it, thanks!
@nameless4014
@nameless4014 Год назад
that's a nice zsh setup
@dreamsofcode
@dreamsofcode Год назад
Thank you! I've added a link to my dotfiles
@arishtp
@arishtp Год назад
really cool :D
@sunkye6035
@sunkye6035 Год назад
great video! which font do u use i like it a lot
@dreamsofcode
@dreamsofcode Год назад
Thank you! I use JetBrainsMono Nerd Font.
@sunkye6035
@sunkye6035 Год назад
@@dreamsofcode appreciate it ! i’ll try it out keep up with your great videos, lowkey getting me into rust
@victorcrimea
@victorcrimea Год назад
This a very loose an python way of parsing query string arms and path params. Framework doesn't utilize the power of the rust's type system. Having to manually process the incoming request make handler functions indistinguishable between each other.
@NoahSteckley
@NoahSteckley Год назад
Doesn't look like Tide is being updated anymore? Is it alive? "Finished"?
@dreamsofcode
@dreamsofcode Год назад
It may very well be, which is a shame as I really liked the interface. Looks like ill have to find a new favorite framework!
@dragonmax2000
@dragonmax2000 Год назад
Please make a 12 factor microservices API video in Rust.
@dreamsofcode
@dreamsofcode Год назад
I love 12 factor apps! I'll make one only if you'll watch it 😁
@dragonmax2000
@dragonmax2000 Год назад
@@dreamsofcode Of course I will.
@syndek64
@syndek64 Год назад
Subscribing for those microservice videos 😉
@dreamsofcode
@dreamsofcode Год назад
I've got more coming!
@navaneeth6157
@navaneeth6157 Год назад
What video editor do you use?
@dreamsofcode
@dreamsofcode Год назад
Davinci Resolve. I use the studio version as well which is wonderful to work with
@abrahimzaman360
@abrahimzaman360 Год назад
What's theme and Config of Vim
@dreamsofcode
@dreamsofcode Год назад
It is Catppuccin! I'll share my dotfiles in the description
@zzzyyyxxx
@zzzyyyxxx Год назад
Why not actix-web or Axum?
@dreamsofcode
@dreamsofcode Год назад
I'm gonna have to look at Axum! A lot of people seem to recommend it here.
@heinkozin2364
@heinkozin2364 Год назад
Thanks bro. Great content😊😊. May I know the configuration of your nvim?
@dreamsofcode
@dreamsofcode Год назад
My dotfiles should be added to the description now!
@slpwrm
@slpwrm Год назад
would you rather build an API with this or Go?
@dreamsofcode
@dreamsofcode Год назад
Great question! I'd rather build with Rust personally, but if I had a team that wasn't as familiar, I'd choose Go.
@victorkochkarev2576
@victorkochkarev2576 Год назад
I am worried about the project status. The last beta release was in 2021. At the moment the Tide repository has almost no activity.
@dreamsofcode
@dreamsofcode Год назад
Yeah, it does seem like the project might have gone dormant :(. Real shame. I've got some migration docs to write as well. Good news is I get to look and see what else compares.
@victorkochkarev2576
@victorkochkarev2576 Год назад
@@dreamsofcode I hope your video will spark interest around Tide.
@dreamsofcode
@dreamsofcode Год назад
@@victorkochkarev2576 I'm hoping as well!
@FaisalAhmed-xq8xq
@FaisalAhmed-xq8xq Год назад
ooh, what's your Vim setup?
@dreamsofcode
@dreamsofcode Год назад
Should be added to the video description!
@ShourovRoy-pk5zm
@ShourovRoy-pk5zm 10 месяцев назад
Make a full stack project using it 🙏
@dreamsofcode
@dreamsofcode 10 месяцев назад
This is a great idea
@ShourovRoy-pk5zm
@ShourovRoy-pk5zm 10 месяцев назад
@@dreamsofcode we really love to rust in web servers. 😊
@gregorywpower
@gregorywpower Год назад
Could you do a video on your neoVim config?
@dreamsofcode
@dreamsofcode Год назад
I can and will! It'll probably be after a couple in the pipeline
@gregorywpower
@gregorywpower Год назад
Awesome! There’s not too many videos on NVChad.
@dreamsofcode
@dreamsofcode Год назад
@@gregorywpower I agree, so I decided to bump it in priority! Should be the next video I release.
@pscoriae6981
@pscoriae6981 Год назад
cool, reminds me of Gin Gonic
@chrishabgood8900
@chrishabgood8900 Год назад
What kinda response times?
@parker7721
@parker7721 11 месяцев назад
Cool framework, but I still prefer axum. Specially since is maintained by the tokio devs so I know it will have a long time support .
@dreamsofcode
@dreamsofcode 11 месяцев назад
Axum is really awesome. My next video features it!
@OldKing11100
@OldKing11100 Год назад
I swear I won't touch a Rust API until Async is part of the standard library no matter how much I like it. Axum made me eat dirt trying to replicate a project from Python and rightfully so as I had bad coding practices that I'm still fixing. I was watching the Rust in 2024 forum Niko Matsakis and it addressed all the concerns I have about using Rust and even addressed the 3-6 month learning curve. That's exciting all on its own as it means they are listening to newbish devs like me. I'm going to keep learning Rust, but projects like Wasmer are making me hopeful that I can someday use Polars in Go and that weaker languages are going to be reinforced by the strongest/safest language library in the world: Rust.
@dreamsofcode
@dreamsofcode Год назад
I'm going to give Axum a go, especially as everyones mentioned that Tide might be dead 😭. I'm going to have to watch the 2024 forum, it sounds interesting!
@TheTmLev
@TheTmLev Год назад
Honestly, this looks like a downgrade compared to Axum. In Axum, all request extractors are expressed as types, no need for manually getting things out of `tide::Request` parameter.
@dreamsofcode
@dreamsofcode Год назад
Oh interesting! I guess I'm gonna have to do a video on Axum now and see how it compares!
@bibliusz777
@bibliusz777 Год назад
how to do auth?
@bernardogalvao4448
@bernardogalvao4448 Год назад
What font are you using though?
@dreamsofcode
@dreamsofcode Год назад
JetBrainsMono Nerd Font
@reydavid7300
@reydavid7300 Год назад
What is that terminal app?
@dreamsofcode
@dreamsofcode Год назад
Alacritty. I use it with the Catppuccin theme
@cleancapsco
@cleancapsco Год назад
Is there a way to hot-reload the server?
@dreamsofcode
@dreamsofcode Год назад
There is! Using both catflap and cargo watch. The tide repo has an example!
@advanceringnewholder
@advanceringnewholder Год назад
this kinda reminds me of express
@dreamsofcode
@dreamsofcode Год назад
I agree!
@CristianGarcia
@CristianGarcia Год назад
Simple, but not having dependency injection (rocket, axum) feels like a loss, it needs to make up for it somehow (e.g. speed).
@SandwichMitGurke
@SandwichMitGurke Год назад
looks great but why has it been in version 0.16 for the last two years? Edit: development seems to be halted. 40 open pull requests. I therefore stay away from this for now
@dreamsofcode
@dreamsofcode Год назад
Yeah, that does seem to be the case. I'd been using it for a while now and hoping that development comes back, but it's been over 6 months. Going to have to try out Axum given all the love for it in the comments!
@saifullahsaeed1990
@saifullahsaeed1990 Год назад
Look like express for rust
@Venyl
@Venyl Год назад
What's your theme?
@dreamsofcode
@dreamsofcode Год назад
It's Catppuccin! I've added a link to my dotfiles in the video description
@Venyl
@Venyl Год назад
@@dreamsofcode Ty :)
@MrEnsiferum77
@MrEnsiferum77 Год назад
Is someone working on the framework, looks stuck for a year or so...
@dreamsofcode
@dreamsofcode Год назад
I think it may be abandoned now. I'm going to have to do a video on another framework instead!
@realsong-fake
@realsong-fake Год назад
It's been dead for years. Don't bother with it.
@larrybird3729
@larrybird3729 Год назад
is tokio bad for web frameworks?
@dreamsofcode
@dreamsofcode Год назад
Tokio is great, but you'll probably want n abstraction on top for routing and other quality of life improvements
@larrybird3729
@larrybird3729 Год назад
​@@dreamsofcode thanks alot, I only brought it up because I keep having issues with shared hash-tables not being updated and I thought maybe it was Tokio :)
@vnshngpnt
@vnshngpnt Год назад
>async-std Bruh
@dreamsofcode
@dreamsofcode Год назад
I know 😭
Далее
The perfect Neovim setup for Rust.
11:04
Просмотров 119 тыс.
А на каком языке ты ДУМАЕШЬ?
00:57
Use Arc Instead of Vec
15:21
Просмотров 145 тыс.
You Should Really Know These Traits in Rust
18:36
Просмотров 13 тыс.
Phoenix LiveView Is Making Me Reconsider React...
36:59
Svelte 5's Secret Weapon: Classes + Context
18:14
Просмотров 19 тыс.
Is HTMX a Joke??
32:15
Просмотров 21 тыс.
I spent six months rewriting everything in Rust
15:11
Просмотров 427 тыс.
Don't Use Polly in .NET Directly. Use this instead!
14:58
The Downfall of Actix Web
20:25
Просмотров 241 тыс.