O'Reilly logo

Clojure Applied by Alex Miller, Ben Vandgrift

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Wrapping Up

While we can rely on transistor counts on modern chips to continue increasing in accordance with Moore’s Law (for now at least), we can no longer rely on a resulting increase in clock speed. Instead, we should expect an ever-growing number of cores per chip. The future belongs to languages that can automatically leverage more cores as they become available.

We’ve covered several areas where we can use extra cores to do more work. First we considered performing asynchronous work on a background thread with future. Futures should be your first choice when you need to execute an asynchronous task and possibly communicate back the result. If you need multiple values or delivery from any place in the asynchronous task, use promises. If ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required