Beware of Build Time Bloat
Reddit » Kotlin
by /u/KotlinMultiplatform
2h ago
Slow Kotlin Multiplatform iOS build times? Many teams are building more architectures than needed or intended. Ensure you are not wasting build time https://touchlab.co/touchlab-build-only-what-you-need submitted by /u/KotlinMultiplatform [visit reddit] [comments ..read more
Visit website
App dev in kotlin
Reddit » Kotlin
by /u/nabeelshan23
8h ago
What things I should learn to develop an app in kotlin. So that I can earn money from freelancing. submitted by /u/nabeelshan23 [visit reddit] [comments ..read more
Visit website
Kotlin K2 Compiler Migration Guide Now Available
Reddit » Kotlin
by /u/Alyona_Cherny
10h ago
Enable the new K2 compiler in your projects and experience the future of Kotlin today! Our migration guide has everything you need to transition smoothly and start benefiting from improved compiler performance. Discover how to migrate your projects: https://kotl.in/mn3wmk submitted by /u/Alyona_Cherny [visit reddit] [comments ..read more
Visit website
Ktor and Dependency Injection
Reddit » Kotlin
by /u/dmcg
10h ago
Last week (https://youtu.be/cfivesAC_cw) we looked at how we can use Loom virtual threads to enable thousands of simultaneous connections to a Kotlin server without coroutines. Even so loyal viewer David remains unconvinced that he can replace Ktor, JetBrains’ server offering, with http4k, the plucky British underdog. So I decided to take a look at Ktor to understand why. I started by looking at Ktor (https://ktor.io/) example code. The one I picked (https://ktor.io/docs/server-create-http-apis.html) doesn’t have good test coverage, so I thought that I’d add some. This revealed that the code ..read more
Visit website
My new setup
Reddit » Kotlin
by /u/EditorOpen9436
15h ago
submitted by /u/EditorOpen9436 [visit reddit] [comments ..read more
Visit website
Need suggestion
Reddit » Kotlin
by /u/MrVigoour
18h ago
As a begineer,which is best to learn for app development ,kotlin or java?? submitted by /u/MrVigoour [visit reddit] [comments ..read more
Visit website
Using Kotlin in algorithms interviews, do you take advantage of the nice Kotlin features?
Reddit » Kotlin
by /u/that_one_dev
18h ago
One thing that struck out to me when looking at some leetcode solutions is a lot of them are using Java.util.Stack for stacks. I was bouncing ideas off of Chat GPT and it loves using ArrayDeque and swears by it for its efficiency. I haven't ever used ArrayDeque so I was a little caught off guard by it and got me thinking about how smart it'd be to bust this stuff out in interviews. Should I just stick to using Stack or do you think it'd be better to use ArrayDeque and explain why. I only worry that it'd take away from the algorithm solution itself but maybe it'd be a benefit. I don't want to ..read more
Visit website
Kotlin Multiplatform library initializer?
Reddit » Kotlin
by /u/one_mil_guy
1d ago
i just upgraded to intellij 2024 from 2019 (don't ask me why), i can't initialize a multiplatform library project like i used to do, i tried to go for the docs but it seems like everything is shifted toward "Multiplatform Compose" rather than just a bare project. please tell me what happened! i just need to fill my weekend with something submitted by /u/one_mil_guy [visit reddit] [comments ..read more
Visit website
Teleport Android Developer Role
Reddit » Kotlin
by /u/Rich_Yogurt8952
1d ago
Want to build the future of rideshare with us? P.S. The #1 request from our community is for the Android app. You will help us make many users happy! Apply now! submitted by /u/Rich_Yogurt8952 [visit reddit] [comments ..read more
Visit website
Help with polymorphic deserialization
Reddit » Kotlin
by /u/ayushshrestha8920
1d ago
Trying to write a websocket app where the type of data is determined by event, I found help with polymorphic serialization but couldnot find deserialization interface WSEvent { val event: String } interface WSData<T> { val data: T } @Serializable data class WSMessage<T>(override val event: String, override val data: T) : WSEvent, WSData<T> fun getWSEvent(data: String): String { return Json.decodeFromString<WSEvent>(data).event } fun <T> getWSData(data: String): T { wsJson.decodeFromString<WSData<T>>(PolymorphicSerializer(WSData::class), data).data re ..read more
Visit website

Follow Reddit » Kotlin on FeedSpot

Continue with Google
Continue with Apple
OR