RustFest Zürich 2017 - Tokio: How we hit 88mph by Alex Crichton

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

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

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

    Disappointed that the talk is not call Fast and Asynchronous: Tokio Drift. But awesome talk, thanks.

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

      I'm disappointed that it wasn't called: You Can't Spell Rust Fest Without Futures

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

    I always enjoy talks by Alex Crichton. Very professional and knowledgeable guy. Thanks for sharing!

    • @PaulSebastianM
      @PaulSebastianM 6 ปีที่แล้ว

      Yes but the pacing is very jittery.

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

    This is more informative than tokio documentations

  • @TheOMGPoPCorn
    @TheOMGPoPCorn 5 ปีที่แล้ว

    Great talk! Hope I will understand Tokio better in the near future. Futures are cool, but using Tokio just feels like abstracting everything as a stream.

  • @qhkmdev
    @qhkmdev 4 ปีที่แล้ว

    Futures looks similar to Promise in JS to me

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

      A key difference is that Futures don’t automatically start when they are created. They start when await is applied to them. JS Promises start when they are created.

  • @PaulSebastianM
    @PaulSebastianM 6 ปีที่แล้ว

    Why isn't anyone using constructive/destructive interference to fix these large hall reverberations?

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

    Biff gives sports almanac to himself in the past.
    Not his father.

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

      Nice Presentation BTW :)

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

      We'll make sure that we improve our meme and retro movie training. Alex will have to take it again.

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

      @@RustVideos How can I now trust anything he said if he makes a mistake IN THE MOST SUBSTANTIAL IMPACTFUL SUBJECT!!!!!!!!!.

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

    Could someone enlighten me ... isn't this just Python Twisted for Rust?

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

      Not sure what you mean by "just"--most languages have a "future-like" scheme of some sort for async, the point is building the right version of that in rust with the language's goals in mind. Tokio may do a similar thing to python twisted, but given that it's written in rust, it's significantly faster and provides all the great guarantees that rust does--memory safety, safe concurrency, etc etc.

    • @ac130kz
      @ac130kz 6 ปีที่แล้ว

      not to mention that Python's queue was not thread-safe before a recent patch....

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

      More like Python's asyncio at least as far as the API goes. Twisted is just callback hell, a bit like JS Promises. They're all forms of async programming, but not all async techniques are created equal.