JSR 335: Project Lambda. François Sarradin -- Xebia

Size: px
Start display at page:

Download "JSR 335: Project Lambda. François Sarradin -- Xebia"

Transcription

1 λ JSR 335: Project Lambda François Sarradin -- Xebia

2 Java Roadmap Java 7 jul JSR Java 8 aug Java 9? Modularity Performance Productivity FP / Parallel comp. Date API improv. Type annotation Compact profiles Nashorn

3 Project Lambda What's in it? Project Lambda JSR335 Lambda Expression Functional API Collection API Parallel Collections Virtual Extension Method Collection API Bulk Operations

4 Question What will be the impact of Project Lambda on the Java world?

5 Answer Look at Speed Car!

6 Planning... Presentation + live coding (free to interrupt) Genesis Lambda of Java Project Lambda

7 ...And Then Debate Retrospective (agile style!) Report Xebia blog Project Lambda ML

8 Genesis

9 More Processors

10 More Expressiveness More Readability 结果 汉字 = new 物().処理(); vs. fact n = product [1..n] Is it all Chinese to you?

11 FP & Competition Clojure C++ C# / F# Guava

12 (Anonymous) Inner Class A λ Solution Iterables.filter(persons, new Predicate<Person>() public boolean apply(person person) { return person.getage() >= 18; } }); // Java + Guava

13 (Anonymous) Inner Class A (better?) λ Solution Iterables.filter(persons, IS_ADULT); Predicate<Person> IS_ADULT = new Predicate<Person>() public boolean apply(person person) { return person.getage() >= 18; } }); This is what you really need!

14 (Anonymous) Inner Class (Not Really) A λ Solution "The pain of anonymous inner classes makes us roll our eyes in the back of our heads every day." (a wise Oracle's client, 01/2011) Average length of Java one-liner is /09/2011

15 What about Oracle? "It s time to add closures to Java" (Mark Reinhold, 12/2009) "Oracle's position is that Java must evolve -- carefully, of course -- in order to remain competitive." (Brian Goetz - 08/2011)

16 Lambda of Java

17 Here is the λ! (int x, int y) -> { return x + y; } (x, y) -> { return x + y; } (int x, int y) -> x + y (x, y) -> x + y

18 Other λ forms x -> 2 * x () -> 42 m } -> { m.put("france", "Paris"); m.put("uk", "London"); m.put("usa", "Washington");

19 Inner Class vs. λ Solution Iterables.filter(persons, new Predicate<Person>() public boolean apply(person p) { return p.getage() >= 18; } }); // Java Guava Iterables.filter(persons, // Java 8 + Guava p -> p.getage() >= 18);

20 Method Reference String::valueOf // like: v -> String.valueOf(v) Integer::compare // like: (i1, i2) -> Integer.compare(i1, i2) Arrays.sort(myInts, Integer::compare)

21 Virtual Extension Method (VEM) interface Message { String getmessage() default { return "Look Ma'! Interface with code!"; } }

22 VEM Motivation VEM eg. Collection API Help to extend existing APIs Minimize rewrite of existing API implementation eg. Hibernate Collection Implementation

23 Collection API Extended java.util.functions.* java.util.streams.* Extension of Iterable, Iterator, Collection, Map,... java.util.optional

24 Parallel Computing As Easy as 1-2-3? mycollection.stream().filter(x ->...).map(x ->...).reduce((x, y) ->...) // sequential mycollection.parallel().filter(x ->...).map(x ->...).reduce((x, y) ->...) // parallel

25 Some kata and demos...

26 Project Lambda

27 The Dream Team ;)

28 Web Sites JSR335 OpenJDK 8 Web site

29 Where to Get Java 8 Java SE 8 Early Access (with lambda) Mercurial repo

30 Mailing Lists Technical Discussion Libs Spec Discussion Spec Discussion

31 Around Project Lambda OpenJDK OSX Build (7 & 8) H. Gomez Java 8 vs Scala: a Feature Comparison S. van den Berg U. Peter

32 Around Project Lambda In France JDK 8: lambdas in Action [FR] com/display/fr12/jdk+8+demo++lambdas+in +Action O. Croisier G. Tardif Java 8 et les Lambda [FR] post/2012/05/30/java-8-et-les-lambda Curious about Project Lambda ;) [FR] Guess Who?

33 Project Lambda and the Community Transparency Presentations / Publications Source code available Early testing by community Pre-version available AdoptOpenJDK ( net/projects/adoptopenjdk/pages/adoptopenjdk) Quick feedback ML, Hackdays

34 Question Oneliner, Readability, and Debugability Java vs. Competitors What to do for Java 8 to be adopted in projects? Is there a future for Java?

Copyright 2012, Oracle and/or its affiliates. All rights reserved.

Copyright 2012, Oracle and/or its affiliates. All rights reserved. 1 Jump-Starting Lambda Stuart Marks @stuartmarks Mike Duigou @mjduigou Oracle JDK Core Libraries Team 2 What is Lambda? Essentially an anonymous function allows one to treat code as data provides parameterization

