Better HN
topnewbestaskshowjobs
Log inSign up

abukros

1 karma · joined Oct 2, 2017 (9y ago) · 4 submissions

Submissions

comment 8y ago · link · parent

Wow! Nice article! I'm thrilled to know more about Kotlin's type system.

comment 8y ago · link · parent

I think the way is to write libraries for these use-cases. There is already a persistence lib for Kotlin Native called KNArch.db https://github.com/touchlab/knarch.db and it supports Android too.

We are already using libraries to make easier to use background threads (RxJava, RxSwift) so I don't think it's that hard to implement a cross platform lib for that purpose. JetBrains is already trying to tackle the task with Coroutines for Kotlin Native: https://github.com/Kotlin/kotlinx.coroutines/tree/master/nat...

comment 8y ago · link · parent

Yes. That’s a problem for MP too. But maybe you can select a proper slice of the application that can work without these libs and implement that code as a shared MP lib.

comment 9y ago · link · parent

What do you guys think about how it compares to Rx? There are opinions about they are on a different abstraction level so they don't compete with each other.