If you are curious about part two, where I do explain all sorts of different extractors in Actix Web, feel free to check out this one: czcams.com/video/tJOf8jl8GaM/video.html
Amazing video man, very concise and thorough... I'm still learning Rust and you made this as clear as it can be. you are actually really underrated! Please make more videos like this... subbed
What do you think about Rocket ? What's the differences between Actix web and Rocket. I've been interested into rust pretty recently and I didn't really catch the difference even tho Rocket seems much more batteries included, but I guess there is a reason why Actix is much more popular?
I personally think that Rocket does not have a lot of updates. That's why I think that Actix-Web and Axum are more popular. Axum is also much leaner and simpler than Actix-Web.
I’m not sold on the idea that rusts performance benefits on the web platform are actually worth the tradeoffs you have to deal with. It is a fairly difficult language with very long compile times. Sure, you get great performance. But you can get decent performance with Go without having to deal with any of those tradeoffs
I agree with you all. Go is a wonderful language compared to Rust. However, Rust can also be a wonderful language if you try to master it. Rust is becoming more the language when it comes to building tools. There are a lot of popular tools out there that are based on Rust (quite recently Rolldown in the JavaScript/TypeScript world). Some compilers are also written in Rust, just because of the safety and huge performance of Rust. But I agree, if you do have maybe microservices, Golang is a powerful choice because everyone understands the language almost instantly and can get used to it.
Considering that Rust was designed for a pretty narrow use-case - For building a desktop app (Firefox) that would be placed in the hands of users + abusers, with an emphasis on memory safety through lifetime management. This is a completely different set of challenges to an application that runs on a backend server somewhere. The backend server environment has been refined over many years, and has its own safety considerations that are not the same as a desktop app. They barely overlap even. And yet we see people trying to use Rust now for backend server development ... because "safety". Throwing out decades of real-world tested ways of providing safety on the server, with this desktop-centric "memory safety" thing instead. It's a completely false argument, and wildly counter productive. With the performance angle - the "but performance" argument is also false ... because Rust compromises on performance and resource consumption to provide safety (and the wrong type of safety at that). If you care about "millisecond performance" - then Go is more than good enough. (geez - even Python or Node is more than good enough if milliseconds are your benchmark) Rust is OK if you care about microsecond performance (as is Go / Erlang / Bun etc) If you care about nanosecond performance, then Rust is not even in the ballpark.
If you struggle with Rust - ask chat got for help. I am using version 4 and find it's ability to explain a powerful tool. Rust is totally worth it if you look at benchmarks
It's not an extension; it's a plugin in nvim that I've used. But generally, you can google for whatever IDE/Editor you use: "show inline errors". That should work.
@@ImranKhan-br5dv haha I'll try to. Obviously I've limited resources and time and other videos in the pipeline as well. But follow-up videos will come!
Webcam share during code sharing in screen is hiding the code behind. hope the webcam/camera will be hidden during code screen sharing in upcoming videos
thanks :) I would recommend learning the language first :D jokes aside, I think it doesn't matter. in the end Actix Web and Axum both perform better than any node or python web server, and that's what matters. I would say, pick based on preference and project constraints.
@@FloWoelki All the rust tutorials are quite short, it would be nice if they were a bit longer to see a solid directory structure. It doesn't matter the framework, axum, warp, actix, they all work more or less the same based on tokyo, hyper etc.
If you are curious about part two, where I do explain all sorts of different extractors in Actix Web, feel free to check out this one: czcams.com/video/tJOf8jl8GaM/video.html
This is hands down the best beginner Actix API video on CZcams! Great work!! Loved this.
Glad it was helpful! Thank you :)
Wow.. Very Elegant video.. clear presentation. love your video style.. go ahead sir.. we will become popular.
Thank you. Appreciate your feedback! :)
Amazing video man, very concise and thorough... I'm still learning Rust and you made this as clear as it can be. you are actually really underrated! Please make more videos like this... subbed
I appreciate that! Thank you!
What do you think about Rocket ? What's the differences between Actix web and Rocket. I've been interested into rust pretty recently and I didn't really catch the difference even tho Rocket seems much more batteries included, but I guess there is a reason why Actix is much more popular?
I personally think that Rocket does not have a lot of updates. That's why I think that Actix-Web and Axum are more popular. Axum is also much leaner and simpler than Actix-Web.
Please make more rust api videos like these! especially authentication related ones as well like protected routes etc
thank you for the suggestion! i'll definitely have this in mind.
I’m not sold on the idea that rusts performance benefits on the web platform are actually worth the tradeoffs you have to deal with. It is a fairly difficult language with very long compile times. Sure, you get great performance. But you can get decent performance with Go without having to deal with any of those tradeoffs
ElysiaJS running on BunJS is completing with gin and actix
Very exciting stuff in typescript
stop doing this.. go is great language. but when it comes to milisecond performance benchmark go sucks..
I agree with you all. Go is a wonderful language compared to Rust. However, Rust can also be a wonderful language if you try to master it.
Rust is becoming more the language when it comes to building tools. There are a lot of popular tools out there that are based on Rust (quite recently Rolldown in the JavaScript/TypeScript world). Some compilers are also written in Rust, just because of the safety and huge performance of Rust.
But I agree, if you do have maybe microservices, Golang is a powerful choice because everyone understands the language almost instantly and can get used to it.
Considering that Rust was designed for a pretty narrow use-case - For building a desktop app (Firefox) that would be placed in the hands of users + abusers, with an emphasis on memory safety through lifetime management.
This is a completely different set of challenges to an application that runs on a backend server somewhere. The backend server environment has been refined over many years, and has its own safety considerations that are not the same as a desktop app. They barely overlap even.
And yet we see people trying to use Rust now for backend server development ... because "safety". Throwing out decades of real-world tested ways of providing safety on the server, with this desktop-centric "memory safety" thing instead. It's a completely false argument, and wildly counter productive.
With the performance angle - the "but performance" argument is also false ... because Rust compromises on performance and resource consumption to provide safety (and the wrong type of safety at that). If you care about "millisecond performance" - then Go is more than good enough. (geez - even Python or Node is more than good enough if milliseconds are your benchmark)
Rust is OK if you care about microsecond performance (as is Go / Erlang / Bun etc)
If you care about nanosecond performance, then Rust is not even in the ballpark.
If you struggle with Rust - ask chat got for help. I am using version 4 and find it's ability to explain a powerful tool. Rust is totally worth it if you look at benchmarks
what is the extension you are using which is saying main is not async at 2:47? thats pretty cool
It's not an extension; it's a plugin in nvim that I've used. But generally, you can google for whatever IDE/Editor you use: "show inline errors". That should work.
Very simple and concise. Thank you
Glad it was helpful!
Please make some more videos on this .😊
Yes I will, thank you for watching! :)
@@FloWoelki I will be waiting for this series , please try to complete ASAP .
@@ImranKhan-br5dv haha I'll try to. Obviously I've limited resources and time and other videos in the pipeline as well. But follow-up videos will come!
Thanks for the great video, keep up the work!
thank you for the amazing feedback!
thank you for the video, but I'd really appreciate a follow up video...
you do a very good job with your explanation
Thank you! What do you have in mind for a follow-up video?
@@FloWoelki email using actix web and every other backend things that make up backend frameworks
@@benspencer1163 thank you! I've already written some ideas down :)
Please, don't stop this Actix Web series.
I'll try my best to come up with some things about actix web.
Do you have ideas that you definitely struggle with or want to see?
Awesome bro👏
Thanks ✌️
So what's the best server side framework that works with HTMX (and Actix of course)?
Awesome bro
Thanks 🤗
how would one deploy a rust backend ?
Depends on your preferences :) But, generally `cargo build --release` puts the resulting binary in the `target/release` directory.
Webcam share during code sharing in screen is hiding the code behind. hope the webcam/camera will be hidden during code screen sharing in upcoming videos
I definitely improved this one, but I will improve further. Thank you for the feedback, though!
Nice! What do you recommend for a Rust newbie to learn first, Actix web or axum? (Or something else?)
thanks :)
I would recommend learning the language first :D jokes aside, I think it doesn't matter. in the end Actix Web and Axum both perform better than any node or python web server, and that's what matters. I would say, pick based on preference and project constraints.
Is that a vim plugin for the automatic imports and line errors?
Yes! I use `lsp-zero` with some additional configuration.
What IDE it is ?
In the early days, I was just using nvim :)
Hi Flo, Have you already tested axum?
hey there, big fan of Axum as well! especially the integration with tokio. :) what do you think about it?
vim theme?
I am always using the GitHub theme.
More rust content
Do you have something in mind? :)
@@FloWoelki All the rust tutorials are quite short, it would be nice if they were a bit longer to see a solid directory structure. It doesn't matter the framework, axum, warp, actix, they all work more or less the same based on tokyo, hyper etc.
If I was blind I'd have never known that you are white, but then again if I was blind I wouldnt be trying to write backend API's in rust
Awesome bro
Thank you!