|
You are here |
prashamhtrivedi.in | ||
| | | | |
sookocheff.com
|
|
| | | | | Writing correct programs is hard; writing correct concurrent programs is harder. Java Concurrency in Practice. So, why bother with concurrency? A number of reasons: Concurrency provides a natural method for composing asynchronous code. Concurrency allows your program to avoid blocking user operations. Concurrency provides one of the easiest ways take advantage of multi core systems. As processor counts increase, exploiting concurrency will be an even more important facet of high performance systems. | |
| | | | |
ericniebler.com
|
|
| | | | | TL;DR: "Structured concurrency" refers to a way to structure async computations so that child operations are guaranteed to complete before their parents, just the way a function is guaranteed... | |
| | | | |
www.javaadvent.com
|
|
| | | | | When JetBrains first announced coroutines as Kotlin's asynchronous programming solution, many developers were intrigued but doubtful whether or not this shiny new gem would be enough to solve all their asynchronous problems. At that time, in the Java world, the market standard was the reactive library RxJava (which also has equivalents in other languages - [...] | |
| | | | |
cppstories.com
|
|
| | | Some time ago I covered how to use custom deleters with smart pointers. The basic idea is to specify a dedicated method that will be called when a pointer is released. One logical application of custom deleters might be resource handles like files or the WinApi HANDLE type. Let's see how can we implement such thing. | ||