Scala Programming - Introduction to Threads and Futures

preview_player
Показать описание

• The backbone of Java concurrency: thread pool executors

• How and when do Futures run? (On thread pools.)

• What does it mean to be “thread safe” and “nonblocking”?

– nonblocking = uses multi-core CPU optimally

– thread safe = permits easy concurrent nonblocking code

• Some typical “gotchas” when using Futures in the real world

• Converting other async APIs to Futures and back

Slides (PDF):
Рекомендации по теме
Комментарии
Автор

Very Great, detailed video! Learned a lot. Thanks!

SunShiNnneEee
Автор

Brilliantly well explained, can't wait to check out the other vids on your channel! Thank you for the time and effort put in to this :)

jwj
Автор

Outstanding video and explanation. Is there any chance you share this presentation? It would be a wonderful "cheatsheet" to look up once in a while. Thanks!

leandrosuarez
Автор

great, what are you eating by the way? is it something tasty?

einfacherkerl
Автор

Было бы лучше показывать многопоточность сначала на callback-ах с разными задачами, например, вычислительными, потом использовать результаты в общем потоке, а уже потом обобщать на heavy-load параллелизме. Но в принципе полезное видео.

frankgrey