© 2015 INTERNATIONAL BUSINESS MACHINES CORPORATION
Java Meetup - Bangalore
Java futurity
A new era in technology, a new era in business.
© 2015 INTERNATIONAL BUSINESS MACHINES CORPORATION
Slides Credits
Steve J Wallin,
Program Director, IBM Runtimes
© 2015 INTERNATIONAL BUSINESS MACHINES CORPORATION
proven experimental hypothetical
Java Future
© 2015 INTERNATIONAL BUSINESS MACHINES CORPORATION
predictable
consistent
cadence
easier migration increased
innovation
Java will evolve faster
© 2015 INTERNATIONAL BUSINESS MACHINES CORPORATION
numbering long term support time to transition
Java will evolve faster
© 2015 INTERNATIONAL BUSINESS MACHINES CORPORATION
lambda
streams
modules
reactive streams
panama
valhalla
amber
loom
Java innovation is a journey
© 2015 INTERNATIONAL BUSINESS MACHINES CORPORATION
Isthmus of Panama
© 2015 INTERNATIONAL BUSINESS MACHINES CORPORATION
Panama
Better interop with native languages
metadata based
binding, type-safety
JIT optimization,
access to hardware
GC-awareness of
native memory
© 2015 INTERNATIONAL BUSINESS MACHINES CORPORATION
Valhalla
Value types,
memory efficiency
Generics over
primitives
Supports Panama
© 2015 INTERNATIONAL BUSINESS MACHINES CORPORATION
Amber
switch expressions,
enhanced enums
raw string literals,
pattern matching
type inference*,
local vars for
lambda params
© 2015 INTERNATIONAL BUSINESS MACHINES CORPORATION
© 2015 INTERNATIONAL BUSINESS MACHINES CORPORATION
Loom
fibers managed by
the runtime
asynchronous IO continuations
© 2015 INTERNATIONAL BUSINESS MACHINES CORPORATION
Are you ready to
solve the new
problems, the right
way?
© 2015 INTERNATIONAL BUSINESS MACHINES CORPORATION
Where code goes,
where data flows,
cognition will follow.
© 2015 INTERNATIONAL BUSINESS MACHINES CORPORATION
CONSIDER:
Cognitive systems can *understand* the
world through sensing and interaction,
*reason* using hypotheses and arguments
and *learn* from experts and through data.
Watson is the most advanced such system.
Today, businesses in
countries across.
There are
Watson ecosystem
partner companies,
with
78%
of business and IT
executives believe
that successful business
will manage employees
alongside intelligent
machines.
On average there are
Among C-Suite executives
familiar with cognitive computing:
96%
84%
94%
89%
in insurance intend to invest in
cognitive capabilities.
in healthcare believe it will play a
disruptive role in the industry, and
60% believe they lack the skilled
professionals and technical
experience to achieve it.
in retail intend to invest in
cognitive capabilities.
in telecommunications believe it
will have a critical impact on the
future of their business.
36
17industries are
applying cognitive
technologies.
350+
100of those have taken their
product to market.
1.3BWatson API calls a month
and growing.
© 2015 INTERNATIONAL BUSINESS MACHINES CORPORATION
We can now confer on every
digitized object, product,
process and service a kind
of thinking ability.
How, and why now?
Data is
transforming
industries and
professions.
The world
is being
reinvented
in code.
Computing is
entering a new
Cognitive Era.
© 2015 INTERNATIONAL BUSINESS MACHINES CORPORATION
Imagine the possibilities…
Tailoring responses to the
personalities of your customers
without meeting a single one of
them.
Knowing the latest, most significant
developments in your profession or
industry the moment they take
place
Products and services that improve
themselves over time, learning
from and adapting to the world
around them.
Processes that identify their own
inefficiencies-and address them
automatically-in real time.
Uncovering patterns, resources,
trends and other competitive
advantages invisible to competitors
and their information systems.
© 2015 INTERNATIONAL BUSINESS MACHINES CORPORATION
PROBLEM:
solving a word search puzzle
meetup
java
ibm
cognitive
a e k j c b a o a j
l g m e e t u p a p
l n a v a a j v i o
p c
m
e
i e t u p a a
r d a t a j a j k l
u t w i q a y a m h
d u e n x v d v g a
j o d g t f f a u i
a a s o g a g t v c
z i a c h j a i b m
© 2015 INTERNATIONAL BUSINESS MACHINES CORPORATION
CLASSICALLY:
meetup
java
ibm
cognitive
a e k j c b a o a j
l g m e e t u p a p
l n a v a a j v i o
p c
m
e
i e t u p a a
r d a t a j a j k l
u t w i q a y a m h
d u e n x v d f g a
j o d g t f f a u i
a a s o g a g t v c
z i a c h j a i b m
© 2015 INTERNATIONAL BUSINESS MACHINES CORPORATION
PARTITIONING:
meetup
java
ibm
cognitive
a e k j c b a o a j
l g m e e t u p a p
l n a v a a j v i o
p c
m
e
i e t u p a a
r d a t a j a j k l
u t w i q a y a m h
d u e n x v d f g a
j o d g t f f a u i
a a s o g a g t v c
z i a c h j a i b m
Executor
node
Executor
node
Executor
node
Executor
node
© 2015 INTERNATIONAL BUSINESS MACHINES CORPORATION
PARTITIONING:
meetup
java
ibm
cognitive
a e k j c b a o a j
l g m e e t u p a p
l n a v a a j v i o
p c
m
e
i e t u p a a
r d a t a j a j k l
u t w i q a y a m h
d u e n x v d f g a
j o d g t f f a u i
a a s o g a g t v c
z i a c h j a i b m
Executor
node
Executor
node
Executor
node
Executor
node
CPU
GPU
FPGA
ASIC
© 2015 INTERNATIONAL BUSINESS MACHINES CORPORATION
IBM + NVIDIA
Improving Java application
performance with GPU
exploitation is available in
IBM Java 8 today.
standard SE API
optimisation as well as
CUDA4J for explicit low level
control
+
© 2015 INTERNATIONAL BUSINESS MACHINES CORPORATION
NEURAL:
meetup
java
ibm
cognitive
a e k j c b a o a j
l g m e e t u p a p
l n a v a a j v i o
p c
m
e
i e t u p a a
r d a t a j a j k l
u t w i q a y a m h
d u e n x v d f g a
j o d g t f f a u i
a a s o g a g t v c
z i a c h j a i b m
© 2015 INTERNATIONAL BUSINESS MACHINES CORPORATION
SYNAPSE:
A program to develop a
neuromorphic processor that is a
new kind of cognitive computer.
Designed to simulate the neurones
and dendrites of the brain for low
power efficient operation
© 2015 INTERNATIONAL BUSINESS MACHINES CORPORATION
Qubits
IBM Q Experience!
Atoms at a few
Kelvins
Superposition
Entanglement
© 2015 INTERNATIONAL BUSINESS MACHINES CORPORATION
QUANTUM:
meetup
java
ibm
cognitive
a e k j c b a o a j
l g m e e t u p a p
l n a v a a j v i o
p c
m
e
i e t u p a a
r d a t a j a j k l
u t w i q a y a m h
d u e n x v d v g a
j o d g t f f a u i
a a s o g a g t v c
z i a c h j a i b m
Grovers Search algorithm could be used if the source data
were to structured to allow the highest probable locations of
the words by fastest possible search algorithm O(√N)
© 2015 INTERNATIONAL BUSINESS MACHINES CORPORATION
HOW DO YOU THINK?
a e k j c b a o a j
l g m e e t u p a p
l n a v a a j v i o
p c
m
e
i e t u p a a
r d a t a j a j k l
u t w i q a y a m h
d u e n x v d f g a
j o d g t f f a u i
a a s o g a g t v c
z i a c h j a i b m
Executor node
Executor node
Executor
node
Executor
node
CLASSIC
NEURAL
BIG DATA
QUANTUM
© 2015 INTERNATIONAL BUSINESS MACHINES CORPORATION
CO-PROCESSORS:
Do you recall Panama and Valhalla?
© 2015 INTERNATIONAL BUSINESS MACHINES CORPORATION
The world is
being reinvented
in code. Java code.
HOW, AND WHY NOW?
© 2015 INTERNATIONAL BUSINESS MACHINES CORPORATION
OPPORTUNITY:
Data flows from every device,
replacing guessing and
approximations with precise
information. Yet 80% of this
data is unstructured; therefore,
invisible to computers and of
limited use to business.
HEALTHCARE DATA GOVERNMENT & EDUCATION DATA
99% 88% 94% 84%
Healthcare data comes from
sources such as:
Government & education data
comes from sources such as:
Patient
Sensors
Electronic
Medical
Records
Test
Results
Vehicle Fleet
Sensors
Traffic
Sensors
Student
Evaluations
UTILITIES DATA MEDIA DATA
93% 84% 97% 82%
Utilities data comes from sources
such as:
Media data comes from sources
such as:
Utility
Sensors
Employee
Sensors
Location
Data
Video
and Film
Images Audio
By 2020,
of new information will
be created every
second for every
human being on
the planet.
growth by 2017 unstructured growth by 2017 unstructured
1.7 MB growth by 2017 unstructured growth by 2017 unstructured
© 2015 INTERNATIONAL BUSINESS MACHINES CORPORATION
Computing is
entering a new
cognitive era.
What do you Think
when you solve a
problem?
HOW, AND WHY NOW?
© 2015 INTERNATIONAL BUSINESS MACHINES CORPORATION

