Kotlin has some connection with Java Threads, Executors and ExecutorServices in kotlin.concurrent but it is all very limited and low-level; not really the right abstractions for applications development. Is anyone working on kotlin.concurrent to make it useful? In particular is anyone working on extensions so as to use streams in JDK8?
I tried using an IntStream directly from Kotlin and it looks as though it will, sort of, work. The core problem is how to tranform a Kotlin function literal into a form suitable for use with sJDK8 streams.
Some future version of Kotlin stabdard library will support JDK streams.
What kind of probleams do you have using Kotlin lambdas for JDK streams? Don’t SAM conversions work for you automatically? Could you show me a code example? Thanks.