Thinking In Parallel by Stuart Marks and Brian Goetz

Ғылым және технология

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
    @s888marks7 жыл бұрын

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

  • @tomlewis9117
    @tomlewis91176 ай бұрын

    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
    @SiddharthKulkarniN7 жыл бұрын

    How do we calculate the Q in NQ problem?

  • @SiddharthKulkarniN

    @SiddharthKulkarniN

    7 жыл бұрын

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

  • @USONOFAV
    @USONOFAV4 жыл бұрын

    12:00 is a TopCoder kind of problem

  • @sameerahmadshaik
    @sameerahmadshaik7 жыл бұрын

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

  • @DaleHEmery

    @DaleHEmery

    5 жыл бұрын

    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.

Келесі