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

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

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

  • @kauegatto
    @kauegatto 6 หลายเดือนก่อน +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.

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

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

  • @itsnaveen007
    @itsnaveen007 4 ปีที่แล้ว +2

    very informative talk

  • @aviadshiber6232
    @aviadshiber6232 4 ปีที่แล้ว +1

    Amazing talk!

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

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

    Are Kotlin Flows a high level concurrency model?

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

  • @adityaparikh9544
    @adityaparikh9544 3 ปีที่แล้ว

    How is flow different from Reactive Programming Mono & Flux?