Kotlin

7

Bye Bye Hibernate – Discovering alternatives to Hibernate in Kotlin

At bol.com we host a hackathon day every so many months. Developers get to pitch their hackathon idea, so that other developers can join and help them. Sander was curious about other ORM frameworks available for Kotlin. And so, the idea to look for alternatives of Hibernate in Kotlin as a hackathon project came up.

Bye Bye Hibernate – Discovering alternatives to Hibernate in Kotlin

Coroutine Gotchas - Bridging the Gap between Coroutine and Non-Coroutine Worlds

Coroutines are a wonderful way of writing asynchronous, non-blocking code in Kotlin. Think of them as lightweight threads, because that’s exactly what they are. Lightweight threads aim to reduce context switching, a relatively expensive operation. Moreover, you can easily suspend and cancel them anytime. Sounds great, right?

Coroutine Gotchas - Bridging the Gap between Coroutine and Non-Coroutine Worlds

Measuring execution time in Kotlin coroutines

1. Background kotlinx. coroutines is one of the asynchronous (and concurrency) libraries in Kotlin for writing asynchronous, non-blocking code.

Measuring execution time in Kotlin coroutines

Sushi: A DSL for Conversational Flow Design

TL;DR We share our experience on how we built a conversational bot with Finite State Machines. It turned out to have its own shortcomings so we built a (Domain-Specific Language) DSL to design our flows and called it “Sushi”. Sushi is a more flexible and straight-forward tool to build complicated flows.

Sushi: A DSL for Conversational Flow Design