Build Blazing Fast Backends with Rust & Actix Web

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 ธ.ค. 2024

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

  • @FloWoelki
    @FloWoelki  4 หลายเดือนก่อน +2

    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: th-cam.com/video/tJOf8jl8GaM/w-d-xo.html

  • @alexjohnson-bassworship3150
    @alexjohnson-bassworship3150 9 หลายเดือนก่อน +20

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

    • @FloWoelki
      @FloWoelki  9 หลายเดือนก่อน +1

      Glad it was helpful! Thank you :)

  • @luthecoder
    @luthecoder 9 หลายเดือนก่อน +4

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

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

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

  • @Mr.BinarySniper
    @Mr.BinarySniper 9 หลายเดือนก่อน +4

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

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

      Thank you. Appreciate your feedback! :)

  • @Lition98
    @Lition98 8 หลายเดือนก่อน

    Very simple and concise. Thank you

    • @FloWoelki
      @FloWoelki  8 หลายเดือนก่อน

      Glad it was helpful!

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

    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  6 หลายเดือนก่อน

      I appreciate that! Thank you!

  • @cempack
    @cempack 8 หลายเดือนก่อน +2

    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  7 หลายเดือนก่อน

      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.

    • @networkerdesign6147
      @networkerdesign6147 3 หลายเดือนก่อน

      Actix is the fastest rust api Server, rocket is vattery included.

  • @hitesh7481
    @hitesh7481 6 หลายเดือนก่อน +1

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

    • @FloWoelki
      @FloWoelki  6 หลายเดือนก่อน +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.

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

    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  6 หลายเดือนก่อน +1

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

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

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

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

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

  • @DerickRobinsonPlata
    @DerickRobinsonPlata 8 หลายเดือนก่อน

    Thanks for the great video, keep up the work!

    • @FloWoelki
      @FloWoelki  8 หลายเดือนก่อน

      thank you for the amazing feedback!

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

    Awesome bro👏

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

      Thanks ✌️

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

    Thank you!

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

      Sure thing :)

  • @filipniklas
    @filipniklas 8 หลายเดือนก่อน

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

    • @FloWoelki
      @FloWoelki  8 หลายเดือนก่อน +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.

  • @ImranKhan-br5dv
    @ImranKhan-br5dv 9 หลายเดือนก่อน +1

    Please make some more videos on this .😊

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

      Yes I will, thank you for watching! :)

    • @ImranKhan-br5dv
      @ImranKhan-br5dv 9 หลายเดือนก่อน

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

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

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

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

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

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

    Awesome bro

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

      Thank you!

  • @AsherDMckoy
    @AsherDMckoy 7 หลายเดือนก่อน

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

    • @FloWoelki
      @FloWoelki  7 หลายเดือนก่อน

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

  • @iBeepHQ
    @iBeepHQ 8 หลายเดือนก่อน

    Please, don't stop this Actix Web series.

    • @FloWoelki
      @FloWoelki  8 หลายเดือนก่อน

      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?

  • @HriSri
    @HriSri 4 หลายเดือนก่อน

    Hey your video was really helpful.
    Can you now help me with configuration and dotenv??
    that would give a good kickstart

    • @FloWoelki
      @FloWoelki  4 หลายเดือนก่อน

      Glad it helped!
      I do have a separate video (not specifically about dotenv), but dotenv is explained there as well: th-cam.com/video/zzfZ13_Ig78/w-d-xo.html

  • @ricardorochadev
    @ricardorochadev 8 หลายเดือนก่อน

    Hi Flo, Have you already tested axum?

    • @FloWoelki
      @FloWoelki  8 หลายเดือนก่อน

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

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

    you know you could go even faster with c++ and drogon. would you though?

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

      That's the big question :D

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

    how would one deploy a rust backend ?

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

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

  • @arkapoddar3727
    @arkapoddar3727 4 หลายเดือนก่อน

    What IDE it is ?

    • @FloWoelki
      @FloWoelki  4 หลายเดือนก่อน

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

  • @papunmohanty2291
    @papunmohanty2291 5 หลายเดือนก่อน

    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  5 หลายเดือนก่อน

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

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

    Which extenshion you use for error intellicence which show issue in the front of error line

  • @codingszy
    @codingszy 4 หลายเดือนก่อน

    vim theme?

    • @FloWoelki
      @FloWoelki  4 หลายเดือนก่อน

      I am always using the GitHub theme.

  • @Mooooov0815
    @Mooooov0815 9 หลายเดือนก่อน +8

    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 9 หลายเดือนก่อน

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

    • @Mr.BinarySniper
      @Mr.BinarySniper 9 หลายเดือนก่อน +8

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

    • @FloWoelki
      @FloWoelki  9 หลายเดือนก่อน +4

      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 9 หลายเดือนก่อน

      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 9 หลายเดือนก่อน

      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

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

    More rust content

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

      Do you have something in mind? :)

    • @victorgxn
      @victorgxn 5 หลายเดือนก่อน

      @@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 4 หลายเดือนก่อน

    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

  • @user-gchgctv
    @user-gchgctv 9 หลายเดือนก่อน

    Awesome bro

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

      Thanks 🤗