@@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.
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 ❤
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!
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!
ปีที่แล้ว +15
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".
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 ❤
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!
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.
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.
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.
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
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.
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.
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.
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?
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
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
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.
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?
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!
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.
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).
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.
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
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!
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.
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
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.
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
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.
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.
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.
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.
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.
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.
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!
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.
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
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!
@@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 :)
No Boilerplate and Fireship did a fusion.
Exactly haha
Aww thanks, they're both awesome channels! I'm lucky to even be close to comparison.
@@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.
Thank you for the feedback! I shall make sure to apply that to the next video.
YT algo magic 😂
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 ❤
Thank you so much!
Really cool video.
Tide is great.
(Arc stands for Atomically Reference Counted btw)
You're correct! My brain was thinking about Swift for some reason. Embarrassing haha!
great video
6:50, Arc stands for 'Atomically Reference Counted'
Yes! You're correct, I made a goof haha.
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!
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".
You are correct!
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 ❤
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!
Thank you for the feedback! I appreciate it!
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.
Extremely neat video. Concise, to the point, yet detailed. Thanks. Subscribed.
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.
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.
Rust microservices? YES PLEASE
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
Thank you for the feedback!
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.
Amazing video! Just subscribed and excited to see more. Keep it up!
Thank you! I'm glad you enjoyed it
The algorithm seems to be favouring this video. Love your presentation style, I hope your channel grows 🔥
Haha it really is. Thank you!
Great video, I love how simple and non cluttered it is. ❤
Glad you liked it!!
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.
I agree! It feels very familiar to use. The other frameworks are great but too much magic for me, personally.
Rocket and Actix are really great too. The ecosystem as a whole is awesome :)
Thanks for the video. Been using Actix so far, but I'll give Tide a try.
I demand that every time you utter the word Tokio you replace it with ThePrimagen screaming "TOKIO!!!"
Haha!
Wow, really exited to try tide. And also the video quality was so good and easy to understand!
Thank you! I'm glad you think so!
Really cool and meaningful video for me thanks a lot.
Also your dev enviro is really cool 👍
Thank you! I should have a video on my vim configuration coming out tomorrow as well
Really nice video. Would like to see more APIs built in rust
Me too!
Soon I will not only have to learn a new JS framework every week, but a Rust one as well. Yay!
never stop learning, friend!
Small detail, Arc stand is for Atomic Reference Counted
Haha yes you're correct. I must have been thinking in Swift still 😅
Excited for future micro services videos!
Me too! Hopefully I get more time to make videos soon and I can start to focus on the microservices one as well.
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.
Junior spotted.
@@Notoriousjunior374 Sure bro 🤣
I feel the same.
This video is awesome, thanks for sharing.
I'm glad you enjoyed it!
Genuienly enjoyed watching this video, will be nice to follow you on your journey on YT :)
Yay, thank you!
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?
Yeah I’ll be sticking with axum
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
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
I am interested! It's a good idea
Warp is also a great alternative option for a minimal Rust web app framework.
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
tide is tight!
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.
This reminds me a lot of Slim on PHP. Which is no bad thing.
Could you do a video on your vim setup? Looks amazing!
I shall have to!
Please make a video of how to setup a terminal like yours. I can't seem to make your dotfiles work
I shall do so!
Why use Tide, if there is Axum and Actix-Web ?
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.
@toast Thanks for the info.
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?
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
excellent tutorial style. great video.
Thank you!
I love this video. I'm in. Subscribed !
Glad you enjoyed it!
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 🎉
It should be at 4k, but I shall zoom in more for iPad users in future! Thank you for the feedback.
This looks interesting. But I am more interested in your terminal setup.
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!
powerful stuff
great video! I want to create videos like this, which video editor you are using?
Thank you! I use Davinci Resolve, although I'm sure Premiere Pro is just as good as well.
Cool video. Little fix: not "automatic" but "atomic" reference counter.
Ahh! You're absolutely correct! Good catch!
Do you have a dark mode toggle in your vim tabbar? If so, link to config plz?
great video! which font do u use i like it a lot
Thank you! I use JetBrainsMono Nerd Font.
@@dreamsofcode appreciate it ! i’ll try it out keep up with your great videos, lowkey getting me into rust
that's a nice zsh setup
Thank you! I've added a link to my dotfiles
Great video!
Thanks! Glad you enjoyed it!
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.
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).
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.
Wow, Ok() is alright!
Great video.
Thank you!
Lots of overlap with Express.js which was the intend right? Also the video is very clear
Yes, it definitely has the same feeling as express of Go's http.Handler.
Thank you for the feedback! Appreciate it
thank you 😊
You're welcome 😊
Subscribing for those microservice videos 😉
I've got more coming!
cool, reminds me of Gin Gonic
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
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!
You’re a legend thanks bro. Still too new to comprehend what’s going on in dotfiles so can’t wait for your vid.
Amazing! Thank you!
Thank you too!
Please make a 12 factor microservices API video in Rust.
I love 12 factor apps! I'll make one only if you'll watch it 😁
@@dreamsofcode Of course I will.
awesome video!
I love the video, but it would be great if you could add chapters or someone could provide timestamps
Sure! I can add chapters. Will do so today.
great video, really clear
Glad you think so! I appreciate it
Thank you! I appreciate the feedback
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.
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
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.
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
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.
4:16 - Quick question from Rust noobie: why do you need to call `#to_string` on string literal? Thanks!
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.
@@dreamsofcode Got it, thanks!
Thanks bro. Great content😊😊. May I know the configuration of your nvim?
My dotfiles should be added to the description now!
Why use this over rocket or actix?
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.
Great
I am worried about the project status. The last beta release was in 2021. At the moment the Tide repository has almost no activity.
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.
@@dreamsofcode I hope your video will spark interest around Tide.
@@victorkochkarev2576 I'm hoping as well!
Ur vim so amazing man
Thank you! I got a video coming out soon on how to do the same.
What's theme and Config of Vim
It is Catppuccin! I'll share my dotfiles in the description
What video editor do you use?
Davinci Resolve. I use the studio version as well which is wonderful to work with
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.
would you rather build an API with this or Go?
Great question! I'd rather build with Rust personally, but if I had a team that wasn't as familiar, I'd choose Go.
Could you do a video on your neoVim config?
I can and will! It'll probably be after a couple in the pipeline
Awesome! There’s not too many videos on NVChad.
@@gregorywpower I agree, so I decided to bump it in priority! Should be the next video I release.
ooh, what's your Vim setup?
Should be added to the video description!
tide got last update 3 years ago.
What kinda response times?
really cool :D
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.
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!
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 .
Axum is really awesome. My next video features it!
Doesn't look like Tide is being updated anymore? Is it alive? "Finished"?
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!
What font are you using though?
JetBrainsMono Nerd Font
Make a full stack project using it 🙏
This is a great idea
@@dreamsofcode we really love to rust in web servers. 😊
What is that terminal app?
Alacritty. I use it with the Catppuccin theme
how to do auth?
What's your theme?
It's Catppuccin! I've added a link to my dotfiles in the video description
@@dreamsofcode Ty :)
Is there a way to hot-reload the server?
There is! Using both catflap and cargo watch. The tide repo has an example!
Look like express for rust
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.
Oh interesting! I guess I'm gonna have to do a video on Axum now and see how it compares!
this kinda reminds me of express
I agree!
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
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!
Simple, but not having dependency injection (rocket, axum) feels like a loss, it needs to make up for it somehow (e.g. speed).
>async-std
Bruh
I know 😭
is tokio bad for web frameworks?
Tokio is great, but you'll probably want n abstraction on top for routing and other quality of life improvements
@@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 :)
Is someone working on the framework, looks stuck for a year or so...
I think it may be abandoned now. I'm going to have to do a video on another framework instead!
It's been dead for years. Don't bother with it.
how minimal is it, tide web framework?