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

Поделиться
HTML-код
  • Опубликовано: 19 ноя 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!

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

  • @PaulSebastianM
    @PaulSebastianM 6 лет назад

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

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

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