Thinking In Parallel by Stuart Marks and Brian Goetz

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ส.ค. 2024
  • The Java 8 Streams library makes it easy to run code in parallel. A common error is code that works when run sequentially but that misbehaves when run in parallel. This is often caused by programmers who are stuck in a mode of imperative, left-to-right thinking. This leads to an iterative style where data is mutated, and where the next result depends on the result of the previous computation, creating barriers to parallel computation. This presentation covers alternative programming technique called "array programming," where operations are applied on data aggregates instead of individual elements. It also includes examples and demonstrations that illustrate these techniques and how they lead easier-to-understand, parallel-ready code.
    Stuart Marks is a Principal Member of Technical Staff in the Java Platform Group at Oracle. He is currently working on a variety of JDK core libraries projects, including Collections, Lambda, and Streams, as well as improving test quality and performance. As his alter ego "Dr Deprecator" he also works on the Java SE deprecation mechanism. He has previously worked on JavaFX and Java ME at Sun Microsystems. He has over twenty years of software platform product development experience in the areas of window systems, interactive graphics, and mobile and embedded systems. Stuart holds a Master's degree in Computer Science and a Bachelor's degree in Electrical Engineering from Stanford University.
    Brian Goetz is the Java Language Architect at Oracle, and was the specification lead for JSR-335 (Lambda Expressions for the Java Programming Language.) He is the author of the best-selling Java Concurrency in Practice, as well as over 75 articles on Java development, and has been fascinated by programming since Jimmy Carter was President.
    [VNH-8902]
  • วิทยาศาสตร์และเทคโนโลยี

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

  • @s888marks
    @s888marks 7 ปีที่แล้ว +8

    Link to the Stack Overflow question from the first half of the talk:
    stackoverflow.com/a/29111023/1441122
    Stuart Marks

  • @tomlewis9117
    @tomlewis9117 6 หลายเดือนก่อน

    At 12:00 coding solution might not work properly in case if there are continuous # symbol. Resulting List will contain empty sub lists in the output list. One more check can be added for this 0 size sublist, if yes it should be discarded from the output List.

  • @SiddharthKulkarniN
    @SiddharthKulkarniN 7 ปีที่แล้ว +2

    How do we calculate the Q in NQ problem?

    • @SiddharthKulkarniN
      @SiddharthKulkarniN 7 ปีที่แล้ว +1

      Ok, Brian does answer that question in the final Q&A. It's a problem dependant unit.

  • @USONOFAV
    @USONOFAV 4 ปีที่แล้ว

    12:00 is a TopCoder kind of problem

  • @sameerahmadshaik
    @sameerahmadshaik 7 ปีที่แล้ว +3

    Didn't quit understand that joke on venkat at the beginning of the video.

    • @DaleHEmery
      @DaleHEmery 5 ปีที่แล้ว +7

      Johnybasha Shaik I think it was a comment on Venkat’s popularity. If Venkat were speaking at the same time in another room, everyone would be there, and this room would be empty.