Java Futurity

  • 1.
    © 2015 INTERNATIONALBUSINESS MACHINES CORPORATION Java Meetup - Bangalore Java futurity A new era in technology, a new era in business.
  • 2.
    © 2015 INTERNATIONALBUSINESS MACHINES CORPORATION Slides Credits Steve J Wallin, Program Director, IBM Runtimes
  • 3.
    © 2015 INTERNATIONALBUSINESS MACHINES CORPORATION proven experimental hypothetical Java Future
  • 4.
    © 2015 INTERNATIONALBUSINESS MACHINES CORPORATION predictable consistent cadence easier migration increased innovation Java will evolve faster
  • 5.
    © 2015 INTERNATIONALBUSINESS MACHINES CORPORATION numbering long term support time to transition Java will evolve faster
  • 6.
    © 2015 INTERNATIONALBUSINESS MACHINES CORPORATION lambda streams modules reactive streams panama valhalla amber loom Java innovation is a journey
  • 7.
    © 2015 INTERNATIONALBUSINESS MACHINES CORPORATION Isthmus of Panama
  • 8.
    © 2015 INTERNATIONALBUSINESS MACHINES CORPORATION Panama Better interop with native languages metadata based binding, type-safety JIT optimization, access to hardware GC-awareness of native memory
  • 9.
    © 2015 INTERNATIONALBUSINESS MACHINES CORPORATION Valhalla Value types, memory efficiency Generics over primitives Supports Panama
  • 10.
    © 2015 INTERNATIONALBUSINESS MACHINES CORPORATION Amber switch expressions, enhanced enums raw string literals, pattern matching type inference*, local vars for lambda params
  • 11.
    © 2015 INTERNATIONALBUSINESS MACHINES CORPORATION
  • 12.
    © 2015 INTERNATIONALBUSINESS MACHINES CORPORATION Loom fibers managed by the runtime asynchronous IO continuations
  • 13.
    © 2015 INTERNATIONALBUSINESS MACHINES CORPORATION Are you ready to solve the new problems, the right way?
  • 14.
    © 2015 INTERNATIONALBUSINESS MACHINES CORPORATION Where code goes, where data flows, cognition will follow.
  • 15.
    © 2015 INTERNATIONALBUSINESS MACHINES CORPORATION CONSIDER: Cognitive systems can *understand* the world through sensing and interaction, *reason* using hypotheses and arguments and *learn* from experts and through data. Watson is the most advanced such system. Today, businesses in countries across. There are Watson ecosystem partner companies, with 78% of business and IT executives believe that successful business will manage employees alongside intelligent machines. On average there are Among C-Suite executives familiar with cognitive computing: 96% 84% 94% 89% in insurance intend to invest in cognitive capabilities. in healthcare believe it will play a disruptive role in the industry, and 60% believe they lack the skilled professionals and technical experience to achieve it. in retail intend to invest in cognitive capabilities. in telecommunications believe it will have a critical impact on the future of their business. 36 17industries are applying cognitive technologies. 350+ 100of those have taken their product to market. 1.3BWatson API calls a month and growing.
  • 16.
    © 2015 INTERNATIONALBUSINESS MACHINES CORPORATION We can now confer on every digitized object, product, process and service a kind of thinking ability. How, and why now? Data is transforming industries and professions. The world is being reinvented in code. Computing is entering a new Cognitive Era.
  • 17.
    © 2015 INTERNATIONALBUSINESS MACHINES CORPORATION Imagine the possibilities… Tailoring responses to the personalities of your customers without meeting a single one of them. Knowing the latest, most significant developments in your profession or industry the moment they take place Products and services that improve themselves over time, learning from and adapting to the world around them. Processes that identify their own inefficiencies-and address them automatically-in real time. Uncovering patterns, resources, trends and other competitive advantages invisible to competitors and their information systems.
  • 18.
    © 2015 INTERNATIONALBUSINESS MACHINES CORPORATION PROBLEM: solving a word search puzzle meetup java ibm cognitive a e k j c b a o a j l g m e e t u p a p l n a v a a j v i o p c m e i e t u p a a r d a t a j a j k l u t w i q a y a m h d u e n x v d v g a j o d g t f f a u i a a s o g a g t v c z i a c h j a i b m
  • 19.
    © 2015 INTERNATIONALBUSINESS MACHINES CORPORATION CLASSICALLY: meetup java ibm cognitive a e k j c b a o a j l g m e e t u p a p l n a v a a j v i o p c m e i e t u p a a r d a t a j a j k l u t w i q a y a m h d u e n x v d f g a j o d g t f f a u i a a s o g a g t v c z i a c h j a i b m
  • 20.
    © 2015 INTERNATIONALBUSINESS MACHINES CORPORATION PARTITIONING: meetup java ibm cognitive a e k j c b a o a j l g m e e t u p a p l n a v a a j v i o p c m e i e t u p a a r d a t a j a j k l u t w i q a y a m h d u e n x v d f g a j o d g t f f a u i a a s o g a g t v c z i a c h j a i b m Executor node Executor node Executor node Executor node
  • 21.
    © 2015 INTERNATIONALBUSINESS MACHINES CORPORATION PARTITIONING: meetup java ibm cognitive a e k j c b a o a j l g m e e t u p a p l n a v a a j v i o p c m e i e t u p a a r d a t a j a j k l u t w i q a y a m h d u e n x v d f g a j o d g t f f a u i a a s o g a g t v c z i a c h j a i b m Executor node Executor node Executor node Executor node CPU GPU FPGA ASIC
  • 22.
    © 2015 INTERNATIONALBUSINESS MACHINES CORPORATION IBM + NVIDIA Improving Java application performance with GPU exploitation is available in IBM Java 8 today. standard SE API optimisation as well as CUDA4J for explicit low level control +
  • 23.
    © 2015 INTERNATIONALBUSINESS MACHINES CORPORATION NEURAL: meetup java ibm cognitive a e k j c b a o a j l g m e e t u p a p l n a v a a j v i o p c m e i e t u p a a r d a t a j a j k l u t w i q a y a m h d u e n x v d f g a j o d g t f f a u i a a s o g a g t v c z i a c h j a i b m
  • 24.
    © 2015 INTERNATIONALBUSINESS MACHINES CORPORATION SYNAPSE: A program to develop a neuromorphic processor that is a new kind of cognitive computer. Designed to simulate the neurones and dendrites of the brain for low power efficient operation
  • 25.
    © 2015 INTERNATIONALBUSINESS MACHINES CORPORATION Qubits IBM Q Experience! Atoms at a few Kelvins Superposition Entanglement
  • 26.
    © 2015 INTERNATIONALBUSINESS MACHINES CORPORATION QUANTUM: meetup java ibm cognitive a e k j c b a o a j l g m e e t u p a p l n a v a a j v i o p c m e i e t u p a a r d a t a j a j k l u t w i q a y a m h d u e n x v d v g a j o d g t f f a u i a a s o g a g t v c z i a c h j a i b m Grovers Search algorithm could be used if the source data were to structured to allow the highest probable locations of the words by fastest possible search algorithm O(√N)
  • 27.
    © 2015 INTERNATIONALBUSINESS MACHINES CORPORATION HOW DO YOU THINK? a e k j c b a o a j l g m e e t u p a p l n a v a a j v i o p c m e i e t u p a a r d a t a j a j k l u t w i q a y a m h d u e n x v d f g a j o d g t f f a u i a a s o g a g t v c z i a c h j a i b m Executor node Executor node Executor node Executor node CLASSIC NEURAL BIG DATA QUANTUM
  • 28.
    © 2015 INTERNATIONALBUSINESS MACHINES CORPORATION CO-PROCESSORS: Do you recall Panama and Valhalla?
  • 29.
    © 2015 INTERNATIONALBUSINESS MACHINES CORPORATION The world is being reinvented in code. Java code. HOW, AND WHY NOW?
  • 30.
    © 2015 INTERNATIONALBUSINESS MACHINES CORPORATION OPPORTUNITY: Data flows from every device, replacing guessing and approximations with precise information. Yet 80% of this data is unstructured; therefore, invisible to computers and of limited use to business. HEALTHCARE DATA GOVERNMENT & EDUCATION DATA 99% 88% 94% 84% Healthcare data comes from sources such as: Government & education data comes from sources such as: Patient Sensors Electronic Medical Records Test Results Vehicle Fleet Sensors Traffic Sensors Student Evaluations UTILITIES DATA MEDIA DATA 93% 84% 97% 82% Utilities data comes from sources such as: Media data comes from sources such as: Utility Sensors Employee Sensors Location Data Video and Film Images Audio By 2020, of new information will be created every second for every human being on the planet. growth by 2017 unstructured growth by 2017 unstructured 1.7 MB growth by 2017 unstructured growth by 2017 unstructured
  • 31.
    © 2015 INTERNATIONALBUSINESS MACHINES CORPORATION Computing is entering a new cognitive era. What do you Think when you solve a problem? HOW, AND WHY NOW?
  • 32.
    © 2015 INTERNATIONALBUSINESS MACHINES CORPORATION

