Tide is perhaps my favorite Rust web app framework.

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 ธ.ค. 2024
  • 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

ความคิดเห็น • 218

  • @anidiot2338
    @anidiot2338 ปีที่แล้ว +394

    No Boilerplate and Fireship did a fusion.

    • @wlockuz4467
      @wlockuz4467 ปีที่แล้ว +6

      Exactly haha

    • @dreamsofcode
      @dreamsofcode  ปีที่แล้ว +85

      Aww thanks, they're both awesome channels! I'm lucky to even be close to comparison.

    • @RotatingBuffalo
      @RotatingBuffalo ปีที่แล้ว +25

      ​​@@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  ปีที่แล้ว +5

      Thank you for the feedback! I shall make sure to apply that to the next video.

    • @thenaman047
      @thenaman047 ปีที่แล้ว +1

      YT algo magic 😂

  • @sputnick1
    @sputnick1 ปีที่แล้ว +24

    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 ❤

  • @doce3609
    @doce3609 ปีที่แล้ว +113

    Really cool video.
    Tide is great.
    (Arc stands for Atomically Reference Counted btw)

    • @dreamsofcode
      @dreamsofcode  ปีที่แล้ว +10

      You're correct! My brain was thinking about Swift for some reason. Embarrassing haha!

  •  ปีที่แล้ว +16

    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".

  • @MrKeebs
    @MrKeebs ปีที่แล้ว +42

    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  ปีที่แล้ว +6

      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!

  • @talli-studios
    @talli-studios ปีที่แล้ว +25

    great video
    6:50, Arc stands for 'Atomically Reference Counted'

    • @dreamsofcode
      @dreamsofcode  ปีที่แล้ว

      Yes! You're correct, I made a goof haha.

  • @gungun974
    @gungun974 ปีที่แล้ว +7

    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 ❤

  • @hufuhufu
    @hufuhufu ปีที่แล้ว +2

    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  ปีที่แล้ว +1

      Thank you for the feedback! I appreciate 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!

  • @TheMsksk
    @TheMsksk ปีที่แล้ว +2

    Extremely neat video. Concise, to the point, yet detailed. Thanks. Subscribed.

  • @venir_dev
    @venir_dev ปีที่แล้ว +2

    Rust microservices? YES PLEASE

  • @abhishekshah11
    @abhishekshah11 ปีที่แล้ว

    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.

  • @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!

  • @jameender
    @jameender ปีที่แล้ว +2

    Great video, I love how simple and non cluttered it is. ❤

  • @vixeven
    @vixeven ปีที่แล้ว +3

    Amazing video! Just subscribed and excited to see more. Keep it up!

    • @dreamsofcode
      @dreamsofcode  ปีที่แล้ว

      Thank you! I'm glad you enjoyed it

  • @alenasenie6928
    @alenasenie6928 ปีที่แล้ว +3

    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.

  • @comradepeter87
    @comradepeter87 ปีที่แล้ว +1

    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.

  • @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  ปีที่แล้ว +1

      I'm glad you enjoyed it!

  • @HugBearWithAHat
    @HugBearWithAHat ปีที่แล้ว +1

    Thanks for the video. Been using Actix so far, but I'll give Tide a try.

  • @DanelonNicolas
    @DanelonNicolas ปีที่แล้ว

    I love this video. I'm in. Subscribed !

  • @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.

  • @danielklein2694
    @danielklein2694 ปีที่แล้ว

    Really cool and meaningful video for me thanks a lot.
    Also your dev enviro is really cool 👍

    • @dreamsofcode
      @dreamsofcode  ปีที่แล้ว +1

      Thank you! I should have a video on my vim configuration coming out tomorrow as well

  • @pri_yan_shu_raj
    @pri_yan_shu_raj ปีที่แล้ว +1

    excellent tutorial style. great video.

  • @teeI0ck
    @teeI0ck 11 หลายเดือนก่อน

    powerful stuff

  • @miguelguthridge
    @miguelguthridge ปีที่แล้ว +2

    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 :)

  • @0xgerbot_500
    @0xgerbot_500 ปีที่แล้ว +2

    Great video!

    • @dreamsofcode
      @dreamsofcode  ปีที่แล้ว

      Thanks! Glad you enjoyed it!

  • @andriirubtsov5404
    @andriirubtsov5404 ปีที่แล้ว +4

    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  ปีที่แล้ว +1

      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 ปีที่แล้ว +1

    I demand that every time you utter the word Tokio you replace it with ThePrimagen screaming "TOKIO!!!"

  • @reycorbie3581
    @reycorbie3581 ปีที่แล้ว

    Amazing! Thank you!

  • @vimaximus1360
    @vimaximus1360 ปีที่แล้ว

    Really nice video. Would like to see more APIs built in rust

  • @ashikurrahman2247
    @ashikurrahman2247 ปีที่แล้ว +1

    Please make a video of how to setup a terminal like yours. I can't seem to make your dotfiles work

  • @michaelvanzyl9418
    @michaelvanzyl9418 ปีที่แล้ว +1

    Small detail, Arc stand is for Atomic Reference Counted

    • @dreamsofcode
      @dreamsofcode  ปีที่แล้ว

      Haha yes you're correct. I must have been thinking in Swift still 😅

  • @exaryss2424
    @exaryss2424 ปีที่แล้ว

    great video, really clear

    • @dreamsofcode
      @dreamsofcode  ปีที่แล้ว

      Glad you think so! I appreciate it

    • @dreamsofcode
      @dreamsofcode  ปีที่แล้ว

      Thank you! I appreciate the feedback

  • @voidwalker7774
    @voidwalker7774 ปีที่แล้ว +4

    Why use Tide, if there is Axum and Actix-Web ?

    • @AlecThilenius
      @AlecThilenius ปีที่แล้ว +2

      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.

  • @panagiotisg83
    @panagiotisg83 ปีที่แล้ว +1

    Soon I will not only have to learn a new JS framework every week, but a Rust one as well. Yay!

    • @dreamsofcode
      @dreamsofcode  ปีที่แล้ว +1

      never stop learning, friend!

  • @bombrman1994
    @bombrman1994 9 หลายเดือนก่อน

    tide is tight!

  • @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!

  • @IgorGuerrero
    @IgorGuerrero ปีที่แล้ว +1

    Do you have a dark mode toggle in your vim tabbar? If so, link to config plz?

  • @irlshrek
    @irlshrek ปีที่แล้ว

    awesome video!

  • @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

  • @xes.software
    @xes.software ปีที่แล้ว

    Great video.

  • @wintercounter2
    @wintercounter2 ปีที่แล้ว +11

    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.

  • @GlobalYoung7
    @GlobalYoung7 ปีที่แล้ว

    thank you 😊

  • @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

  • @erwagasore
    @erwagasore 6 หลายเดือนก่อน

    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.

  • @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.

  • @AbhinavKulshreshtha
    @AbhinavKulshreshtha ปีที่แล้ว +2

    This looks interesting. But I am more interested in your terminal setup.

    • @dreamsofcode
      @dreamsofcode  ปีที่แล้ว +1

      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!

  • @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  ปีที่แล้ว +1

      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.

  • @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

  • @arishtp
    @arishtp ปีที่แล้ว

    really cool :D

  • @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.

  • @shiroe689
    @shiroe689 ปีที่แล้ว

    Ur vim so amazing man

    • @dreamsofcode
      @dreamsofcode  ปีที่แล้ว

      Thank you! I got a video coming out soon on how to do the same.

  • @ambitious_grass
    @ambitious_grass ปีที่แล้ว

    Could you do a video on your vim setup? Looks amazing!

  • @realindrit
    @realindrit ปีที่แล้ว

    Genuienly enjoyed watching this video, will be nice to follow you on your journey on YT :)

  • @nameless4014
    @nameless4014 ปีที่แล้ว

    that's a nice zsh setup

    • @dreamsofcode
      @dreamsofcode  ปีที่แล้ว

      Thank you! I've added a link to my dotfiles

  • @undersquire
    @undersquire ปีที่แล้ว +5

    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 ปีที่แล้ว +3

      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.

  • @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

  • @sunkye6035
    @sunkye6035 ปีที่แล้ว

    great video! which font do u use i like it a lot

    • @dreamsofcode
      @dreamsofcode  ปีที่แล้ว +1

      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

  • @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

  • @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  ปีที่แล้ว +1

      It should be at 4k, but I shall zoom in more for iPad users in future! Thank you for the feedback.

  • @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!

  • @abrahimzaman360
    @abrahimzaman360 ปีที่แล้ว +1

    What's theme and Config of Vim

    • @dreamsofcode
      @dreamsofcode  ปีที่แล้ว

      It is Catppuccin! I'll share my dotfiles in the description

  • @tony-go-code
    @tony-go-code ปีที่แล้ว

    Great

  • @dragonmax2000
    @dragonmax2000 ปีที่แล้ว

    Please make a 12 factor microservices API video in Rust.

    • @dreamsofcode
      @dreamsofcode  ปีที่แล้ว +1

      I love 12 factor apps! I'll make one only if you'll watch it 😁

    • @dragonmax2000
      @dragonmax2000 ปีที่แล้ว

      @@dreamsofcode Of course I will.

  • @danikvitek6845
    @danikvitek6845 ปีที่แล้ว +1

    Cool video. Little fix: not "automatic" but "atomic" reference counter.

    • @dreamsofcode
      @dreamsofcode  ปีที่แล้ว

      Ahh! You're absolutely correct! Good catch!

  • @gregorywpower
    @gregorywpower ปีที่แล้ว

    Could you do a video on your neoVim config?

    • @dreamsofcode
      @dreamsofcode  ปีที่แล้ว +1

      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.

  • @edgeeffect
    @edgeeffect ปีที่แล้ว

    This reminds me a lot of Slim on PHP. Which is no bad thing.

  • @navaneeth6157
    @navaneeth6157 ปีที่แล้ว

    What video editor do you use?

    • @dreamsofcode
      @dreamsofcode  ปีที่แล้ว +1

      Davinci Resolve. I use the studio version as well which is wonderful to work with

  • @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  ปีที่แล้ว +2

      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!

  • @frittex
    @frittex ปีที่แล้ว

    Why use this over rocket or actix?

    • @dreamsofcode
      @dreamsofcode  ปีที่แล้ว +1

      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.

  • @FaisalAhmed-xq8xq
    @FaisalAhmed-xq8xq ปีที่แล้ว

    ooh, what's your Vim setup?

    • @dreamsofcode
      @dreamsofcode  ปีที่แล้ว

      Should be added to the video description!

  • @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!

  • @chrishabgood8900
    @chrishabgood8900 ปีที่แล้ว

    What kinda response times?

  • @geoffreyvanwyk4588
    @geoffreyvanwyk4588 ปีที่แล้ว

    Wow, Ok() is alright!

  • @slpwrm
    @slpwrm ปีที่แล้ว

    would you rather build an API with this or Go?

    • @dreamsofcode
      @dreamsofcode  ปีที่แล้ว +1

      Great question! I'd rather build with Rust personally, but if I had a team that wasn't as familiar, I'd choose Go.

  • @wylitebee2648
    @wylitebee2648 ปีที่แล้ว +2

    I love the video, but it would be great if you could add chapters or someone could provide timestamps

    • @dreamsofcode
      @dreamsofcode  ปีที่แล้ว +1

      Sure! I can add chapters. Will do so today.

  • @reydavid7300
    @reydavid7300 ปีที่แล้ว

    What is that terminal app?

    • @dreamsofcode
      @dreamsofcode  ปีที่แล้ว

      Alacritty. I use it with the Catppuccin theme

  • @Takatou__Yogiri
    @Takatou__Yogiri 2 หลายเดือนก่อน

    tide got last update 3 years ago.

  • @bernardogalvao4448
    @bernardogalvao4448 ปีที่แล้ว

    What font are you using though?

  • @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.

  • @ShourovRoy-pk5zm
    @ShourovRoy-pk5zm ปีที่แล้ว

    Make a full stack project using it 🙏

    • @dreamsofcode
      @dreamsofcode  ปีที่แล้ว +1

      This is a great idea

    • @ShourovRoy-pk5zm
      @ShourovRoy-pk5zm ปีที่แล้ว

      @@dreamsofcode we really love to rust in web servers. 😊

  • @bibliusz777
    @bibliusz777 ปีที่แล้ว

    how to do auth?

  • @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!

  • @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.

  • @syndek64
    @syndek64 ปีที่แล้ว

    Subscribing for those microservice videos 😉

  • @pscoriae6981
    @pscoriae6981 ปีที่แล้ว

    cool, reminds me of Gin Gonic

  • @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 :)

  • @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  ปีที่แล้ว +1

      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!

  • @parker7721
    @parker7721 ปีที่แล้ว

    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  ปีที่แล้ว

      Axum is really awesome. My next video features it!

  • @larrybird3729
    @larrybird3729 ปีที่แล้ว

    is tokio bad for web frameworks?

    • @dreamsofcode
      @dreamsofcode  ปีที่แล้ว +1

      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 :)

  • @TheTmLev
    @TheTmLev ปีที่แล้ว +1

    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!

  • @saifullahsaeed1990
    @saifullahsaeed1990 ปีที่แล้ว

    Look like express for rust

  • @chrismuga
    @chrismuga ปีที่แล้ว

    how minimal is it, tide web framework?

  • @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).

  • @advanceringnewholder
    @advanceringnewholder ปีที่แล้ว

    this kinda reminds me of express

  • @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.

  • @SandwichMitGurke
    @SandwichMitGurke ปีที่แล้ว +1

    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!

  • @vnshngpnt
    @vnshngpnt ปีที่แล้ว +1

    >async-std
    Bruh