Тёмный

Peter Lawrey - Low Latency Code in Java 8 

MelbJVM
Подписаться 984
Просмотров 15 тыс.
50% 1

How do Java 8's new features, Lambdas and Optional in particular, perform? Do they create garbage and is there anything you can do about it?
Peter Lawrey likes to inspire developers to improve the craftmanship of their solutions, engineer their systems for simplicity and performance, and enjoy their work more by being creative and innovative.
He has a popular blog “Vanilla Java” which gets 120K page views per month, he is 2nd and 3rd on StackOverflow.com for Concurrency and Java respectively, and is lead developer of the OpenHFT project which includes support for thread safe off heap memory, thread pinning and low latency persistence and IPC (as low as 100 nano-seconds).
vanillajava.blogspot.com.au/

Наука

Опубликовано:

 

1 апр 2015

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 8   
@brixomatic
@brixomatic 7 лет назад
If only the guys asking about trivial Optional/Type inference/lazy evaluation/lambda stuff would have done their homework.. so distracting! Plus, these basic questions stop him from explaining, why this code is especially good for low latency code. Especially the equals method looks suspicious against those generated by eclipse for example.
@Kessra
@Kessra 8 лет назад
Good and informative talk. However the example with the lock and the Callable does not work on Java 8 U101 anymore (or maybe never didn't). First Callable throws an exception which is clearly not caught or thrown and second, Java claims that a medhod-reference is not applicable for a Callable argument. Instead of a method-reference using a lambda expression of the form () -> { condition.signal(); return null; } works though IntelliJ reports that this can be replaced via a method reference, though condition::signal is not accepted and doesn't even compile.
@AjayKumar-fd9mv
@AjayKumar-fd9mv 3 года назад
👍
@SachinKumar-ox6zk
@SachinKumar-ox6zk 3 года назад
good intel
@leozilla
@leozilla 8 лет назад
Whats with the newbies in the audience.. seems like they never programmed at all before, wtf
@konoutro
@konoutro 8 лет назад
+David Leonhartsberger be nice. perhaps they dont watch and subscribe to the same youtube videos as you
@leozilla
@leozilla 8 лет назад
+Kon Soulianidis you are right, I am sorry. I was just disappointed that the first very easy code example led to 15 very basic questions that have not much to do with the topic directly
@konoutro
@konoutro 8 лет назад
+David Leonhartsberger all good mate. thanks for checking out the video
Далее
Peter Lawrey - Intro to OpenHFT
1:06:32
Просмотров 10 тыс.
Получилось у Миланы?😂
00:13
Просмотров 1,7 млн
Java 8 best practices by Stephen Colebourne
44:40
Просмотров 63 тыс.
Concurrency Concepts in Java by Douglas Hawkins
44:22
Java Performance Puzzlers by Douglas Hawkins
46:49
Просмотров 28 тыс.
CppCon 2014: Mike Acton "Data-Oriented Design and C++"
1:27:46
ThreadLocal in Java
10:59
Просмотров 182 тыс.
Крупный ПРОВАЛ Samsung
0:48
Просмотров 673 тыс.
Копия iPhone с WildBerries
1:00
Просмотров 7 млн