Coroutines Beyond Concurrency by Alex Semin

Поділитися
Вставка
  • Опубліковано 25 жов 2024

КОМЕНТАРІ • 9

  • @guai9632
    @guai9632 10 місяців тому

    parser combinator looks cool af

  • @rogeralien
    @rogeralien Рік тому

    Thank you so much for this video! It was super useful! 🙏

  • @ferg
    @ferg Рік тому +1

    Great talk!

  • @forest__fires
    @forest__fires 10 місяців тому

    Hi @Kotlin by JetBrains,
    Glad to reach you!
    I really excited about Coroutines. In that, I'm having one confusion. it's very crucial for me please let me clarify in it.
    If I'm having the CoroutinesScope(Dispatures.Main) and inside that I'm launching 1000 coroutines. in that case its really can archive the 1000 concurrency?
    The cause of the question is, anyway the UI Thread always runs in the Manner of sequentially right. then how it really archive or update to the UI in parallel manner?

    • @Mike_x64
      @Mike_x64 8 місяців тому +1

      Asynchrony does not necessarily mean parallelism. Dispatchers.Main is single-threaded, hence, your coroutines gonna run sequentially: one suspends or finishes-the other one starts or resumes.

  • @Maarttttt
    @Maarttttt Рік тому

    Can someone explain what the added value is of using the coroutines mechanism in the parsing library? I could not really understand this portion. Is it more efficient? Good talk overall.

    • @ChrisB_Crisps
      @ChrisB_Crisps Рік тому

      I guess the idea was to use coroutines while also avoiding exhausting compute resources when parsing and keeping the symbols. But is not clear to me if that was intended too in the presentation.

  • @avc8484
    @avc8484 Рік тому +2

    I have been working as android developer for more than 6 years. but working on kotlin for architectural changes feel very complex. Any suggestions for books or sources?

    • @ChrisB_Crisps
      @ChrisB_Crisps Рік тому

      One option is looking for open source applications and collaborating to the project to learn to do things in a different way.