Slide 11
Slide 11 text
BUT NOT THERE YET
• Still, Future is quite law level
• We need to call blocking get() call
• It doesn’t have composability options.
• We are doing asynchronous call, but in the end, we need blocking call (e.g from
main thread)
• The other thing is, when you have a new thread, it requires to get data from
another threads, in which CPU needs point data to. Thread can run into
different core, that could leads to cache corruption etc. Also context switching
from one core to another core is expensive.
11