Devnexus 2022 - What's Looming in Java The Why and What of Project Loom - Venkat Subramaniam

  Рет қаралды 13,189

devnexus

devnexus

Күн бұрын

Пікірлер: 12
@mehmoodrehman6336
@mehmoodrehman6336 2 жыл бұрын
Threading: • Parallel vs Concurrent 1:30 • Parallel vs Asynchronous (non-blocking) 3:30 Threads: • Threads are lightweight 5:50 • But, "lightweight" is relative 7:00 • How many threads can/should you create? 7:30 • Depends on the amount of memory and number of cores 10:00 Multi-Threading, eh?: • Sequential execution 16:00 • Existing programming model: threads tied to tasks (for the most part) 16:18 • What if a task is going to take some time? 16:18 • Create more threads? 16:18 Continuation: • Subroutines 23:45 • Coroutines 24:00 • Continuations are data structures that can remember the state of a previous call and can continue from where it left off • Useful for building conversational state • run • yield • isDone Virtual-Threads of Java: 30:30 • Super lightweight threads • Managed by the JVM and not by the O/S 31:00 • When a virtual thread blocks, the task waits, but not the underlying thread 32:40 • Revisiting the thread limitations • Using fibers/virtual threads 37:10 Summary: 49:44 • Where does it make sense to use virtual threads? 49:44 discussions
@elephant742
@elephant742 Жыл бұрын
35:03 "Compiler knows what I mean and not what I type". 1 year later, GenAI says Hi ! Impressive talk Venkat. Loved it.
@elliotbarlas
@elliotbarlas 2 жыл бұрын
Best explanation of parallelism vs concurrency, hands down. The walking, talking, drinking analogy is brilliant!
@hoki8296
@hoki8296 Жыл бұрын
Oh god. I am really happy to know this video. Really well explained.
@nguyenquan4836
@nguyenquan4836 Жыл бұрын
Super explained
@IvanRandomDude
@IvanRandomDude 2 жыл бұрын
Will Loom make reactive stack obsolete then? They created reactive Spring in order to have non-blocking web stack. But now, if we can accomplish the same thing imperative style then I assume we can have "normal" Spring that is non-blocking.
@adambickford8720
@adambickford8720 2 жыл бұрын
Sure, in another 5 years you'll be able to make simple non-blocking calls. Any kind of aggregation will still be a good old java concurrency cluster fuck.
@sanjeetsingh4743
@sanjeetsingh4743 2 жыл бұрын
The king is back
@dc0cc
@dc0cc 2 жыл бұрын
Great presentation & presenter!!
@sivaa12
@sivaa12 Жыл бұрын
could you please tell me how many threads are there in a core
@luisdanielmesa
@luisdanielmesa Жыл бұрын
2
@adambickford8720
@adambickford8720 2 жыл бұрын
"Moving towards async?" We've been there for almost a decade and in another ~5 years java will be ready... and by 'ready' i mean punt us back to Exceptions like it's the 1900s. Can't wait.
Asynchronous Programming in Java using Virtual Threads, Venkat Subramaniam
49:16
Bulgarian Java User Group
Рет қаралды 14 М.
Каха и дочка
00:28
К-Media
Рет қаралды 3,4 МЛН
She made herself an ear of corn from his marmalade candies🌽🌽🌽
00:38
Valja & Maxim Family
Рет қаралды 18 МЛН
Async Programming and Project Loom by Dr Venkat Subramaniam
1:26:55
Chicago Java Users Group
Рет қаралды 9 М.
The Amazing Features of Modern Java  - Venkat Subramaniam
1:02:01
Developer Summit
Рет қаралды 33 М.
Twelve Ways to Make Code Suck Less by Venkat Subramaniam
1:00:44
Evolution of software architecture with the co-creator of UML (Grady Booch)
1:30:43
The Pragmatic Engineer
Рет қаралды 101 М.
Design Patterns Revisited in Modern Java by Venkat Subramaniam
51:30
Andrew Kelley   Practical Data Oriented Design (DoD)
46:40
ChimiChanga
Рет қаралды 156 М.