Asynchronous Programming in Java: Options to Choose from By Venkat Subramaniam

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

КОМЕНТАРІ • 44

  • @impromp02
    @impromp02 11 місяців тому +27

    You don't need a PowerPoint when you have vim skills that impressive

  • @JRK_RIDES
    @JRK_RIDES 9 місяців тому +3

    Just amazing, I have watched so many talks by this guy and I have completed each video no matter how long. This man can make me watch programming content and learn something new for hours without any regrets.

    • @JuanGarcia-zy8yw
      @JuanGarcia-zy8yw 9 місяців тому

      Yes because he really knows the semantics .. most ppl just say a few words and start coding something incomprehensible. This man takes advanced topics and breaks them down simply

  • @surajbhattathiri
    @surajbhattathiri Рік тому +10

    King Venkat flexing his vi skills

  • @smanqele
    @smanqele Рік тому +5

    Wow, deserves far more watches. I am particularly grateful how Venkat deciphers the semantics for us behind the disjointed and unfortunate naming of functions in Java.

  • @engineering-with-sagar
    @engineering-with-sagar Місяць тому

    It was the most amazing talk I have ever seen in my life.

  • @TanweerAlam2008
    @TanweerAlam2008 Рік тому +14

    Impressive VIM skills

  • @ztrixx3280
    @ztrixx3280 11 місяців тому +1

    this is gold. Thanks VENKAT.

  • @vladyslavh3940
    @vladyslavh3940 Рік тому +4

    This presentation is so clear and inspiring! Thanks

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

    wow. Venkat. i like his style of presentation. awesome.

  • @mvmo4744
    @mvmo4744 Рік тому +27

    Venkat is carrying the java world

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

    Best Programing teacher and inspiration till now. thanks alot.

  • @joeng7424
    @joeng7424 5 місяців тому

    The most comprehensive async/concurrency introduction.

  • @costathoughts
    @costathoughts 11 місяців тому

    One of the best talks that I've watched! I really what a kind of talk comparing the Golang channel in the Java world once we
    now have the Project Loom

  • @UqabMedia
    @UqabMedia 10 місяців тому +1

    2:07:40 One thing I don't understand who executes the blocking calls? When I make Thread.sleep() on virtual threads, there must be someone who will remount it back. But which thread do this??

    • @essamal-mansouri2689
      @essamal-mansouri2689 9 місяців тому

      Imagine you have a single thread that receives a lot of jobs. This job can come with a future time, so that it won't start until X amount of time has passed. And now, that sleep will only need to schedule a task, insteaf of actually sleeping. what it does is that it schedules a "resume" task 1 second from now. Each thread has a list of tasks that it monitors or executes so there's no need for a parent supervisor to notify you to remount

  • @Anbu_Sampath
    @Anbu_Sampath Рік тому +4

    I like the qtips analogy.

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

    how does adding thread.sleep cause it to move to a different thread? 52:00

    • @Derrick-f8m
      @Derrick-f8m Рік тому +5

      Since sleeping is a blocking operation, the Thread Scheduler does not want the other threads to die of starvation. So the Thread Scheduler allows another Thread to get some CPU time while the current thread sleeps. Now in the context of virtual threads, the sleeping thread will be unmounted from the platform thread (or carrier thread) so that another virtual thread can mount to that platform thread and do work until that sleeping thread wakes up. The sleeping thread is placed in Heap memory while it sleeps. When the sleeping thread wakes up, it will be picked up by another carrier thread to continue its execution.

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

    Great, Weaved the contents like a 'sugaran'.

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

    I tried shown example with JDK 21, but seems newFixedThreadPool and newVirtualThreadPerTaskExecutor works the same way... any idea?

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

    So Clear.

  • @VijayJayaram-yr7pn
    @VijayJayaram-yr7pn 11 місяців тому

    Java was adopted by Sir Venkat Subramaniam looong back😂😂😂
    one of the reasons why Java shines is because of Sir Venkat Subramaniam.
    🎉🎉🎉

  • @nmodin
    @nmodin Рік тому +3

    Really nice presentation!
    Super silly question though, what's the scratchpad-ish tool used for coding the examples?

    • @snehasishroy39
      @snehasishroy39 Рік тому +3

      It's a terminal -- he is using VIM to code/run all the examples in a a terminal

  • @sujithps1
    @sujithps1 4 місяці тому

    Happiness is listening to Venkat at 2x speed 😅

  • @RobsonCassianoSoftware
    @RobsonCassianoSoftware Рік тому +4

    Great presentation, thanks

    • @Dram-jn5nw
      @Dram-jn5nw Рік тому +2

      2 hours 39 min of video, you raised comment 30 min after publication, how did you watch whole presentation?

    • @georgeshalvashvili6270
      @georgeshalvashvili6270 Рік тому +3

      He was listening at 5x speed

    • @kurkhulcomb8994
      @kurkhulcomb8994 Рік тому +10

      parallel viewing, did you learn nothing?

    • @georgeshalvashvili6270
      @georgeshalvashvili6270 Рік тому +8

      @@kurkhulcomb8994 Asynchronous viewing

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

      @@Dram-jn5nw It's because I've been watching his presentations for so many years, so I don't need to see every second of it to give a compliment.

  • @sampleshawn5380
    @sampleshawn5380 11 місяців тому +2

    Nan(i.e. Indian bread), this was nice XD

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

    TIL I'm a thread

  • @andherium
    @andherium Рік тому +3

    Is this a java channel? Why’re most videos about Java?

    • @ankeshkapil3129
      @ankeshkapil3129 Рік тому +8

      maybe because java is most popular for high level application development.

    • @KrisVerbeeck
      @KrisVerbeeck Рік тому +34

      Devoxx is a Java conference

    • @user-jw8jn7lh8c
      @user-jw8jn7lh8c Рік тому

      @@KrisVerbeeckexactly what they want you to think. its actually a entry organization to javascript

  • @giantbush4258
    @giantbush4258 11 місяців тому

    Nice shoes or are those socks?

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

    I’m really tired of all these addicted people starting a talk about their addiction, coffee is a drug, how about finding some other examples while you go to a rehab?

  • @CenturionDobrius
    @CenturionDobrius 5 місяців тому

    Funny moments 😂
    23:51
    1:08:49
    1:25:56
    1:39:00