More information

Free your Lambdas Java SE 8

Free your Lambdas Java SE 8 Free your Lambdas Java SE 8 Agenda Tutorial session: we will start at the very beginning! and explore how to build functional interfaces to design new APIs This is about lambdas and functional interfaces

More information

The OpenJDK Project Past And Present

The OpenJDK Project Past And Present The OpenJDK Project Past And Present Red Hat Open Source Java Team March 2014 1 Agenda What Is the OpenJDK Project? How Is It Run? How Can I Contribute? Where Now and Next? 2 Agenda What Is the OpenJDK

More information

Making The Future Java

Making The Future Java Making The Future Java Dalibor Topić (@robilad) Principal Product Manager October 18th, 2013 - HrOUG, Rovinj 1 The following is intended to outline our general product direction. It is intended for information

More information

Agenda Time (PT) 8:45 a.m. Event Platform Opening 9:00 a.m. Keynote - Java: Present and Future Java EE 7 Java SE 8 Java Embedded

Agenda Time (PT) 8:45 a.m. Event Platform Opening 9:00 a.m. Keynote - Java: Present and Future Java EE 7 Java SE 8 Java Embedded Virtual Developer Day: Java 2014 May 6 th 9:00 a.m. - 1:00 p.m. PDT / 12:00 p.m. - 4:00 p.m. EDT / 1:00 p.m. 5:00 p.m. BRT Agenda Time (PT) 8:45 a.m. Event Platform Opening 9:00 a.m. Keynote - Java: Present

More information

Eclipse and Java 8. Daniel Megert Platform and JDT Lead Eclipse PMC Member IBM Rational Zurich Research Lab

Eclipse and Java 8. Daniel Megert Platform and JDT Lead Eclipse PMC Member IBM Rational Zurich Research Lab Eclipse and Java 8 Daniel Megert Platform and JDT Lead Eclipse PMC Member IBM Rational Zurich Research Lab Eclipse and Java 8 New Java language features Eclipse features for Java 8 (demo) Behind the scenes

More information

Wednesday, May 30, 12

Wednesday, May 30, 12 JDK 7 Updates in OpenJDK LinuxTag, May 23rd 2012 Dalibor Topić (@robilad) Principal Product Manager The following is intended to outline our general product direction. It is intended

More information

Java SE 8 New Features

Java SE 8 New Features Java SE 8 New Features Duration 2 Days What you will learn This Java SE 8 New Features training delves into the major changes and enhancements in Oracle Java SE 8. You'll focus on developing an understanding

More information

<Insert Picture Here> Implementing lambda expressions in Java

<Insert Picture Here> Implementing lambda expressions in Java Implementing lambda expressions in Java Brian Goetz Java Language Architect Adding lambda expressions to Java In adding lambda expressions to Java, the obvious question is: what is

More information

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

Copyright 2014, Oracle and/or its affiliates. All rights reserved. 1 Introduction to Lambda Stuart W. Marks Principal Member of Technical Staff Oracle JDK Core Libraries Team Twitter: @stuartmarks What is a Lambda? A lambda is a function. A function is a computation that

More information

Functional Programming

Functional Programming The Meta Language (ML) and Functional Programming Daniel S. Fava danielsf@ifi.uio.no Department of informatics University of Oslo, Norway Motivation ML Demo Which programming languages are functional?

More information

OpenJDK Adoption Group

OpenJDK Adoption Group OpenJDK Adoption Group Dalibor Topić OpenJDK Adoption Group Lead Principal Product Manager Java Platform Group @ Oracle June 13th, 2017 @ JCP EC Safe Harbor Statement The following is intended to outline

More information

Java SE 8 Overview. Simon Ritter Head of Java Technology Evangelism.

Java SE 8 Overview. Simon Ritter Head of Java Technology Evangelism. Java SE 8 Overview Simon Ritter Head of Java Technology Evangelism Twitter: @speakjava Java SE 8 (JSR 337) Component JSRs New functionality JSR 308: Annotations on types JSR 310: Date and Time API JSR

More information

LAMBDA EXPRESSIONS AND STREAMS API

