26
5
submitted 11 months ago by mac@programming.dev to c/kotlin@programming.dev
27
3
submitted 11 months ago by the_ocs@lemmy.world to c/kotlin@programming.dev

I've for a good while been using an excellent port of Scala's persistent data structures in my Kotlin code known as Dexx. This also works well from Java code.

However, while the project is what I would call feature complete, it's no longer maintained, resulting in outdated dependencies. It would also become problematic should any bugs or issues pop up.

Hence I decided to fork it as Sigbla PDS and tidy it up a bit, with v1.0 now released and ready for use.

28
3
submitted 11 months ago by mac@programming.dev to c/kotlin@programming.dev
29
6
submitted 11 months ago by Lime66@lemmy.world to c/kotlin@programming.dev

I was using freecodecamp's tutorial on Kotlin but I was told that a video isn't a good way to learn a language. So I did the hyperskill course but it marks all of my answers as wrong even when the code works, and the subscription for more than ten questions a day is crazy expensive. I will be getting atomic kotlin soon but I still want to learn before it comes

30
7
submitted 11 months ago by mac@programming.dev to c/kotlin@programming.dev
31
2
submitted 11 months ago by mac@programming.dev to c/kotlin@programming.dev
32
2
Coil goes multiplatform (talkingkotlin.com)

At least they took the grant from the Kotlin Foundation... Let's wait for version 3 to be ready!

33
5
submitted 11 months ago by mac@programming.dev to c/kotlin@programming.dev
34
3
submitted 11 months ago by the_ocs@lemmy.world to c/kotlin@programming.dev
35
1
36
1
Won't it? Open for debate (www.donnfelker.com)

Seen this post by Donn Felker (!) on some other discussion platform and though I'd like to see the opinion of Lemmings about it.

37
1
38
1
39
1
40
1

Usually when I read a KMP article it talks about mobile. This one is about JS and the JVM.

41
1
Making Multiplatform Better (talkingkotlin.com)

In this episode, we talk to Rick Clephas, one of the Kotlin Foundation Grants Program winners and the creator of KMP-NativeCoroutines and KMM-ViewModel.

When I last used KMP it was before the new memory model so I avoided coroutines as much as possible. A year later and it looks to be so much easier and better now.

42
1
43
2
Molecule and Mosaic updates out (mastodon.jakewharton.com)
44
1

Hey, I am trying to do some data storing on compose multiplatform for ios and Android and tried using Jetpack Datastores but it seems that the class Context does not exist for shared platforms does anyone have any ideas on how to do this?

45
1

I bumped into this interesting behavior around unsigned types. At first I was confused why UInt doesn't extend Number, but as I was experimenting, it got weirder. It sometimes is a Number (see case c below) and sometimes isn't (see case d)?!

val a: Int = 12
a is Number // true

val b: UInt = 12u
b is Number // doesn't compile, `Incompatible types: Number and UInt`

val c: UInt = 12u
(c as Any) is Number // true, Idea says "No cast needed"

val d: Any = 12u
d is Number // false

I guess this is partly legacy of Java, which doesn't have unsigned types, and partly effect of UInt being value class. I'm curious if someone has a deeper explanation.

46
1
Kotlin 1.9.0 Released! (blog.jetbrains.com)
47
1
48
1
49
1
50
2
view more: ‹ prev next ›

Kotlin

618 readers
1 users here now

Kotlin is a statically typed programming language for the JVM, Android, JavaScript, and native.

Subreddit rules:

Resources:

founded 1 year ago
MODERATORS