Тёмный

Java 21 in Two Minutes... more or less 

Java
Подписаться 179 тыс.
Просмотров 36 тыс.
50% 1

Java 21 will be released this week. Let's take a quick look at the key features arriving in this release in two minutes... more or less.
More info ➱ inside.java
Tags: #Java #OpenJDK #Java21 #JDK21

Наука

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

 

17 сен 2023

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 46   
@Devertelo
@Devertelo 10 месяцев назад
Excited for Virtual Threads
@billykorando6820
@billykorando6820 10 месяцев назад
Me too! 🧵
@Mohamedrasvi
@Mohamedrasvi 10 месяцев назад
Me too..I am one step away from changing java version from rc to 21.
@motionattached
@motionattached Месяц назад
Among Reactive programming, asynchronous coding , or virtual thread way, they never specify which way to go in terms of performance measure.
@BroccoliRocks
@BroccoliRocks 10 месяцев назад
I like the way this video was done. It is best to start with a short overview, like this video and then go on to progressively more in depth videos depending on viewer interest.
@billykorando6820
@billykorando6820 10 месяцев назад
Thank you!
@chaoslab
@chaoslab 10 месяцев назад
Thanks for the update.🥰
@manizaeim
@manizaeim 10 месяцев назад
I am extremely excited about jdk 21
@MrAikien
@MrAikien 10 месяцев назад
Me too 😊
@yash1152
@yash1152 9 месяцев назад
1:44 JEP String template 1:46 JEP 442 FFI Foreign Fxn Interface niiiiice (:
@BlueIsLeet
@BlueIsLeet 10 месяцев назад
1:43 I wish they would have gone the Kotlin route of string templates. It will definitely take some adjusting to get used to the Java way, when released.
@maorhamami8106
@maorhamami8106 10 месяцев назад
simple - just keep using kotlin as syntatic sugar. kotlin take advantage of all of those new jvm features so any update to the jdk is awesome :)
@shubhammanecr7
@shubhammanecr7 10 месяцев назад
String templates🔥
@MrAikien
@MrAikien 10 месяцев назад
Awesome 👍
@mohsenzamani6000
@mohsenzamani6000 10 месяцев назад
Thanks
@johnoricha7088
@johnoricha7088 8 месяцев назад
Is virtual threads Java's equivalent for Kotlin Coroutines?
@samacharam8324
@samacharam8324 10 месяцев назад
I love java
@csm2526
@csm2526 9 месяцев назад
That is all ok but can I foretell the execution time of a program without executing it?
@b0roovka
@b0roovka 9 месяцев назад
Why a mug if there's no coffee in it? Just kidding... really nice video. Keep up the good work.
@AbdullahAlMamun-fh9gs
@AbdullahAlMamun-fh9gs 10 месяцев назад
May be it will be better to use ${title} rather than \{title} because every developer is familiar with ${title}. Thanks.
@DinMamma002
@DinMamma002 10 месяцев назад
Even better if you could decide that yourself in StringTemplateProcessor!
@zeroanyway
@zeroanyway 10 месяцев назад
No, not better. jep describes the reasons.
@billykorando6820
@billykorando6820 10 месяцев назад
The \{title} is used because it's invalid syntax when used in a String and it would be a way for the compiler to know what is a normal String and what is a String template. Because of the existing base of Java code, making the switch to use ${} would cause Java users A LOT of pain. Far more than it would be conceivably be worth than the relatively low cost of learning that \{} is used in Java instead of ${}.
@Dabayare
@Dabayare 10 месяцев назад
How is this going to affect Android development?
@mangos1346
@mangos1346 10 месяцев назад
Does switch need yield to be used as an expression?
@billykorando6820
@billykorando6820 10 месяцев назад
Hmmm... a bit to unpack here... yield is used for a multi-line case for a switch expression using the -> syntax, or any switch case using : syntax. However it's a common misconception that all switches using -> are expressions, they can also be statements (they don't yield value), in which case you wouldn't use yield. They also don't need to be exhaustive (expression must be exhaustive). However again, if you are using pattern matching, in either a expression or statement (with -> or : syntax), it does need to be exhaustive.
@coderlady_
@coderlady_ 9 месяцев назад
If I were to start a spring boot project from scrach, is it better of using java 21?
@user-ew5mc1nm2d
@user-ew5mc1nm2d 8 месяцев назад
from job point of view many companies are still at java 8 or 11
@jabuci
@jabuci 10 месяцев назад
I was excited to see standalone functions (JEP 445) in Java 21 but it's still in preview. What a shame!
@yash1152
@yash1152 9 месяцев назад
2:07
@jabuci
@jabuci 9 месяцев назад
@@yash1152 preview
@BorisTheDev
@BorisTheDev 8 месяцев назад
Bye bye public static void main
@yoapps137
@yoapps137 10 месяцев назад
They better have some better examples for threads unlike the way they screwed up the Executer service examples
@jagadeeshchirasani
@jagadeeshchirasani 10 месяцев назад
earlier they would have called this Java 5.6.823 release. Not any more 😢
@hayrullahyasar
@hayrullahyasar 10 месяцев назад
Haaapy coding ☺️
@LeotrimVojvoda
@LeotrimVojvoda 10 месяцев назад
Please tell us next time that your cup is empty
@MrAikien
@MrAikien 10 месяцев назад
😆😆😆
@122mlb
@122mlb 10 месяцев назад
☕☕☕☕☕
@gDotTheGod
@gDotTheGod 10 месяцев назад
They're just watching what c# is doing at this point
@josealonso7321
@josealonso7321 10 месяцев назад
I think it's Scala or Kotlin what they are watching.
@stevefan8283
@stevefan8283 10 месяцев назад
and golang. virtual thread is literally copied from goroutine
@silentprotagonist3786
@silentprotagonist3786 4 месяца назад
Is it bad though to incorporate features from other languages?
@kahnfatman
@kahnfatman 9 месяцев назад
The new features in Java do not make me vomit like those in C#
@nixoncode
@nixoncode 10 месяцев назад
please copy kotlin "just the good parts", am not going to switch languages again
@gofudgeyourselves9024
@gofudgeyourselves9024 10 месяцев назад
cup is empty
@MerveSoftware
@MerveSoftware 10 месяцев назад
java excites me more than ever ☕️🫶🏻🥹
Далее
Java 21 API New Features #RoadTo21
16:48
Просмотров 39 тыс.
What is the Java Job delusion?
12:23
Просмотров 112 тыс.
Java 22 is FINALLY HERE! And I love it!
4:24
Просмотров 1,9 тыс.
Brian Goetz Answers Your Java Questions
33:08
Просмотров 16 тыс.
Java 21 new feature: Virtual Threads #RoadTo21
33:35
Просмотров 59 тыс.
Java is mounting a huge comeback
3:40
Просмотров 1,1 млн
Every Programming Language Ever Explained in 15 Minutes
15:29
АЙФОН Г0ВН0
0:54
Просмотров 1,3 млн
How to Soldering wire in Factory ?
0:10
Просмотров 5 млн