Get a Taste of Lambdas and Get Addicted to Streams by Venkat Subramaniam

  Рет қаралды 464,618

Devoxx

Devoxx

8 жыл бұрын

Please subscribe to our KZbin channel @ bit.ly/devoxx-youtube
Like us on Facebook @ / devoxxcom
Follow us on Twitter @ / devoxx
The first thing visible in Java 8 is the lambdas, but the real power is in Streams. If you're interested in immersing into lambdas and streams, this is the session for you. We will start with lambda expressions, learn about how to use them and how they get implemented under the hood. Then we will swiftly move into learning about streams, the abstractions they provide, and a variety of operations we can do with them. We will conclude with a discussion about lazy evaluations, infinite streams, and parallel collections.

Пікірлер: 350
@ruixue6955
@ruixue6955 6 жыл бұрын
7:00 lambda 7:26 backward compatibility of Java 8:18 9:34 why Java 8 is backed by single abstract method interfaces (@FunctionalInterface) 9:47 if an interface is single abstract method interface, you can use lambdas instead of anonymous inner classes 11:47 how does it work under the hood 12:49 illusion aobut lambda - syntax sugar, i.e. on the instruciton level, it is the same as anonymous inner class 14:16 what lambda does under the hood 14:47 what would the compiler be doing with lots of lambda (assumption only) * 18:16 why it is not a good idea for lambdas to create extra classes like anonymous inner classes 19:14 a new feature since Java 7 - instruction - invokedynamic 20:53 in Java 8 struggling with the elimination of anonymous inner classes 21:00 the motivation: use invokedynamic to implement lambda expressions 25:16 example 29:18 internal iterator 39:00 method reference 44:28 avoid the urge of writing a large lambda expression - an anti-pattern 44:54 what are method references 45:41 examples of method references 47:15 static method reference 49:31 parameter as a target map(String::toString) 54:58 2 arguments * 56:23 the order of the arguments are important 57:38 another example - first parameter is the target, second parameter is the argument 59:33 limitations of method reference 1:08:00 filter 1:19:30 second part 1:29:07 stream is an abstraction 1:29:12 a stream is not a physical object with data 1:29:24 a stream is a bunch of functions you will evaluate eventually. There is no data sitting in a stream 1:29:48 a stream is a non mutating pipeline - stream is not mutating the data in a collection 1:30:31 stream functions 1:33:11 transforming function - Stream.map 1:37:25 Stream.reduce() 1:43:47 InStream/DoubleStream.sum() - also a reduction operation 1:44:08 what is reduce operation - transform a collection into a concrete value or object 1:44:51 another reduce operation - collection 1:45:45 a wrong approach to do collect 1:47:00 explanation of the wrong code 1:47:18 shared mutability is devil 1:49:04 use Collectors.collect 1:51:17 Collectors.toMap 1:54:17 groupingBy 1:54:38 example 1:57:40 another example with mapping() method 1:59:37 performance 2:05:40 Q: How much work? 2:09:30 streams are LAZY 2:10:49 intermediate operations are postponed for evaluation 2:13:00 important * 2:15:43 * 2:16:15 2:17:37 demo for performance analysis 2:19:36 lazy evaluations are only performed when the terminal operation is triggered 2:27:08 intermediate operation - Stream.sorted()
@raghavanaliassaravananm1546
@raghavanaliassaravananm1546 4 жыл бұрын
Awesome toc 👍☺
@MrNaveen303
@MrNaveen303 4 жыл бұрын
Very informative and well explained, thank you.
@infitium7246
@infitium7246 3 жыл бұрын
You probably made it for yourself, didn't you ;)
@ruixue6955
@ruixue6955 3 жыл бұрын
@@infitium7246 yes, i have bad memory, so jot it down make me remember better :)
@tahniat
@tahniat 3 жыл бұрын
Hats off!
@trozzonick77
@trozzonick77 7 жыл бұрын
Venkat is not just really knowledgeable but he knows how tell and express concept in the way even a kid could understand . Thanks .
@veenasharma2440
@veenasharma2440 3 жыл бұрын
2w
@udaykiran557
@udaykiran557 3 жыл бұрын
@@veenasharma2440 from india?
@satishsatyan3520
@satishsatyan3520 2 жыл бұрын
@@udaykiran557 from india?
@udaykiran557
@udaykiran557 2 жыл бұрын
@@satishsatyan3520 Yes
@satishsatyan3520
@satishsatyan3520 2 жыл бұрын
@@udaykiran557 .
@vaib5917
@vaib5917 7 жыл бұрын
One of the best java talks ever seen. Very informative.
@pacegeorgia7200
@pacegeorgia7200 7 жыл бұрын
短短的看到哦的哦地盘耳畔网片 W_PP_W_PE_PE_PE_PD
@vkolodrevskiy
@vkolodrevskiy 7 жыл бұрын
agree
@xvitcoder
@xvitcoder 8 жыл бұрын
The best java talk I've ever seen
@jaikeegupta3711
@jaikeegupta3711 8 жыл бұрын
me too...:)
@rviyadav4726
@rviyadav4726 3 жыл бұрын
.
@virendrapatel775
@virendrapatel775 3 жыл бұрын
Same here
@AsifAlli
@AsifAlli 3 жыл бұрын
This guy speaks very well. Usually indian guys are hard to understand. This guy is awesome!
@pksanthoshkumar
@pksanthoshkumar 4 жыл бұрын
Amazing lecture on functional programming. The best I ever heard!
@jcraane
@jcraane 7 жыл бұрын
I created an IntelliJ plugin which provides similar functionality which outputs the result of a Java main execution as a tooltip. The plugin can be found here: plugins.jetbrains.com/plugin/8543?pr=idea
@TheRastaDan
@TheRastaDan 3 жыл бұрын
34:49 "And for the first time, in a long time, Java is finally intelligent" that was the moment I lost it. This guy has such a talent of explaining stuff!
@judgeomega
@judgeomega 7 жыл бұрын
What a great speaker.
@h1dden_
@h1dden_ 2 жыл бұрын
Venkat was my professor at UH for my last year in computer science. He is by far the BEST computer sceince professor I have ever had. I learned more from him in one semester than I did from when I started coding in highschool.
@MuscleTeamOfficial
@MuscleTeamOfficial 7 жыл бұрын
This guy is a great speaker! Thanks for the awesome talk.
@sdevane75
@sdevane75 7 жыл бұрын
finally, someone intelligent and articulate enough with great dynamic working examples explains lambda and double colon. thank you. after much searching its finally clear to me. ☺
@corabora6644
@corabora6644 5 жыл бұрын
youtube rocks
@durgadeep4988
@durgadeep4988 7 жыл бұрын
Love his enthusiasm and his crisp and clear explanation.
@oleksandrdyachuk3951
@oleksandrdyachuk3951 7 жыл бұрын
GREAT!!!! so many details! so many examples! awesome! thank you a lot!
@RobsonDev
@RobsonDev 6 жыл бұрын
Fantastic presentation! What a great speaker! One of the best presentations that I've watched.
@manojkumarmurugan5808
@manojkumarmurugan5808 3 жыл бұрын
He is amazing!! Best Java talk ever
@TheMinino123
@TheMinino123 6 жыл бұрын
Thank you so much, Venkat!!!
@usamaiqbal9933
@usamaiqbal9933 2 жыл бұрын
One of the best java talks I have ever scene that even a beginner can understand it...
@kovalski6000
@kovalski6000 6 жыл бұрын
The best speaker I've ever heard. I am delighted
@mirageman2
@mirageman2 2 жыл бұрын
What a great talk, Venkat gave the best explanation about streams I've seen, and I've seen quite a few so far.
@ddhirajkumar
@ddhirajkumar 6 жыл бұрын
Like this talk and the way of communicating some of the design philosophies. Not just what can be done.. but also the why and how of it is covered here.
@bikejoede
@bikejoede 7 жыл бұрын
Venkat is an awesome teacher! Thanks a lot for sharing!
@freezefrancis
@freezefrancis 4 жыл бұрын
Venkat , you are simply amazing.. Great talk!
@jineshshah566
@jineshshah566 4 жыл бұрын
Finest explanation on streams. Thank you very much!
@sunilchandramn3001
@sunilchandramn3001 4 жыл бұрын
your one of the best teacher I have seen till now..
@sahilrally4491
@sahilrally4491 7 жыл бұрын
Just watched 24 mins and gave my like to the video. What a speaker, cheers!!! -)
@arsalalam5998
@arsalalam5998 5 жыл бұрын
This is how you explain advanced stuff in simple way. Tell me why i should bother to use a new feature. Amazing.
@susaninj
@susaninj 7 жыл бұрын
Awesome. Excellent presentation. I wish I have seen this earlier. Recommend.
@shailendra-mani
@shailendra-mani 8 жыл бұрын
Great talk, very informative for those who are starting to work on java 8. Awesome explanation.
@giddaiahkummari2249
@giddaiahkummari2249 3 жыл бұрын
Hi venkat, I referred so many author's to understand java8 features, but some how I got ur video in the list. I just looked into it, it was just awesome. Thank you for ur efforts
@ketkithosar7465
@ketkithosar7465 3 жыл бұрын
I sincerely wish I could like this video more than once. Simply brilliant
@weipingguo6038
@weipingguo6038 7 жыл бұрын
Great talk, very informative with great details!
@caiboliang5568
@caiboliang5568 7 жыл бұрын
think new session required to introduce ide 😁, very impressed. thanks a lot
@harshavmb
@harshavmb 7 жыл бұрын
I'm fortunate to watch this video! Speechless.. Absolutely recommended for people like me who didn't know the potentials of lambdas and streams.
@chintangandhi4500
@chintangandhi4500 5 жыл бұрын
I had come to see this video to brush my knowlege. I ended up learning many new things. excellent explaination
@sanjuro_493
@sanjuro_493 3 жыл бұрын
This is hands down the best Java conference evere made
@cong0929
@cong0929 Жыл бұрын
Wow! Great explaination of Lambda and Streams. His explaination and examples are so concise and easy to understand that I've ever seen. Very very thanks !!
@ramesh040580
@ramesh040580 8 жыл бұрын
Content and the way it is explained is nice. Thank you.
@sahilrally4491
@sahilrally4491 7 жыл бұрын
Brilliant analogy !!!, I wish I could give Super Like or more likes to this talk :-)
@diasneto5231
@diasneto5231 7 жыл бұрын
Really, really, awesome!
@mangasreekanth
@mangasreekanth 5 жыл бұрын
Brilliant. Best value for 2 hours spend watching the video
@jyotikabra72
@jyotikabra72 2 жыл бұрын
he is best at explaining things...became fan of him.
@LauriusT
@LauriusT 7 жыл бұрын
Wow, not sure why I didn't use of java 8 functional style until now. Great talk
@KinGxWolF
@KinGxWolF 3 жыл бұрын
Awesome presentation. Truly gifted at explaining concepts
@akossarnyai4978
@akossarnyai4978 Жыл бұрын
This is one of the best videos that I saw about Streams and Lambdas!!
@alok0412
@alok0412 8 жыл бұрын
Simply awesome!
@alex771304
@alex771304 Жыл бұрын
Thank you. It is such informative video and I really love the way you present it.
@hastingr
@hastingr 2 жыл бұрын
1:02:40-1:05 the heart of programming! Great talk!
@harishgovindarajan9983
@harishgovindarajan9983 2 жыл бұрын
Best!
@VinayakPanchal007
@VinayakPanchal007 7 жыл бұрын
Great job Mr. Subramaniam !
@bhadreshagm7692
@bhadreshagm7692 Жыл бұрын
Its really a very good talk!!! The way concepts presented helps understanding it from the core.. Great job sir.
@prateek6424
@prateek6424 7 ай бұрын
I just can't express how glad I am to land here. He has explained java 8 features with so much depth and conviction. Venkat sir just knows the features inside out and he is in love with Java. ❤
@sherif_a
@sherif_a 7 жыл бұрын
Very dynamic person!!
@daddashikamani
@daddashikamani 5 жыл бұрын
I have been converted to functional style programming using Lamdas and Streams thanks to Venkat. Double thumbs up!
@zeroxcub
@zeroxcub 7 жыл бұрын
Really like the part with the performance analysis, most video about FP stop on the declarative part and don't go further. Thanks Sir, you got my like
@DanielHorrisberger
@DanielHorrisberger 5 жыл бұрын
Great Talk! As always from Venkat
@tryfonmichalopoulos5656
@tryfonmichalopoulos5656 2 жыл бұрын
This presentation was magnificent !
@satishrock9621
@satishrock9621 6 жыл бұрын
Awesome Explanation Sir. Thank you so much
@walterdiaz2003
@walterdiaz2003 3 жыл бұрын
This video is gold.! Great Job!!!!
@bangladeshibadmintonny
@bangladeshibadmintonny 4 жыл бұрын
Well he said you came here for Lambda but stayed here for stream but I got addicted to Venkat. Amazing speaker. Thank you.
@SourabhBhat
@SourabhBhat 7 жыл бұрын
Wow!! Such an amazing talk.
@balucse019
@balucse019 7 жыл бұрын
Great respect to you sir 🙏🏽
@brave111111
@brave111111 5 жыл бұрын
Awesome sessions. Java made easy and interesting. Excellent speech.
@vipulchauhan5317
@vipulchauhan5317 8 жыл бұрын
Thanks a lot for such a informative talk.. watched entire 2:47 hours
@velganesh30
@velganesh30 6 жыл бұрын
You are one of the very best.
@epsilon21001
@epsilon21001 7 жыл бұрын
He's so awesome, thanks for the talk!
@shekharkumar78
@shekharkumar78 7 жыл бұрын
Really amazing. I am a big fan of Venkat. His book "Functional Programming in Java" is also a must read for all Java Developers.
@ggsay1687
@ggsay1687 3 жыл бұрын
Thanks for comment, I needed some book as a guide.
@jvsnyc
@jvsnyc 3 жыл бұрын
One of my new favorite speakers ever. It's all gold, but the motivational parts especially, even tho the technical details are all spot on and valuable. Like 1:02 thru 1:05, not strictly technical, but extremely important in terms of WHY we need to modernize our Java style....
@masterprattu
@masterprattu 3 жыл бұрын
One of the best java talks!!
@ThueringerNeuland
@ThueringerNeuland 5 жыл бұрын
This man is really good at talking and explaining
@edukondalugumma3753
@edukondalugumma3753 4 жыл бұрын
Amazing explanation. I ever scene this kind explanation
@SharanSatkhed
@SharanSatkhed 5 жыл бұрын
GREAT!!! Awesome presentation. Thanks a lot...
@KushalMaharana
@KushalMaharana 7 жыл бұрын
I learnt a lot from this video thank you!
@AkashSingh-el1ew
@AkashSingh-el1ew 2 жыл бұрын
Been 6 years and it's still useful :)
@tharindusathischandra9533
@tharindusathischandra9533 3 жыл бұрын
As the title says, I addicted to Stream; But I addicted to your lectures more than it. Thanks Venkat, it was really helpful.
@anilreddy1613
@anilreddy1613 2 жыл бұрын
His pace of explanation is perfectly suitable for me
@terreur35
@terreur35 8 жыл бұрын
really great, and amazing presentation
@akashkadole3034
@akashkadole3034 Жыл бұрын
Great explanation with great examples... Thank u for giving me the imp of lambda & stream.
@drakezen
@drakezen 8 жыл бұрын
Really good presentation!
@gauravagrawal7614
@gauravagrawal7614 2 жыл бұрын
Really finding it very interesting and glued.
@LorenzoCrippa76
@LorenzoCrippa76 8 жыл бұрын
Great lesson! Thank you
@gurucharansharma5574
@gurucharansharma5574 2 жыл бұрын
Simply Amazing!!!
@newnewdaniel
@newnewdaniel Жыл бұрын
Thank you for the talk.
@hirenpandit8499
@hirenpandit8499 7 жыл бұрын
"When you have 9 million programmers using your language and out of which 1 million programmers know where you live you have to decide things differently." :D
@GawblyOG
@GawblyOG 7 жыл бұрын
HEX D
@parthdalvi5855
@parthdalvi5855 8 жыл бұрын
Simple and outstanding explanation !! :-)
@Tikeswarib
@Tikeswarib Жыл бұрын
What entertaining educational talk, thoroughly enjoyed!
@aaratprasadchopra3255
@aaratprasadchopra3255 3 жыл бұрын
Best Talk Heard Yet!
@osayamenomigie
@osayamenomigie 5 жыл бұрын
Cant believe i just listen through the whole video... He is brilliant teacher
@thyagtubes
@thyagtubes 3 жыл бұрын
A rare species : someone who can do tech, can talk and also keep you engaged for a full 3 hours.
@sagarjadhav5429
@sagarjadhav5429 7 жыл бұрын
best java 8 presentation....
@dostanik01
@dostanik01 7 жыл бұрын
Awesome talk!!!
@vikasmessi
@vikasmessi 4 жыл бұрын
Brilliant presentation.
@chandrabhoopalr8008
@chandrabhoopalr8008 2 жыл бұрын
Wonderful speaker.. amazing analogies
@trile2713
@trile2713 7 жыл бұрын
superioriginality = qualities.reduce(blessing, (feature, excellency) -> feature.add(excellency)); Dr. Subramaniam rocks as ever. Thank you for another great session !
@nimishgupta749
@nimishgupta749 6 жыл бұрын
Flawless speaker.
@abhishekgowlikar
@abhishekgowlikar 7 жыл бұрын
Good explanation Hats off
@KiranVuyyuru
@KiranVuyyuru 7 жыл бұрын
Great talk; nice illustrations.
@guedim1982
@guedim1982 8 жыл бұрын
Great Post.
@rajeshkumarpatel5068
@rajeshkumarpatel5068 5 жыл бұрын
Nice explanation sir... Very informative.. I would say I have never attend any tech show.. Where someone explained like this during my entire career.. Lol now I got it what was missed in my eduction. 😕😕
@shaheenjamadar1933
@shaheenjamadar1933 4 жыл бұрын
Awesome session .. thank you
@sandesh4063
@sandesh4063 3 жыл бұрын
Just awesome sir 🙏🙏🙏❤️
Asynchronous Programming in Java using Virtual Threads, Venkat Subramaniam
49:16
Bulgarian Java User Group
Рет қаралды 7 М.
蜘蛛侠这操作也太坏了吧#蜘蛛侠#超人#超凡蜘蛛
00:47
超凡蜘蛛
Рет қаралды 40 МЛН
ISSEI funny story 😂😂😂Strange World 🌏 Green
00:27
ISSEI / いっせい
Рет қаралды 88 МЛН
Who enjoyed seeing the solar eclipse
00:13
Zach King
Рет қаралды 96 МЛН
The Amazing Features of Modern Java  - Venkat Subramaniam
1:02:01
Developer Summit
Рет қаралды 24 М.
Writing cleancode withmodern Java.  Miro Cupak, Dnastack
49:14
Java Streams: Beyond The Basics
49:21
Jfokus
Рет қаралды 71 М.
The purest coding style, where bugs are near impossible
10:25
Coderized
Рет қаралды 805 М.
Code Review, you said? - Venkat Subramaniam
46:06
Developer Summit
Рет қаралды 10 М.
Reactive Programming in Java by Venkat Subramaniam
52:20
Devoxx
Рет қаралды 120 М.
蜘蛛侠这操作也太坏了吧#蜘蛛侠#超人#超凡蜘蛛
00:47
超凡蜘蛛
Рет қаралды 40 МЛН