The State of Project Valhalla with Brian Goetz

preview_player
Показать описание
Conversation with Project Valhalla lead Brian Goetz about Java's original sin, unifying the type system, expanding generics, current work, the project timeline and more.

0:00 Intro
1:33 Primitives and references today
8:07 Valhalla's goals
10:14 WHAT'S WITH THE HELMET?!
10:59 JEPs 401, 402, and the 3rd one
19:25 Reference-preferring primitive types
23:07 The 3rd JEP again
27:17 Progress and timeline, Panama and Loom
31:50 Primitive types and heap vs stack
40:30 Outro

JEPs:
Рекомендации по теме
Комментарии
Автор

Valhalla and Loom... Java future never looked more promising. Thank you for the interview.

pavelhoral
Автор

You'd better upload that next part - don't leave us in a lurch!

DanHowardMtl
Автор

I'm very interested in Pattern Matching and project Amber, hope you can upload that video soon! Thanks Nicolai, one of the great benefits of working in Java is that there's a string community behind it, and you certainly do a lot to keep us informed and updated!

gaijinco
Автор

This video series is getting better and better. Except for the primal scream at the beginning...some of us have to work in an office!

tintifax
Автор

Ofcourse upload part 2! How is that even a question?!
Just assume our curiosity is terminal!

sitrilko
Автор

Of course we're interested in hearing the rest!!! :-)

quintesse
Автор

I literally just wrote a class similar to the Substring class mentioned in the jeb. It works without value/primitive types too but I will most definitely "upgrade" it to a value /primitive type. The performance will be even greater.

redcrafterlppa
Автор

Great interview! Thanks. The third JEP is titled "JEP draft: Universal Generics (Preview)". But the shtupid shpam filter makes it exceedingly difficult to post any useful information here. For example, the number or URL of the third JEP...

jcsahnwaldt
Автор

Great talk as usual, thanks! Also what an exceptional thumbnail 😄

Tristan
Автор

Oh, please do the pattern match for map discussion. I would love that

BrettRyan
Автор

Will you be able to do something like:
static <T, U> Optional<U> foo(T obj) {
if (obj instanceof U u)
return Optional.of(u) ;
return Optional.empty();
}
When the generic overhaul is done?

redcrafterlppa
Автор

Without any doubt, please upload other videos :)

HarmeetSingh
Автор

Which places other than Map#get will reference projection be needed?

Автор

Cool video. Really nice to see good content on Java. Just one small thing - the spun of your mechanical keyboard.

kasparsr
Автор

It would be nice if the ability to define operators (addition, division...etc) could be a feature. Not sure if anyone submitted a JEP for it. It has a definite use case in regard to structures that only contain primitives, such as vectors (not the ancient Vector data type but linear algebra vectors).

Side note: I kind of understand why people want a CharStream class (mentioned a 6:34), but in my opinion, the char primitive feels broken. Or maybe it's unicode v2 that's broken --using 21-bits of space feels gross (which my guess is why a String has the IntStream method). I wish something could be done about that.

jamesratzlaff
Автор

Very nice. By the way, what interview recording software do you use?

CoderGrammer
Автор

I am waiting for support Jdk 17 by Kotlin compiler

cyamdirl
Автор

Using chars should be discouraged. Instead, consider the IntStream of code points.

JoJoModding
Автор

it is not easy to deliver a complete valhalla project in a short time

cyamdirl
Автор

Please not typing....I'm trying to listen

bryancjacobs