Skip to content

Latest commit

 

History

History
26 lines (23 loc) · 1.25 KB

Fibers and Actors in Kotlin with Quasar.md

File metadata and controls

26 lines (23 loc) · 1.25 KB
title date author tags keywords categories reward reward_title reward_wechat reward_alipay source_url
Fibers and Actors in Kotlin with Quasar
2015-06-04 11:44:00 -0700
Andrey Breslav
官方动态
false
Have a nice Kotlin!

In the previous post we mentioned that the Quasar library now supports Kotlin, providing awesome support for fibers (lightweight threads), Go-like channels, Erlang-like actors, and other asynchronous tools. Our friends from Parallel Universe have published a blog post that dives into details of using Quasar with Kotlin. Even in the unlikely case that multithreading doesn’t concern you much, Quasar/Kotlin integration is a great example of a “DSL” library written in Kotlin, it uses

  • data classes
  • top-level functions
  • lambdas
  • annotated expressions
  • when-expressions
  • inline functions

to build a natural-looking and efficient API, and the blog post explains it very well. Enjoy!