Build Blazing Fast Backends with Rust & Actix Web

Sdílet
Vložit

Komentáře • 58

  • @FloWoelki
    @FloWoelki  Před 25 dny

    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

  • @alexjohnson-bassworship3150
    @alexjohnson-bassworship3150 Před 5 měsíci +13

    This is hands down the best beginner Actix API video on CZcams! Great work!! Loved this.

    • @FloWoelki
      @FloWoelki  Před 5 měsíci

      Glad it was helpful! Thank you :)

  • @Mr.BinarySniper
    @Mr.BinarySniper Před 5 měsíci +3

    Wow.. Very Elegant video.. clear presentation. love your video style.. go ahead sir.. we will become popular.

    • @FloWoelki
      @FloWoelki  Před 5 měsíci

      Thank you. Appreciate your feedback! :)

  • @rip4real437
    @rip4real437 Před 2 měsíci

    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

    • @FloWoelki
      @FloWoelki  Před 2 měsíci

      I appreciate that! Thank you!

  • @cempack
    @cempack Před 4 měsíci +1

    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?

    • @FloWoelki
      @FloWoelki  Před 3 měsíci

      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.

  • @luthecoder
    @luthecoder Před 4 měsíci

    Please make more rust api videos like these! especially authentication related ones as well like protected routes etc

    • @FloWoelki
      @FloWoelki  Před 4 měsíci

      thank you for the suggestion! i'll definitely have this in mind.

  • @Mooooov0815
    @Mooooov0815 Před 5 měsíci +4

    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

    • @workingdemofirsttime4838
      @workingdemofirsttime4838 Před 5 měsíci

      ElysiaJS running on BunJS is completing with gin and actix
      Very exciting stuff in typescript

    • @Mr.BinarySniper
      @Mr.BinarySniper Před 5 měsíci +1

      stop doing this.. go is great language. but when it comes to milisecond performance benchmark go sucks..

    • @FloWoelki
      @FloWoelki  Před 5 měsíci +2

      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.

    • @steveoc64
      @steveoc64 Před 5 měsíci

      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.

    • @StefanSchade721229
      @StefanSchade721229 Před 5 měsíci

      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

  • @hitesh7481
    @hitesh7481 Před 2 měsíci +1

    what is the extension you are using which is saying main is not async at 2:47? thats pretty cool

    • @FloWoelki
      @FloWoelki  Před 2 měsíci +1

      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.

  • @Lition98
    @Lition98 Před 4 měsíci +1

    Very simple and concise. Thank you

  • @ImranKhan-br5dv
    @ImranKhan-br5dv Před 5 měsíci +1

    Please make some more videos on this .😊

    • @FloWoelki
      @FloWoelki  Před 5 měsíci

      Yes I will, thank you for watching! :)

    • @ImranKhan-br5dv
      @ImranKhan-br5dv Před 5 měsíci

      @@FloWoelki I will be waiting for this series , please try to complete ASAP .

    • @FloWoelki
      @FloWoelki  Před 5 měsíci

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

  • @DerickRobinsonPlata
    @DerickRobinsonPlata Před 4 měsíci

    Thanks for the great video, keep up the work!

    • @FloWoelki
      @FloWoelki  Před 4 měsíci

      thank you for the amazing feedback!

  • @benspencer1163
    @benspencer1163 Před 2 měsíci

    thank you for the video, but I'd really appreciate a follow up video...
    you do a very good job with your explanation

    • @FloWoelki
      @FloWoelki  Před 2 měsíci +1

      Thank you! What do you have in mind for a follow-up video?

    • @benspencer1163
      @benspencer1163 Před 2 měsíci

      @@FloWoelki email using actix web and every other backend things that make up backend frameworks

    • @FloWoelki
      @FloWoelki  Před 2 měsíci

      @@benspencer1163 thank you! I've already written some ideas down :)

  • @iBeepHQ
    @iBeepHQ Před 4 měsíci

    Please, don't stop this Actix Web series.

    • @FloWoelki
      @FloWoelki  Před 4 měsíci

      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?

  • @willbroadnyirenda7342
    @willbroadnyirenda7342 Před 5 měsíci

    Awesome bro👏

  • @Christobanistan
    @Christobanistan Před 2 měsíci

    So what's the best server side framework that works with HTMX (and Actix of course)?

  • @user-gchgctv
    @user-gchgctv Před 5 měsíci

    Awesome bro

  • @rumonintokyo
    @rumonintokyo Před 2 měsíci

    how would one deploy a rust backend ?

    • @FloWoelki
      @FloWoelki  Před 2 měsíci

      Depends on your preferences :) But, generally `cargo build --release` puts the resulting binary in the `target/release` directory.

  • @papunmohanty2291
    @papunmohanty2291 Před měsícem

    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

    • @FloWoelki
      @FloWoelki  Před měsícem

      I definitely improved this one, but I will improve further. Thank you for the feedback, though!

  • @filipniklas
    @filipniklas Před 4 měsíci

    Nice! What do you recommend for a Rust newbie to learn first, Actix web or axum? (Or something else?)

    • @FloWoelki
      @FloWoelki  Před 4 měsíci +2

      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.

  • @AsherDMckoy
    @AsherDMckoy Před 2 měsíci

    Is that a vim plugin for the automatic imports and line errors?

    • @FloWoelki
      @FloWoelki  Před 2 měsíci

      Yes! I use `lsp-zero` with some additional configuration.

  • @arkapoddar3727
    @arkapoddar3727 Před 20 dny

    What IDE it is ?

    • @FloWoelki
      @FloWoelki  Před 20 dny

      In the early days, I was just using nvim :)

  • @ricardorochadev
    @ricardorochadev Před 4 měsíci

    Hi Flo, Have you already tested axum?

    • @FloWoelki
      @FloWoelki  Před 4 měsíci

      hey there, big fan of Axum as well! especially the integration with tokio. :) what do you think about it?

  • @Coughyyee
    @Coughyyee Před 23 dny

    vim theme?

    • @FloWoelki
      @FloWoelki  Před 22 dny

      I am always using the GitHub theme.

  • @victorgxn
    @victorgxn Před měsícem

    More rust content

    • @FloWoelki
      @FloWoelki  Před měsícem

      Do you have something in mind? :)

    • @victorgxn
      @victorgxn Před měsícem

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

  • @InternetEntreprenuer
    @InternetEntreprenuer Před 23 dny

    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

  • @widyadarmawirawan2959
    @widyadarmawirawan2959 Před 5 měsíci

    Awesome bro