Тёмный

Java ExecutorService Using Virtual Threads 

Jakob Jenkov
Подписаться 42 тыс.
Просмотров 9 тыс.
50% 1

With the addition of Virtual Threads to Java, a special Java ExecutorService implementation was also added which executes every single task submitted to it using a separate virtual thread. In this video I show how to create and use a Java ExecutorService using virtual threads internally.
Twitter: @jjenkov
LinkedIn: / jakob-jenkov-4a3a8
If you are new to Java Virtual Threads - here is my Java Virtual Thread introduction :
Text:
jenkov.com/tut...
Video:
• Java Virtual Threads
Java ExecutorService Videos:
• Java ExecutorService -...
• Java ExecutorService -...
Java Concurrency tutorials:
Text:
jenkov.com/tut...
Video:
• Java Concurrency and M...

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

 

27 сен 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 20   
@luisfernandogomez1535
@luisfernandogomez1535 Год назад
It's such a good video, Thank you so much @Jakob in my opinion Java is a powerful language.
@JakobJenkov
@JakobJenkov Год назад
Thank you - and you are welcome :-) I agree! Java is still a great language, and it keeps getting better and better. There are of course other nice languages too, but Java is still good!
@0netom
@0netom Год назад
Well, Java itself is NOT a great language with its verbosity and mutable-state-by-default and place-oriented-programming approach, but the JVM & the JDK are the really great technologies! Clojure demonstrates quite well (for the past 15 years) how much better can both the programming experience and the programs themselves be, compared to Java or even Kotlin, on top of the very same JVM. While a lot of annoyances has been addressed in Java 21+, the fundamental problems are still there and people will keep writing code the old ways, because of the amount of old examples... :(
@adamkabena6215
@adamkabena6215 Год назад
Hello there @Jakob, I must say I do enjoy your videos quite a lot. May I request that you do one on “records”
@JakobJenkov
@JakobJenkov Год назад
Thanks ! Great to hear! ... I already made a short video about Java Records - here : ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-xs7DiEIHW0U.html
@adamkabena6215
@adamkabena6215 Год назад
@@JakobJenkov wow! how did I ever miss this...anyway, thank you. Your videos are highly appreciated.
@0netom
@0netom Год назад
The main take-away for me was the reminder that even virtual threads don't have a turn-key solution for communicating the result of their Runnables as data, back to their submitting thread.
@sanathkumaru6358
@sanathkumaru6358 Год назад
Thanks you @Jakob for such a wonderful video. Can you please give dart language a try. I personally feel dart is what java should have been. Can you please give it a try.
@JakobJenkov
@JakobJenkov Год назад
Hi Sanath, thank you for your kind words! :-) ... Regarding Dart - it is not currently of my list of languages to play with - as I have limited time available. I am more into languages such as Rust or D, or the other languages I work with in my day job, such as JavaScript, TypeScript and Python :-)
@alexop5919
@alexop5919 Год назад
Thank you!
@JakobJenkov
@JakobJenkov Год назад
You are welcome :-)
@rishiraj2548
@rishiraj2548 Год назад
Good day
@JakobJenkov
@JakobJenkov Год назад
Thank you! :-) You too!
@aibeka.9453
@aibeka.9453 Год назад
Thank you so
@JakobJenkov
@JakobJenkov Год назад
You are welcome! :-)
@zsoltfehervari625
@zsoltfehervari625 Год назад
Aren't you planning a more deep tutorial covering multiple things in a course?
@JakobJenkov
@JakobJenkov Год назад
That is what I have my playlists for, and my website jenkov.com :-)
@khusanbekgafurov
@khusanbekgafurov Год назад
Thank you very much Jakob, very informative and useful 😊😊
@JakobJenkov
@JakobJenkov Год назад
Great! You are welcome! :-)
Далее
Deadlock in Java
17:48
Просмотров 22 тыс.
КОТЯТА В ОПАСНОСТИ?#cat
00:36
Просмотров 433 тыс.
Дикий Бармалей разозлил всех!
01:00
Virtual Threads in Java 21
17:22
Просмотров 4,6 тыс.
Handle 1,000,000 Threads with Java and Spring Boot !!!
21:50
Java ForkJoinPool
27:32
Просмотров 5 тыс.
Java 21 new feature: Virtual Threads #RoadTo21
33:35
Просмотров 64 тыс.
The Java Memory Model - The Basics
23:41
Просмотров 128 тыс.
Structured Concurrency in Java 21
14:52
Просмотров 1,5 тыс.
Java Virtual Threads - Reactive Programming Killer?
13:57
C# Async Await Mistakes | Part 1
10:19
Просмотров 35 тыс.
КОТЯТА В ОПАСНОСТИ?#cat
00:36
Просмотров 433 тыс.