Server-side Kotlin with Coroutines • Roman Elizarov • GOTO 2019

Поделиться
HTML-код
  • Опубликовано: 19 окт 2024
  • НаукаНаука

Комментарии • 13

  • @kauegatto
    @kauegatto 5 месяцев назад +1

    Excellent talk, tysm

  • @arhyth
    @arhyth 5 лет назад +4

    question from an outsider POV, neither Java nor Kotlin developer here: why not go further and move the burden of managing threads away from the programmer to the runtime. the runtime can dynamically allocate threads as needed instead of being configured (at compile time, i assume) by the programmer.

    • @arhyth
      @arhyth 5 лет назад +4

      by the way, i'm a fan of suspending functions. great work. very clear API.

    • @JillesvanGurp
      @JillesvanGurp 5 лет назад +3

      That's pretty much what happens if you use one of the built in dispatchers. You can override the thread configuration for that but you don't have to.

  • @itsnaveen007
    @itsnaveen007 4 года назад +2

    very informative talk

  • @aviadshiber6232
    @aviadshiber6232 4 года назад +1

    Amazing talk!

  • @pixelPlex
    @pixelPlex 5 лет назад +1

    Are Kotlin Flows a high level concurrency model?

  • @robchr
    @robchr 5 лет назад +4

    So map and flatMap is bad unless you use a flowable?

    • @coroutinedispatcher
      @coroutinedispatcher 5 лет назад +3

      Since the Flowable handles backpressure then your statement is super correct without the question mark.

  • @samferrer
    @samferrer 5 лет назад +6

    Well, in the good old scary days you used fork ...

  • @adityaparikh9544
    @adityaparikh9544 3 года назад

    How is flow different from Reactive Programming Mono & Flux?

  • @samferrer
    @samferrer 5 лет назад +1

    36:54 ... why not call it "transaction" instead of "coroutineScope"?

    • @pixelPlex
      @pixelPlex 5 лет назад +3

      With CoroutineScope it is a code block (a lambda with a scope) that one or more Coroutines run in that manages resources. Doesn't make sense to call it a transaction since scopes are involved.