Editor's Notes

  • #4 When we wish to peep into the future, we must start with the present. Looking at Java’s future is no different. Java’s current users are doing great wonders with Java. However, it is very important to appreciate the fast changing needs of users and present to them a pipeline of features and ideas! Some ideas they can experiment with, and others that they can start hypothesizing. This presentation is pretty much about those ideas.
  • #5 How many use features of Java 8 today? How many have moved to modularity? There’s the catch. 6-7(5 years) 7-8(3 years) 8-9(3 years) New release schedule better. Releases gapped at 6 months each. Easier migration. Incremental innovation.
  • #6 The new numbering system (year.month) Current LTS is Java 8. LTS releases once in 3 years. Next LTS will be Java 11(18.9)
  • #7 Who’s used lambdas and streams? And jigsaw or reactive streams? Heard of the new projects in Java?
  • #9 How many of used the JNI and developed native code? Switching between managed and unmanaged runtimes. JNI is extremely challenging. Panama needs Valhalla
  • #10 Primitives and Objects. Data structures have to be objects. They can’t be primitives. Object header is a big overhead for large arrays of simple data structures. Example: complex numbers, tuples like a 2D point etc.
  • #11 A lot of language enhancements. Type inference was introduced in Java 10. In future, we will have raw string literals that will remove the ”escape-hell”. Pattern matching is a really powerful functional programming construct.
  • #13 New concurrency model: ForkJoinPool + Continuations Project Loom proposes light weight threads called fibers. Fibers are managed by the Java runtime scheduler (ForkJoinPool). Continuations are really cool programming constructs that can be paused and resumed. The new concurrency model is going to be running continuations on fibres. You pause when you need something, you continue when you have it. This async model of IO has been a great success with many languages.
  • #14 Everything that runs on code, generates data. What’s next? Cognition. Cognition in simple words is “understanding data to provide meaningful insights”.
  • #15 Everything that runs on code, generates data. What’s next? Cognition. Cognition in simple words is “understanding data to provide meaningful insights”.
  • #17 The problems of the future are different! Are we ready to solve them? We have modeled a large part of the observable universe. There’s much more left. Anything, that is modeled, can now have a thinking ability. It can provide you with deep insights. Data is the new oil. Computing has entered a new era – Cognitive era.
  • #18 Gleaning insights about your customer’s personality. Finding news that really matters to you. Products, services and processes that improve themselves. Intelligent sales.
  • #22 Offloading to dedicated co-processors.
  • #23 GPU’s have parallelism baked into them. They can be exploited for certain tasks.
  • #24 Buiding a neural network to do the search? Finding something with enough confidence.
  • #25 Deep-learning chip! Von Neumann machines mimic the left brain. Cognitive architectures mimic the right brain (neural networks). Mimics the function, real-time, low power, small size of the human brain. Corolet language.
  • #27 Quantum algorithms - Grover’s Algorithm. Big Boost to AI. Caffeine modelling. We could offload certain computations to a quantum computer.