LAMBDA EXPRESSIONS AND STREAMS API Java 8 LAMBDA EXPRESSIONS AND STREAMS API An Introduction Methods As Data 2 @FunctionalInterface public interface Runnable { public abstract void run(); public interface ActionListener extends EventListener

More information

<Insert Picture Here> JSR-335 Update for JCP EC Meeting, January 2012

<Insert Picture Here> JSR-335 Update for JCP EC Meeting, January 2012 JSR-335 Update for JCP EC Meeting, January 2012 Alex Buckley Oracle Corporation The following is intended to outline our general product direction. It is intended for information

More information

Java SE 8: Lambda Expressions And The Stream API

Java SE 8: Lambda Expressions And The Stream API Java SE 8: Lambda Expressions And The Stream API Simon Ritter Head of Java Technology Evangelism Java Product Management Java Day Tokyo 2015 April 8, 2015 Safe Harbor Statement The following is intended

More information

<Insert Picture Here> OpenJDK - When And How To Contribute To The Java SE Reference Implementation OSCON 2011, July 26th, 2011

<Insert Picture Here> OpenJDK - When And How To Contribute To The Java SE Reference Implementation OSCON 2011, July 26th, 2011 OpenJDK - When And How To Contribute To The Java SE Reference Implementation OSCON 2011, July 26th, 2011 Dalibor Topić Java F/OSS Ambassador The following is intended to outline our

More information

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Copyright 2013, Oracle and/or its affiliates. All rights reserved. 1 Lambda: A peek under the hood Brian Goetz Java Language Architect, Oracle 2 The following is intended to outline our general product direction. It is intended for information purposes only, and may not

More information

<Insert Picture Here> Project Lambda: To Multicore and Beyond

<Insert Picture Here> Project Lambda: To Multicore and Beyond Project Lambda: To Multicore and Beyond Brian Goetz Java Language Architect, Oracle Corporation The following is intended to outline our general product direction. It is intended

More information

Oracle Corporation

Oracle Corporation 1 2011 Oracle Corporation Making heads and tails of Project Coin, Small language changes in JDK 7 Joseph D. Darcy Presenting with LOGO 2 2011 Oracle Corporation Project Coin is a suite of language and

More information

From Java EE to Jakarta EE. A user experience

From Java EE to Jakarta EE. A user experience From Java EE to Jakarta EE A user experience A few words about me blog.worldline.tech @jefrajames Speaker me = SpeakerOf.setLastName( James ).setfirstname( Jean-François ).setbackgroundinyears(32).setmindset(

More information

Advanced Modular Development CON6821

Advanced Modular Development CON6821 Advanced Modular Development CON6821 Mark Reinhold, Alex Buckley, Alan Bateman Java Platform Group, Oracle October 2015 Copyright 2015, Oracle and/or its affiliates. All rights reserved. Sessions 1 2 3

More information

New Features in Java 8

New Features in Java 8 New Features in Java 8 Lambda expressions Functional interfaces Streaming support for Collections Lambda expressions Are a block of java code with parameters Can be assigned to variables Can be executed

More information

Introducing Scala-like function types into Java-TX

Introducing Scala-like function types into Java-TX Introducing Scala-like function types into Java-TX ManLang 2017 Martin Plümicke Andreas Stadelmeier www.dhbw-stuttgart.de/horb Overview 1 Type of lambda expressions in Java-8 2 Introducing real function

More information

Java SE 8 Programming

Java SE 8 Programming Oracle University Contact Us: +52 1 55 8525 3225 Java SE 8 Programming Duration: 5 Days What you will learn This Java SE 8 Programming training covers the core language features and Application Programming

More information

<Insert Picture Here> To Java SE 8, and Beyond!

<Insert Picture Here> To Java SE 8, and Beyond! To Java SE 8, and Beyond! Simon Ritter Technology Evangelist The following is intended to outline our general product direction. It is intended for information purposes only, and

More information

Java Workshop Lambda Expressions

Java Workshop Lambda Expressions Java Workshop Lambda Expressions AP Java Workshop 2015 Hanno Hüther and Martin Stein Agenda 1. Origin and syntax 2. History and motivation 3. Exercise 1: Refactoring to lambdas 4. Method references 5.

More information

Project Lambda in Java SE 8

Project Lambda in Java SE 8 Project Lambda in Java SE 8 Daniel Smith Java Language Designer 1 The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated

More information

<Insert Picture Here> Evolving Java Project Lambda, and Beyond

<Insert Picture Here> Evolving Java Project Lambda, and Beyond Evolving Java Project Lambda, and Beyond Brian Goetz Java Language Architect Oracle Corporation The following is intended to outline our general product direction. It is intended

More information

Evolving Java. Brian Goetz Java Language Architect, Oracle. Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Evolving Java. Brian Goetz Java Language Architect, Oracle. Copyright 2013, Oracle and/or its affiliates. All rights reserved. Evolving Java Brian Goetz (@BrianGoetz) Java Language Architect, Oracle 1 The following is intended to outline our general product direction. It is intended for information purposes only, and may not be

More information

Refactoring to Java X

Refactoring to Java X Refactoring to Java X Refactoring to Java X Reinier Zwitserloot Roel Spilker The boilerplate busters Java X The new language features Feature I Feature II Feature III Feature IV Java X The new language

More information

<Insert Picture Here> Java Virtual Developer Day

<Insert Picture Here> Java Virtual Developer Day 1 Java Virtual Developer Day Simon Ritter Technology Evangelist Virtual Developer Day: Agenda Keynote: The Java Platform: Now and the Future What is Java SE 7 and JDK 7 Diving into

More information

Enterprise Java in 2012 and Beyond From Java EE 6 To Cloud Computing

Enterprise Java in 2012 and Beyond From Java EE 6 To Cloud Computing Enterprise Java in 2012 and Beyond From Java EE 6 To Cloud Computing Jürgen Höller, Principal Engineer, SpringSource 2012 SpringSource, A division of VMware. All rights reserved Deployment Platforms: Becoming

More information

Java SE 8 Programming

Java SE 8 Programming Oracle University Contact Us: Local: 1800 103 4775 Intl: +91 80 67863102 Java SE 8 Programming Duration: 5 Days What you will learn This Java SE 8 Programming training covers the core language features

More information

<Insert Picture Here> Project Lambda: To Multicore and Beyond

<Insert Picture Here> Project Lambda: To Multicore and Beyond Project Lambda: To Multicore and Beyond Brian Goetz Alex Buckley Maurizio Cimadamore Java Platform Group The following is intended to outline our general product direction. It is

More information

CSC301. Serialization & Persistence. CSC301, Winter 2016

CSC301. Serialization & Persistence. CSC301, Winter 2016 CSC301 Serialization & Persistence CSC301, Winter 2016 Where does the data live? Most work is done in multiple sessions. You expect to be able to open files that you previously saved. You expect your desktop

More information

Advanced Programming Methods. Lecture 4 - Functional Programming in Java

Advanced Programming Methods. Lecture 4 - Functional Programming in Java Advanced Programming Methods Lecture 4 - Functional Programming in Java Important Announcement: At Seminar 6 (7-13 November 2017) you will have a closed-book test (based on your laboratory work). Overview

More information

JCP Training: General Session. 5 May 2008 JavaOne - San Francisco Harold Ogle

JCP Training: General Session. 5 May 2008 JavaOne - San Francisco Harold Ogle JCP Training: General Session 5 May 2008 JavaOne - San Francisco Harold Ogle Overview What is the JCP? JCP Versions Types of Participation JSR Timeline Using the site Q&A 2 Confidential 2006 Sun Microsystems

More information

Quick start. Robert Bachmann & Dominik Dorn. JSUG Meeting #63

Quick start. Robert Bachmann & Dominik Dorn. JSUG Meeting #63 1.. Java 8 Quick start Robert Bachmann & Dominik Dorn JSUG Meeting #63 Outline: What s new in Java 8 2 Interface additions and lambda syntax (r) Library additions (r) Nashorn (d) Type annotations (d) VM

More information

JCP 2.8 Progress Report Public EC Meeting. Heather VanCura 20 November 2012

JCP 2.8 Progress Report Public EC Meeting. Heather VanCura  20 November 2012 JCP 2.8 Progress Report Public EC Meeting Heather VanCura heather@jcp.org http://jcp.org 20 November 2012 1 Putting the community back into the JCP No more barriers to participation. All members of the

More information

JVA-103. Java Programming

JVA-103. Java Programming JVA-103. Java Programming Version 8.0 This course teaches programming in the Java language -- i.e. the Java Standard Edition platform. It is intended for programmers with experience in languages other

More information

Lambda Expressions and Java 8 Streams. Jan Trienes, adapted by Th. Dorssers, Pieter van den Hombergh. Contents of this talk.

Lambda Expressions and Java 8 Streams. Jan Trienes, adapted by Th. Dorssers, Pieter van den Hombergh. Contents of this talk. Java 8 s and Java 8 van den Hombergh Fontys Hogeschool voor Techniek en Logistiek February 23, 2017 and /FHTenL s and Java 8 February 23, 2017 1/28 talk Expression and Internal/External Iteration Java

More information

Lambdas, Default Methods and Bulk Data Operations by Anton Arhipov. All rights reserved ZeroTurnaround OÜ

Lambdas, Default Methods and Bulk Data Operations by Anton Arhipov. All rights reserved ZeroTurnaround OÜ Java 8 Revealed Lambdas, Default Methods and Bulk Data Operations by Anton Arhipov 1 Table of contents Introduction to Java 8 1-2 Part I Lambdas in Java 8 3-10 Part Ii Default Methods 12-15 Part iii Bulk

More information

The Road To Java 8 Day, EclipseCon Alex Buckley, Oracle

The Road To Java 8 Day, EclipseCon Alex Buckley, Oracle The Road To Lambda @ Java 8 Day, EclipseCon 2014 Alex Buckley, Oracle lambda-dev@openjdk.java.net 1 2 Modernizing Java Java SE 8 is a big step forward for the Java Language Lambda Expressions for better

More information

ArcGIS Runtime SDK for Java: Building Apps. Mark Baird

ArcGIS Runtime SDK for Java: Building Apps. Mark Baird ArcGIS Runtime SDK for Java: Building Apps Mark Baird Agenda Getting started with 100.4 JavaFX Base maps, layers and lambdas Graphics overlays Offline data Licensing and deployment What is happening in

More information

Lambdas in Java 8. Start programming in a more functional style

Lambdas in Java 8. Start programming in a more functional style Lambdas in Java 8 Start programming in a more functional style Background Who am I? Tobias Coetzee I m a Technical Lead at BBD I present the Java Expert Level Certifications at BBD (EJB, JPA, etc.) I m

More information

HOW WE MOVED FROM JAVA TO SCALA

HOW WE MOVED FROM JAVA TO SCALA HOW WE MOVED FROM JAVA TO SCALA Graham Tackley guardian.co.uk @tackers mostly HOW WE MOVED FROM ^ JAVA TO SCALA Graham Tackley guardian.co.uk @tackers History Java shop since 2006 guardian.co.uk: java

More information

CPSC 444 Project Milestone III: Prototyping & Experiment Design Feb 6, 2018

CPSC 444 Project Milestone III: Prototyping & Experiment Design Feb 6, 2018 CPSC 444 Project Milestone III: Prototyping & Experiment Design Feb 6, 2018 OVERVIEW... 2 SUMMARY OF MILESTONE III DELIVERABLES... 2 1. Blog Update #3 - Low-fidelity Prototyping & Cognitive Walkthrough,

More information

Title Slide with Java FY15 Theme

Title Slide with Java FY15 Theme Title Slide with Java FY15 Theme Das Oracle JDK 8 breitet sich aus Subtitle Presenter s Name Presenter s Title Organization, Division or Business Unit Month 00, 2014 Wolfgang Weigend Peter Doschkinow Note:

More information

Community Participation in the JCP Program: a winning combination November 2012

Community Participation in the JCP Program: a winning combination  November 2012 1 Community Participation in the JCP Program: a winning combination heather@jcp.org http://jcp.org November 2012 JCP.next.1 (JSR 348) JCP 2.8, implemented in October 2011 Three themes aimed at: Transparency

More information

Advanced Modular Development

Advanced Modular Development Advanced Modular Development Alan Bateman Alex Buckley Java Platform Group, Oracle September 2016 Copyright 2016, Oracle and/or its affiliates. All rights reserved. Sessions 1 2 3 4 5 Prepare for JDK 9

More information

Programming Systems in Artificial Intelligence Functional Programming

Programming Systems in Artificial Intelligence Functional Programming Click to add Text Programming Systems in Artificial Intelligence Functional Programming Siegfried Nijssen 8/03/16 Discover thediscover world at the Leiden world University at Leiden University Overview

More information

Building Vaadin Applications With Pure Scala

Building Vaadin Applications With Pure Scala Building Vaadin Applications With Pure Scala Henri Kerola Vaadin Expert at Vaadin Ltd ? Vaadin is a UI framework for rich web applications java html Internet Explorer Chrome Firefox Safari Opera

More information

Evolving Java. Brian Goetz Java Language Architect, Oracle. Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Evolving Java. Brian Goetz Java Language Architect, Oracle. Copyright 2013, Oracle and/or its affiliates. All rights reserved. Evolving Java Brian Goetz Java Language Architect, Oracle 1 The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated

More information

Java SE 8 Programming

Java SE 8 Programming Java SE 8 Programming Training Calendar Date Training Time Location 16 September 2019 5 Days Bilginç IT Academy 28 October 2019 5 Days Bilginç IT Academy Training Details Training Time : 5 Days Capacity

More information

CO Java SE 8: Fundamentals

CO Java SE 8: Fundamentals CO-83527 Java SE 8: Fundamentals Summary Duration 5 Days Audience Application Developer, Developer, Project Manager, Systems Administrator, Technical Administrator, Technical Consultant and Web Administrator

More information

Equivalent Notations. Higher-Order Functions. (define (f x y) ( body )) = (define f (lambda (x y) ) ) Anonymous Functions.

Equivalent Notations. Higher-Order Functions. (define (f x y) ( body )) = (define f (lambda (x y) ) ) Anonymous Functions. Equivalent Notations Higher-Order Functions cs480 (Prasad L156HOF 1 (define (f x y ( body = (define f (lambda (x y ( body cs480 (Prasad L156HOF 2 Function Values (define tag (lambda (t l (cons t l (tag

More information

JCP State of the Nation FOSDEM 2013

JCP State of the Nation FOSDEM 2013 JCP State of the Nation FOSDEM 2013 Heather VanCura (JCP), Martijn Verburg (LJC) @jcp_org http://jcp.org 1 February 2013 2 Beer Chocolate 3 WHO/FAO: Codex Alimentarius Official Standard for Chocolate 4

More information

Retro Gaming With Lambdas. Stephen Chin Java Technology Ambassador JavaOne Content Chair

Retro Gaming With Lambdas. Stephen Chin Java Technology Ambassador JavaOne Content Chair Retro Gaming With Lambdas Stephen Chin (@steveonjava) Java Technology Ambassador JavaOne Content Chair JDK 8 Feature Overview Innovation Lambda aka Closures Language Interop Nashorn Core Libraries Parallel

More information

Java Leaders Summit Java SE

Java Leaders Summit Java SE Java Leaders Summit Java SE Staffan Friberg Product Manager Java Platform Group 1 Copyright 2011-2013 Oracle and/or its affiliates. The following is intended to outline our general product direction. It

More information

Functional Languages. CSE 307 Principles of Programming Languages Stony Brook University

Functional Languages. CSE 307 Principles of Programming Languages Stony Brook University Functional Languages CSE 307 Principles of Programming Languages Stony Brook University http://www.cs.stonybrook.edu/~cse307 1 Historical Origins 2 The imperative and functional models grew out of work

More information

Ausblick auf Java 8. Martin Plümicke. 25. Mai Baden-Wuerttemberg Cooperative State University Stuttgart/Horb

Ausblick auf Java 8. Martin Plümicke. 25. Mai Baden-Wuerttemberg Cooperative State University Stuttgart/Horb Ausblick auf Java 8 Martin Plümicke Baden-Wuerttemberg Cooperative State University Stuttgart/Horb 25. Mai 2012 Overview Introduction Introduction Closures Java s motivation λ expressions Functional interfaces

More information

COMP6700/2140 Code as Data

COMP6700/2140 Code as Data COMP6700/2140 Code as Data Alexei B Khorev Research School of Computer Science, ANU March 2017 Alexei B Khorev (RSCS, ANU) COMP6700/2140 Code as Data March 2017 1 / 19 Topics 1 What does treating code

More information

Alan Bateman Java Platform Group, Oracle November Copyright 2018, Oracle and/or its affiliates. All rights reserved.!1

Alan Bateman Java Platform Group, Oracle November Copyright 2018, Oracle and/or its affiliates. All rights reserved.!1 Alan Bateman Java Platform Group, Oracle November 2018 Copyright 2018, Oracle and/or its affiliates. All rights reserved.!1 Project Loom Continuations Fibers Tail-calls Copyright 2018, Oracle and/or its

More information

XWiki. Web Applications in a Wiki

XWiki. Web Applications in a Wiki XWiki Web Applications in a Wiki XWiki: Web Applications in a Wiki Your Speaker Wikis & XWiki Building Web Applications Ludovic Dubost Your speaker: Ludovic Dubost Ex-Netscape Consultant, CTO of NetValue

More information

Java Language Modularity With Superpackages

Java Language Modularity With Superpackages Java Language Modularity With Superpackages Alex Buckley JSR 294 Co-spec lead Sun Microsystems Andreas Sterbenz JSR 294 Co-spec lead Sun Microsystems TS-2401 2007 JavaOne SM Conference Session 2401 Goal

More information

openjdk.java.net A community centered around open source Java SE and related projects

openjdk.java.net A community centered around open source Java SE and related projects OpenJDK openjdk.java.net openjdk.java.net A community centered around open source Java SE and related projects openjdk.java.net A community centered around open source Java SE and related projects The

More information

Wednesday, November 16, 11

Wednesday, November 16, 11 Java SE 8, and Beyond! Danny Coward Principal Engineer 8 9 2012 2020? Priorities for the Java Platforms Grow Developer Base Grow Adoption Increase Competitiveness Adapt to change

More information

Spring Framework 5.0 on JDK 8 & 9

Spring Framework 5.0 on JDK 8 & 9 Spring Framework 5.0 on JDK 8 & 9 Juergen Hoeller Spring Framework Lead Pivotal 1 Spring Framework 5.0 (Overview) 5.0 GA as of September 28 th, 2017 one week after JDK 9 GA! Embracing JDK 9 as well as

More information

Java gets a closure. Tomasz Kowalczewski

Java gets a closure. Tomasz Kowalczewski Java gets a closure Tomasz Kowalczewski Agenda Lambdas and closures Java syntax Language interaction Implementation Interface evolution Library changes Lambda expression First class function that closes

More information

PIC 20A Anonymous classes, Lambda Expressions, and Functional Programming

PIC 20A Anonymous classes, Lambda Expressions, and Functional Programming PIC 20A Anonymous classes, Lambda Expressions, and Functional Programming Ernest Ryu UCLA Mathematics Last edited: December 8, 2017 Introductory example When you write an ActionListener for a GUI, you

More information

Java Technologies. Lecture IV. Valdas Rapševičius

Java Technologies. Lecture IV. Valdas Rapševičius Preparation of the material was supported by the project Increasing Internationality in Study Programs of the Department of Computer Science II, project number VP1 2.2 ŠMM-07-K-02-070, funded by The European

More information

<Insert Picture Here> JDK 7 DOAG Konferenz 2010, November 16th, 2010

<Insert Picture Here> JDK 7 DOAG Konferenz 2010, November 16th, 2010 JDK 7 DOAG Konferenz 2010, November 16th, 2010 Dalibor.Topic@oracle.com Java F/OSS Ambassador 3 3 JavaOne 2010: Oracle Announces JDK Roadmap for Advancing Java SE http://www.oracle.com/us/corporate/press/173782

More information

Java ME Directions. JCP F2F - Austin. Florian Tournier - Oracle May 9, Copyright 2017, Oracle and/or its affiliates. All rights reserved.

Java ME Directions. JCP F2F - Austin. Florian Tournier - Oracle May 9, Copyright 2017, Oracle and/or its affiliates. All rights reserved. Java ME Directions JCP F2F - Austin Florian Tournier - Oracle May 9, 2017 Safe Harbor Statement The following is intended to outline our general product direction. It is intended for information purposes

More information

Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13

Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 THE FOLLOWING IS INTENDED TO OUTLINE OUR GENERAL PRODUCT DIRECTION. IT IS INTENDED FOR INFORMATION PURPOSES ONLY, AND MAY NOT BE INCORPORATED INTO ANY CONTRACT. IT IS NOT A COMMITMENT TO DELIVER ANY MATERIAL,

More information

Stop coding Pascal. Saturday, April 6, 13

Stop coding Pascal. Saturday, April 6, 13 Stop coding Pascal...emotional sketch about past, present and future of programming languages, Python, compilers, developers, Life, Universe and Everything Alexey Kachayev CTO at KitApps Inc. Open source

More information

Oracle Senior VP Steve Harris on Oracle s Vision of Java

Oracle Senior VP Steve Harris on Oracle s Vision of Java Oracle Senior VP Steve Harris on Oracle s Vision of Java By Janice J. Heiss Published April 2011 Steven G. Harris, Oracle's Senior VP of Application Server Development, who oversees product development

More information

IBM s statements regarding its plans, directions, and intent are subject to change or withdrawal without notice at IBM s sole discretion.

IBM s statements regarding its plans, directions, and intent are subject to change or withdrawal without notice at IBM s sole discretion. Please note Copyright 2018 by International Business Machines Corporation (IBM). No part of this document may be reproduced or transmitted in any form without written permission from IBM IBM s statements

More information

Oracle Corporation OSCON 2012

Oracle Corporation OSCON 2012 1 2012 Oracle Corporation OSCON 2012 Reducing Technical Debt in OpenJDK The Legacy and the Burden Stuart W. Marks Oracle JDK Core Libraries Group 2 2012 Oracle Corporation OSCON 2012 Let s Look At Some

More information

DryadLINQ. by Yuan Yu et al., OSDI 08. Ilias Giechaskiel. January 28, Cambridge University, R212

DryadLINQ. by Yuan Yu et al., OSDI 08. Ilias Giechaskiel. January 28, Cambridge University, R212 DryadLINQ by Yuan Yu et al., OSDI 08 Ilias Giechaskiel Cambridge University, R212 ig305@cam.ac.uk January 28, 2014 Conclusions Takeaway Messages SQL cannot express iteration Unsuitable for machine learning,

More information

Notification Center Usage Report

Notification Center Usage Report Notification Center Usage Report Growing 18.7% Growing 30.3% Previous Data QTS 4.3.5 Released 38,700 Paired Devices 45,937 Paired Devices 17,582,555 Messages 22,892,486 Messages Paired Notification Devices

More information

Restful Application Development

Restful Application Development Restful Application Development Instructor Welcome Currently a consultant in my own business and splitting my time between training and consulting. Rob Gance Assist clients to incorporate Web 2.0 technologies

More information

CS152: Programming Languages. Lecture 11 STLC Extensions and Related Topics. Dan Grossman Spring 2011

CS152: Programming Languages. Lecture 11 STLC Extensions and Related Topics. Dan Grossman Spring 2011 CS152: Programming Languages Lecture 11 STLC Extensions and Related Topics Dan Grossman Spring 2011 Review e ::= λx. e x e e c v ::= λx. e c τ ::= int τ τ Γ ::= Γ, x : τ (λx. e) v e[v/x] e 1 e 1 e 1 e

More information

CP CP Standardization Discussion. Jacob Feldman September 10, 2010

CP CP Standardization Discussion. Jacob Feldman     September 10, 2010 -2010-2010 Discussion Jacob Feldman www.cpstandards.org www.cpstandard.wordpress.com j.feldman@4c.ucc.ie September 10, 2010 -2010 Key Objectives Make more accessible for business software developers Provide

More information

Adopt-a-JSR July Meeting

Adopt-a-JSR July Meeting Adopt-a-JSR July Meeting Special Guest: Arun Gupta Bruno Souza, Heather VanCura, Martijn Verburg 1 July 2013 Welcome! You expanded wiki into eight languages: Arabic, Chinese, English, French, German, Portuguese,

More information

Functional Programming Lecture 1: Introduction

Functional Programming Lecture 1: Introduction Functional Programming Lecture 1: Introduction Viliam Lisý Artificial Intelligence Center Department of Computer Science FEE, Czech Technical University in Prague viliam.lisy@fel.cvut.cz Acknowledgements

More information

Functional Programming Lecture 13: FP in the Real World

Functional Programming Lecture 13: FP in the Real World Functional Programming Lecture 13: FP in the Real World Viliam Lisý Artificial Intelligence Center Department of Computer Science FEE, Czech Technical University in Prague viliam.lisy@fel.cvut.cz 1 Mixed

More information

Functional programming in C#

Functional programming in C# Functional programming in C# A quick approach to another paradigm Nacho Iborra IES San Vicente This work is licensed under the Creative Commons Attribution- NonCommercial-ShareAlike 4.0 International License.

More information

Igniting QuantLib on a Zeppelin

Igniting QuantLib on a Zeppelin Igniting QuantLib on a Zeppelin Andreas Pfadler, d-fine GmbH QuantLib UserMeeting, Düsseldorf, 7.12.2016 d-fine d-fine All rights All rights reserved reserved 0 Welcome Back!» An early stage of this work

More information

2 Years of. Real World FP at Scala Developer at

2 Years of. Real World FP at Scala Developer at 2 Years of λ Real World FP at REA @KenScambler Scala Developer at Me 14 years 5 years 5 years when possible when bored when forced @ - 3 teams - 17 codebases - 43K LOC Jul 13 Jan 14 Jul 14 Jan 15 Why Functional

More information

Software System Design and Implementation

Software System Design and Implementation Software System Design and Implementation Functional Programming Gabriele Keller The University of New South Wales School of Computer Science and Engineering Sydney, Australia COMP3141 16s1 Course software

More information

COMP6700/2140 Packages, Modules and Jigsaw

COMP6700/2140 Packages, Modules and Jigsaw COMP6700/2140 Packages, Modules and Jigsaw Alexei B Khorev and Josh Milthorpe Research School of Computer Science, ANU May 2017 Alexei B Khorev and Josh Milthorpe (RSCS, ANU) COMP6700/2140 Packages, Modules

More information

Advanced programming for Java platform. Introduction

Advanced programming for Java platform. Introduction Advanced programming for Java platform Introduction About course Petr Hnětynka hnetynka@d3s.mff.cuni.cz http://d3s.mff.cuni.cz/teaching/vsjava/ continuation of "Java (NPRG013)" basic knowledge of Java

More information

Pieter van den Hombergh Thijs Dorssers Stefan Sobek. June 8, 2017

Pieter van den Hombergh Thijs Dorssers Stefan Sobek. June 8, 2017 Pieter van den Hombergh Thijs Dorssers Stefan Sobek Fontys Hogeschool voor Techniek en Logistiek June 8, 2017 /FHTenL June 8, 2017 1/19 Collection Zoo The basic collections, well known in programming s

More information

<Insert Picture Here> JavaFX 2.0

<Insert Picture Here> JavaFX 2.0 1 JavaFX 2.0 Dr. Stefan Schneider Chief Technologist ISV Engineering The following is intended to outline our general product direction. It is intended for information purposes only,

More information

DON'T BLOCK YOUR MOBILES AND INTERNET OF THINGS

DON'T BLOCK YOUR MOBILES AND INTERNET OF THINGS DON'T BLOCK YOUR MOBILES AND INTERNET OF THINGS Use non blocking I/O for scalable and resilient server applications MAGNUS LARSSON, PÄR WENÅKER, ANDERS ASPLUND 2014-10-23 CALLISTAENTERPRISE.SE AGENDA The

More information

Whether to Include Java 8 Features in Introductory CS Courses

Whether to Include Java 8 Features in Introductory CS Courses CCSC Eastern Conference 2015 Tutorial Whether to Include Java 8 Features in Introductory CS Courses James Heliotis Computer Science Rochester Inst. of Technology jeh@cs.rit.edu 1 Our History in Java Education

More information

Java.Next: Java 8 Overview. Scott Seighman Oracle

Java.Next: Java 8 Overview. Scott Seighman Oracle Java.Next: Java 8 Overview Scott Seighman Oracle scott.seighman@oracle.com 1 Disclaimer The following is intended to outline our general product direction. It is intended for information purposes only,

More information

Supported Operating Environment. Java Support

Supported Operating Environment. Java Support Supported Operating Environment Java Support 9/10/2018 Java Support Find information about supported versions of Java across all products. eservices eservices Knowledge Manager (Legacy) Knowledge Manager

More information

Core Java JDK 9 Overview Angelika Langer & Klaus Kreft

Core Java JDK 9 Overview Angelika Langer & Klaus Kreft Core Java JDK 9 Overview Angelika Langer & Klaus Kreft Training/Consulting a quick glance at Java 9 Java 9 available since September, 21 2017 many new features (> 90 JEPs) "Collection Literals" "Compact

More information