paint-brush
In pursuit of better JVM Futures — Kotlin coroutinesby@zohaibhassan
4,845 reads
4,845 reads

In pursuit of better JVM Futures — Kotlin coroutines

by Zohaib Sibte Hassan9mMarch 4th, 2017
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

I have been working with C#’s TPL for a while now, and coming back to Java once in a while for Android or some web stuff always makes me hate every bit of it. Not the JVM part (In my opinion JVM is way better than CLR), but the writing part of it (not to say I have problems with C# here and there). The way threads and callbacks are implemented, and functions were not first class citizen until recently. Although Java 8 brings a lot to table, there are still problems that need to be addressed, one of them is Futures (or async/await or promises or deferred) and I strongly feel Kotlin even during it’s infancy is pulling off more than expected. In this blog post I am going to reason about why you need a better async programming model, a little bit of my history with Kotlin, and how Kotlin brings interesting stuff to table.

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - In pursuit of better JVM Futures — Kotlin coroutines
Zohaib Sibte Hassan HackerNoon profile picture
Zohaib Sibte Hassan

Zohaib Sibte Hassan

@zohaibhassan

L O A D I N G
. . . comments & more!

About Author

Zohaib Sibte Hassan HackerNoon profile picture
Zohaib Sibte Hassan@zohaibhassan

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Ycombinator