Work Contracts - Rethinking Task Based Concurrency & Parallelism for Low Latency C++ - CppCon 2024

Поділитися
Вставка
  • Опубліковано 5 січ 2025

КОМЕНТАРІ •

  • @alexeysubbota
    @alexeysubbota 4 дні тому

    Really great talk! Concise and comprehensive... I wish all talks were like this

  • @BowBeforeTheAlgorithm
    @BowBeforeTheAlgorithm 4 дні тому

    This talk is excellent! Great work

  • @broken_abi6973
    @broken_abi6973 4 дні тому +1

    Such a great talk

  • @rdd-technical6824
    @rdd-technical6824 4 дні тому

    Very interesting, this is great to see an alternatives to queues with tasks, since that is what I mostly use in application code.
    I still would like a clear explanation on when I would use this vs. when to use a concurrent queue. What situations would the concurrent queue be clearly better, and which situations would the work contracts be clearly better? There's no way work contracts are better for every situation, even with future improvements.

    • @Michael_19056
      @Michael_19056 3 дні тому

      Thanks for the question. I added a section to the repo's README to provide answers. I hope that helps.

  • @hhlavacs
    @hhlavacs 5 днів тому

    This is a great approach! I wonder about the cost of going through so many atomics though.

    • @Michael_19056
      @Michael_19056 3 дні тому

      Thanks for the question. I added a section to the repo's README to provide answers. I hope that helps.

  • @chaquator
    @chaquator 5 днів тому

    kewl. i wonder how a tree with 4 children per node would compare, if there is any benefit in tree navigation compared to the tradeoff of more contention per node

    • @Michael_19056
      @Michael_19056 3 дні тому

      Thanks for the question. I added a section to the repo's README to provide answers. I hope that helps.

  • @johnjones8330
    @johnjones8330 5 днів тому +1

    I’m not quite following how scalability works if the usage pattern ends up biasing a single work contract (all requests are for the same type of work) as it seems benefits come from work of different work contracts being scheduled.

    • @Michael_19056
      @Michael_19056 3 дні тому

      Thanks for the question. I added a section to the repo's README to provide answers. I hope that helps.

  • @sqeaky8190
    @sqeaky8190 3 дні тому

    "Could you imagine writing your code and queueing lines of code to be executes", bro has not done a lot in modern JS.

  • @tlacmen
    @tlacmen 5 днів тому +1

    i want to give a hint: when you cannot read the code on the slides, neither can the audience. please put less code on the slides and make it bigger. (this applies to many presentations, not just you)

    • @tlacmen
      @tlacmen 5 днів тому

      otherwise great presentation. very interesting technique. thanks ;)

    • @Michael_19056
      @Michael_19056 3 дні тому

      Noted. I'll make the font larger in the future. 😀

  • @CordyCarolyn
    @CordyCarolyn 5 днів тому

    Thanks for the breakdown! Just a quick off-topic question: I have a SafePal wallet with USDT, and I have the seed phrase. (alarm fetch churn bridge exercise tape speak race clerk couch crater letter). Could you explain how to move them to Binance?