Are You Using Java's Parallel Streams Correctly? - Java Programming

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 ธ.ค. 2023
  • In this video, we'll cover the differences between sequential and parallel streams in Java as part of Java's Stream API. Parallel streams use Java's fork join framework and require some extra overhead to achieve parallelization but can be useful in some situations. Here are the main methods we'll cover:
    parallel()
    sequential()
    isParallel()
    stream()
    parallelStream()
    Do you think you're using them correctly? Hope you like the video!
    My name is Will Tollefson! I'm here to teach you key skills that will help you land your first programming job or stay current and competitive for those promotions in your current job. Subscribe to my channel and I'll help you grow in your programming skills, and make your career soar!
    Join me to learn computer programming in an easy to learn way, with a teacher who isn't talking over your head. Or sounds like this. But instead explains things in a way you can understand.
    I'm a software engineer in industry who has been coding for over a decade now and my motto is Never Stop Learning. I can give you insight into skills that employers actually care about as in addition to being a programmer I also have hired software engineers.
    Ring that notification bell so you never miss fresh content that just might help you with your current programming bug.
    I have experience with various types of programming such as mobile phone apps, scientific computational modeling, and embedded communications systems, to name a few, and I've worked on teams ranging from one to over one hundred programmers.
    The content I'm offering you is free, self paced, and practical for computer programming jobs. I'll teach you skills you need to be competitive.
    Let's dive into programming concepts like algorithms and data structures that are mostly language agnostic.
    If you've got ideas of topics or a programming dilemma you want me to cover, drop me a comment! I'll be efficient with your time so without further ado, let's get to it!

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

  • @malloryranae8069
    @malloryranae8069 7 หลายเดือนก่อน +6

    Thanks for the covering the parallel streams API!

    • @willtollefson
      @willtollefson  7 หลายเดือนก่อน +3

      You're welcome - I thought it was time to cover this after having a couple videos on the stream API but not mentioning this specifically!

  • @deepakswami7742
    @deepakswami7742 7 หลายเดือนก่อน +5

    Keep up with such good stuff, thanks

    • @willtollefson
      @willtollefson  7 หลายเดือนก่อน +1

      Thanks, will do!

  • @DenaTollefson
    @DenaTollefson 7 หลายเดือนก่อน +5

    Excellent tutorial on parallel streams, Will! 🤗

    • @willtollefson
      @willtollefson  7 หลายเดือนก่อน +3

      Thanks, glad you liked it!

  • @fzycold8652
    @fzycold8652 6 หลายเดือนก่อน +3

    Clear and detailed explanation. Thank you !

    • @willtollefson
      @willtollefson  6 หลายเดือนก่อน +1

      You are welcome!

  • @wandiletshabalala5706
    @wandiletshabalala5706 4 หลายเดือนก่อน +2

    Nice Explanation thanks!

    • @willtollefson
      @willtollefson  4 หลายเดือนก่อน +1

      You're welcome!

  • @ajaybiswal1
    @ajaybiswal1 3 หลายเดือนก่อน +1

    Nice way of explaining..I subcribed to your channel. Please make videos on multithreading in java. with various approach

    • @willtollefson
      @willtollefson  3 หลายเดือนก่อน

      Thanks for subscribing! Here are some of the videos specifically related to Java multi-threading that I have as of now:
      High level multi-threading and Runnable vs Thread: th-cam.com/video/G1RekXYKOqg/w-d-xo.html
      Volatile vs atomic variables: th-cam.com/video/31s_DzrkqZc/w-d-xo.html
      Semaphores: th-cam.com/video/g19pjkJyGEU/w-d-xo.html
      JDK 21 virtual threads: th-cam.com/video/aXGrR8Q9_ak/w-d-xo.html
      JDK 21 structured concurrency: th-cam.com/video/9O7ukS-DHV0/w-d-xo.html
      JDK 22 scoped values: th-cam.com/video/Vi_Unj-I3BU/w-d-xo.html
      Hope this helps!

  • @lucap3741
    @lucap3741 23 วันที่ผ่านมา +2

    hey man really nice teeth

    • @willtollefson
      @willtollefson  22 วันที่ผ่านมา +1

      Thanks! When I see my dentist in a few months I'll be sure to thank him :)