https://kotlinlang.org logo
Docs
Join the conversationJoin Slack
Channels
100daysofcode
100daysofkotlin
100daysofkotlin-2021
advent-of-code
aem
ai
alexa
algeria
algolialibraries
amsterdam
android
android-architecture
android-databinding
android-studio
androidgithubprojects
androidthings
androidx
androidx-xprocessing
anime
anko
announcements
apollo-kotlin
appintro
arabic
argentina
arkenv
arksemdevteam
armenia
arrow
arrow-contributors
arrow-meta
ass
atlanta
atm17
atrium
austin
australia
austria
awesome-kotlin
ballast
bangladesh
barcelona
bayarea
bazel
beepiz-libraries
belgium
berlin
big-data
books
boston
brazil
brikk
budapest
build
build-tools
bulgaria
bydgoszcz
cambodia
canada
carrat
carrat-dev
carrat-feed
chicago
chile
china
chucker
cincinnati-user-group
cli
clikt
cloudfoundry
cn
cobalt
code-coverage
codeforces
codemash-precompiler
codereview
codingame
codingconventions
coimbatore
collaborations
colombia
colorado
communities
competitive-programming
competitivecoding
compiler
compose
compose-android
compose-desktop
compose-hiring
compose-ios
compose-mp
compose-ui-showcase
compose-wear
compose-web
connect-audit-events
corda
cork
coroutines
couchbase
coursera
croatia
cryptography
cscenter-course-2016
cucumber-bdd
cyprus
czech
dagger
data2viz
databinding
datascience
dckotlin
debugging
decompose
decouple
denmark
deprecated
detekt
detekt-hint
dev-core
dfw
docs-revamped
dokka
domain-driven-design
doodle
dsl
dublin
dutch
eap
eclipse
ecuador
edinburgh
education
effective-kotlin
effectivekotlin
emacs
embedded-kotlin
estatik
event21-community-content
events
exposed
failgood
fb-internal-demo
feed
firebase
flow
fluid-libraries
forkhandles
forum
fosdem
fp-in-kotlin
framework-elide
freenode
french
fritz2
fuchsia
functional
funktionale
gamedev
ge-kotlin
general-advice
georgia
geospatial
german-lang
getting-started
github-workflows-kt
glance
godot-kotlin
google-io
gradle
graphic
graphkool
graphql
graphql-kotlin
graviton-browser
greece
grpc
gsoc
gui
hackathons
hacktoberfest
hamburg
hamkrest
helios
helsinki
hexagon
hibernate
hikari-cp
hire-me
hiring
hongkong
hoplite
http4k
hungary
hyderabad
image-processing
india
indonesia
inkremental
intellij
intellij-plugins
intellij-tricks
internships
introduce-yourself
io
ios
iran
israel
istanbulcoders
italian
jackson-kotlin
jadx
japanese
jasync-sql
java-to-kotlin-refactoring
javadevelopers
javafx
javalin
javascript
jdbi
jhipster-kotlin
jobsworldwide
jpa
jshdq
juul-libraries
jvm-ir-backend-feedback
jxadapter
k2-early-adopters
kaal
kafka
kakao
kalasim
kapt
karachi
karg
karlsruhe
kash_shell
kaskade
kbuild
kdbc
kgen-doc-tools
kgraphql
kinta
klaxon
klock
kloudformation
kmdc
kmm-español
kmongo
knbt
knote
koalaql
koans
kobalt
kobweb
kodein
kodex
kohesive
koin
koin-dev
komapper
kondor-json
kong
kontent
kontributors
korau
korean
korge
korim
korio
korlibs
korte
kotest
kotest-contributors
kotless
kotlick
kotlin-asia
kotlin-beam
kotlin-by-example
kotlin-csv
kotlin-data-storage
kotlin-foundation
kotlin-fuel
kotlin-in-action
kotlin-inject
kotlin-latam
kotlin-logging
kotlin-multiplatform-contest
kotlin-mumbai
kotlin-native
kotlin-pakistan
kotlin-plugin
kotlin-pune
kotlin-roadmap
kotlin-samples
kotlin-sap
kotlin-serbia
kotlin-spark
kotlin-szeged
kotlin-website
kotlinacademy
kotlinbot
kotlinconf
kotlindl
kotlinforbeginners
kotlingforbeginners
kotlinlondon
kotlinmad
kotlinprogrammers
kotlinsu
kotlintest
kotlintest-devs
kotlintlv
kotlinultimatechallenge
kotlinx-datetime
kotlinx-files
kotlinx-html
kotrix
kotson
kovenant
kprompt
kraph
krawler
kroto-plus
ksp
ktcc
ktfmt
ktlint
ktor
ktp
kubed
kug-leads
kug-torino
kvision
kweb
lambdaworld_cadiz
lanark
language-evolution
language-proposals
latvia
leakcanary
leedskotlinusergroup
lets-have-fun
libgdx
libkgd
library-development
linkeddata
lithuania
london
losangeles
lottie
love
lychee
macedonia
machinelearningbawas
madrid
malaysia
mathematics
meetkotlin
memes
meta
metro-detroit
mexico
miami
micronaut
minnesota
minutest
mirror
mockk
moko
moldova
monsterpuzzle
montreal
moonbean
morocco
motionlayout
mpapt
mu
multiplatform
mumbai
munich
mvikotlin
mvrx
myndocs-oauth2-server
naming
navigation-architecture-component
nepal
new-mexico
new-zealand
newname
nigeria
nodejs
norway
npm-publish
nyc
oceania
ohio-kotlin-users
oldenburg
oolong
opensource
orbit-mvi
osgi
otpisani
package-search
pakistan
panamá
pattern-matching
pbandk
pdx
peru
philippines
phoenix
pinoy
pocketgitclient
polish
popkorn
portugal
practical-functional-programming
proguard
prozis-android-backup
pyhsikal
python
python-contributors
quasar
random
re
react
reaktive
realm
realworldkotlin
reductor
reduks
redux
redux-kotlin
refactoring-to-kotlin
reflect
refreshversions
reports
result
rethink
revolver
rhein-main
rocksdb
romania
room
rpi-pico
rsocket
russian
russian_feed
russian-kotlinasfirst
rx
rxjava
san-diego
science
scotland
scrcast
scrimage
script
scripting
seattle
serialization
server
sg-user-group
singapore
skia-wasm-interop-temp
skrape-it
slovak
snake
sofl-user-group
southafrica
spacemacs
spain
spanish
speaking
spek
spin
splitties
spotify-mobius
spring
spring-security
squarelibraries
stackoverflow
stacks
stayhungrystayfoolish
stdlib
stlouis
strife-discord-lib
strikt
students
stuttgart
sudan
swagger-gradle-codegen
swarm
sweden
swing
swiss-user-group
switzerland
talking-kotlin
tallinn
tampa
teamcity
tegal
tempe
tensorflow
terminal
test
testing
testtestest
texas
tgbotapi
thailand
tornadofx
touchlab-tools
training
tricity-kotlin-user-group
trójmiasto
truth
tunisia
turkey
turkiye
twitter-feed
uae
udacityindia
uk
ukrainian
uniflow
unkonf
uruguay
utah
uuid
vancouver
vankotlin
vertx
videos
vienna
vietnam
vim
vkug
vuejs
web-mpp
webassembly
webrtc
wimix_sentry
wwdc
zircon
Powered by Linen
feed
  • o

    Oleg Yukhnevich

    12/17/2021, 12:28 PM
    Hey, new release of rsocket-kotlin is here! 0.14.3 brings support for fragmentation, improved transport API and kotlin 1.6.10. Available on Maven Central! Stay tuned, as future releases will contain support for Resumption, Leasing (Request limiting) and experimental QUIC support on JVM via Netty QUIC codec! Release Notes | Changelog
    👍 5
    :kotlin-intensifies: 2
    🚀 3
    👍🏻 1
    y
    • 2
    • 3
  • a

    altavir

    12/19/2021, 12:02 PM
    After almost a year being a draft, the article about problems with plugin model in Gradle is out: https://medium.com/@altavir/what-is-wrong-with-gradle-a312a7ceb651. It is complementary to the talk I've made here (I hope that the recording will be available soon). In the talk I explain why Gradle is unique in its flexibility, but there are some problems. The article mostly about global design, but is based mostly on gradle.kts.
    :gradle: 5
    👍 11
    k
    n
    +3
    • 6
    • 15
  • n

    nilTheDev

    12/19/2021, 2:45 PM
    TL;DR I have created a script that would let you try out small snippet of Kotlin code from the terminal. So, you don't have to launch
    intelliJ
    to try out simple Kotlin code. I would like to know how you are trying out simple Kotlin code? Would you like to use the script? Or create one? One thing I love about interpreted languages line Python is being able to try out a code snippet directly from the command line. In Python, you can either use the interactive shell or save it in a
    .py
    file and run it using
    python script.py
    . However, when it comes to Kotlin the scenario is hugely different. Most of the times I have to launch
    intelliJ
    to understand the behaviour of a simple code. And launching an IDE is no joke. It takes a lot of time for starting and indexing. And if any extra dependency is needed we have to initialise a Gradle project for that. The web based Kotlin Playground is more convenient. But sadly we can't add any third party dependencies there. I have always wanted something that would allow us to run a
    .kt
    file from the command line. But I couldn't find something like that. But today I wrote a
    python
    script that allows me to run a Kotlin file from the command line. For example, Create a file with
    .kt
    extension and write some code in it.
    // filename -> app.kt
    
    fun main(){
        println("Hello, world")
    }
    Then in the terminal type this,
    >> kotlin app.kt
    
    Hello, world // the output
    I would like to know how you are trying out small snippets of Kotlin code. Would you be interested in a tutorial that would show you how to create this kind of script? Let me know 🙂
    🆒 3
    b
    j
    +3
    • 6
    • 14
  • n

    nfrankel

    12/19/2021, 4:49 PM
    https://blog.frankel.ch/beautify-third-party-api-kotlin/
    :nice: 1
    :kotlin-intensifies: 4
    j
    • 2
    • 1
  • k

    Kyle Roe

    12/21/2021, 8:30 AM
    Hey everyone 👋 While working at different places on different projects its always been interesting how developers choose to go about creating models for unit tests. I’ve seen some projects redundantly create new models for each and every test, and some projects create factories, with static models that they then use everywhere. Long story short, at work we wanted to clean up some of these tests so two of us started working on a library that would automat this for us and generate random models with actual data. The fruits of our labor can be found below 🤓 We have been using it in production for about 6 months now 🚀 We would be eternally grateful for any feedback you might have 🙏 and to see wether it potentially fits your use cases as well. Please take a look, try it out and let us know what you think 🙌 Collaboration welcome 👩‍💻 👨‍💻 https://github.com/HelloCuriosity/model-forge
    :nice: 1
    j
    d
    m
    • 4
    • 8
  • b

    Big Chungus

    12/22/2021, 1:12 PM
    kon@1.1.4 is out with version bumps and extended docs. KON is lightweight MPP DSL for JSON data creation and manipulation with JS object (
    {}
    ) and kotlinx-serialization interop.
    👍 2
    :kotlin-intensifies: 3
    a
    • 2
    • 2
  • m

    Maksims Kims

    12/23/2021, 1:04 PM
    Hi, I have written the next part of my Coroutines series: https://maxkim.eu/things-every-kotlin-developer-should-know-about-coroutines-part-3-structured-concurrency
    🙌 3
    :kotlin-intensifies: 3
    :kotlin-intensifies-purple: 1
    d
    • 2
    • 5
  • t

    Talha Fakioglu

    12/26/2021, 6:07 PM
    Hi all, I published new article about multi module architecture. I waiting for your feedbacks. https://talhafaki05.medium.com/what-is-multi-module-arch-7fe0eca2fff8
    👀 2
    🙌 2
    s
    a
    • 3
    • 7
  • j

    Jakob Löhnertz

    12/30/2021, 7:00 AM
    Since I was intrigued by this for quite some time already, I analyzed almost 40 of Kotlin's features and language constructs (which are probably almost all there are) to see how each ends up looking when compiled to run on the JVM as the target platform (which of course is the most common target still)! Since byte-code is pretty tedious to read, I created an example for each, compiled that into JVM byte-code and then decompiled it again into Java to have a more or less close look at what the results are. This is of course not 100% accurate but for most features the output is pretty clear. I produced a video looking at the most interesting ones and discussing them:

    https://youtu.be/6pWXre4gDyM▾

    :kotlin-intensifies-purple: Additionally, I published all of the examples in a repository: https://github.com/The-Self-Taught-Software-Engineer/kotlin-decompiled
    ❤️ 7
    🆒 1
    e
    s
    • 3
    • 8
  • b

    Big Chungus

    12/30/2021, 6:16 PM
    There's been another surge of questions regarding Kotlin/JS interop recently so I went ahead and summed up what I've learned throughout the years in an article. Hope it helps the Kotlin/JS adoption!
    👍 7
    m
    • 2
    • 2
  • d

    Dmitry Kandalov

    12/31/2021, 10:00 AM
    I wrote a blog post about creating plugins for IntelliJ IDEs using Kotlin and LivePlugin https://dmitrykandalov.com/liveplugin
    ❤️ 4
    💪 1
    👏 5
    👏🏼 1
    🚀 3
    ➕ 1
    🙌 2
    h
    h
    • 3
    • 2
  • n

    nfrankel

    12/31/2021, 3:47 PM
    https://www.infoq.com/news/2021/12/protocol-buffers-kotlin-dsl/
    👍 4
    d
    • 2
    • 1
  • s

    Slackbot

    01/03/2022, 11:58 AM
    This message was deleted.
    👎 4
    🚓 5
    n
    s
    • 3
    • 2
  • s

    Slackbot

    01/03/2022, 10:30 PM
    This message was deleted.
    a
    y
    • 3
    • 2
  • v

    Vitaliy Zarubin

    01/04/2022, 6:21 PM
    Finally, I finished the first part of the KMM project. I finished MVP application for android on Jetpack Compose. As a result, there are 5 libraries that can help Android developers with Jetpack Compose for their applications. • Compose Routing - Systematization and navigation • Compose Forms - Systematization, validation, custom fields • Compose Modifier Extension - Extensions for modifier • Compose Requests - Handling requests and states for Jetpack compose • KeyGenQt Accompanist - Custom features for Jetpack compose The project is here. Thank you for your attention. Happy New Year!
    ❤️ 1
    👍 2
    👍🏽 1
    m
    • 2
    • 2
  • f

    Filippo Vigani

    01/12/2022, 8:19 PM
    Hello, is jcenter officially dead? I thought it should've been supported until the 1st of february, but I get 502 https://jcenter.bintray.com/. Now my gradle sync won't work, even if I replace the repositories with maven central, it will still try to download
    gradle-kotlin-dsl-plugins
    from jcenter
    k
    b
    +2
    • 5
    • 8
  • s

    Slackbot

    01/15/2022, 6:02 AM
    This message was deleted.
    🗑️ 1
    k
    • 2
    • 1
  • m

    Maksims Kims

    01/16/2022, 4:21 PM
    Hey, everyone! The next part in my coroutines series is out. talking about cancellation: https://maxkim.eu/things-every-kotlin-developer-should-know-about-coroutines-part-5-cancellation
    👍 3
    👍🏻 1
    j
    h
    • 3
    • 3
  • n

    nfrankel

    01/17/2022, 5:30 PM

    https://www.youtube.com/watch?v=YfrZB3IiTWo▾

    :plus1: 1
    m
    a
    • 3
    • 4
  • s

    Slackbot

    01/18/2022, 8:44 AM
    This message was deleted.
    a
    t
    • 3
    • 2
  • p

    Piotr Krzemiński

    01/20/2022, 8:27 AM
    looking for early adopters of my new library, along with a kind request for feedback 🙂 https://github.com/krzema12/github-actions-kotlin-dsl/
    👍 9
    👍🏼 1
    b
    r
    e
    • 4
    • 8
  • m

    MD

    01/20/2022, 1:13 PM
    Hey everyone! I'd like to share with you a Jetpack Compose game I've been working on. https://github.com/mariodujic/Neon
    scrcpy_2022-01-20_14-05-33.mp4
    👍🏻 1
    🤘 6
    👏🏻 1
    👍 14
    🚀 7
    👍🏽 2
    👏 5
    👍🏼 1
    v
    • 2
    • 2
  • a

    Adib Faramarzi

    01/24/2022, 6:43 AM
    Checkout Faradle, a Wordle made complete in Jetpack Compoose. https://twitter.com/TheSNAKY/status/1485503193085845511?s=20
    👍🏻 1
    🙌 1
    :kotlin-intensifies: 5
    🙌🏻 1
    👍 3
    t
    • 2
    • 2
  • p

    pablisco

    01/24/2022, 9:31 AM
    I made a thread with some fun ways to implement fibonacci in Kotlin. How you all enjoy it 🙂 https://twitter.com/pablisc0/status/1485544573921280002
    👍 4
    a
    d
    +2
    • 5
    • 21
  • b

    Big Chungus

    01/24/2022, 6:26 PM
    npm-publish@2.1.2 is out with upgrade to kotlin plugin 1.6.10 and some minor compatability fixes.
    👍 4
    🙏 1
    t
    • 2
    • 3
  • a

    altavir

    01/31/2022, 2:01 PM
    A recording of English version of my Joker talk about mathematics library architecture is published:

    https://youtu.be/yP5DIc2fVwQ▾

    . The topic requires additional discussion so everyone interested could start a discussion in #mathematics.
    👍🏼 1
    👍🏻 2
    👍 2
    r
    m
    • 3
    • 3
  • k

    Katarzyna

    02/04/2022, 8:06 AM
    Introducing the Kobby Plugin — a code generator of Kotlin GraphQL Client. Let’s try it out! Sounds interesting, then read the article written by Dmitry Ermakov. 👇 https://blog.kotlin-academy.com/how-to-generate-kotlin-dsl-client-by-graphql-schema-707fd0c55284
    ❤️ 6
    👍🏻 1
    👍 2
    a
    r
    +2
    • 5
    • 7
  • b

    Big Chungus

    02/06/2022, 10:35 AM
    gradle-kotlin-delegates@0.0.2 is out with simplified and reworked API to unlock gradle Property tracking. It's a library for gradle plugin authors to allow exposing more natural exntension API for the end-users via kotlin delegates.
    j
    • 2
    • 3
  • l

    LeHaine

    02/08/2022, 2:59 AM
    I just released the first version (v0.1.0) of the 2D multiplatform game framework I've been working on for the past few months 🙂 https://github.com/littlektframework/littlekt
    :kotlinnew: 3
    👍🏻 2
    👍 12
    :kotlin-intensifies: 7
    :kotlin-intensifies-purple: 15
    t
    v
    +3
    • 6
    • 6
  • a

    Abhi

    02/08/2022, 1:25 PM
    Hi Kotliners! I wrote a Kotlin Redis client using co-routines. Check this out, i welcome you to review it, provide feedback, contribute to it, use it. https://github.com/crackthecodeabhi/kreds Please give Github stars, so it encourages me to contribute more to Kotlin Server side and the Kotlin Server side community! Your stars and feedback means a lot! Thanks!
    👍 2
    :kotlin-intensifies-purple: 6
    b
    r
    • 3
    • 8
Powered by Linen
Title
a

Abhi

02/08/2022, 1:25 PM
Hi Kotliners! I wrote a Kotlin Redis client using co-routines. Check this out, i welcome you to review it, provide feedback, contribute to it, use it. https://github.com/crackthecodeabhi/kreds Please give Github stars, so it encourages me to contribute more to Kotlin Server side and the Kotlin Server side community! Your stars and feedback means a lot! Thanks!
👍 2
:kotlin-intensifies-purple: 6
b

Big Chungus

02/08/2022, 1:35 PM
I feel like you might've missed out on a pun here -
kredits
😄
Cool project otherwise
a

Abhi

02/08/2022, 1:38 PM
Haha, good one!
Thanks!
b

Big Chungus

02/08/2022, 1:42 PM
Do you plan on making it multiplatform somewhere down the line?
a

Abhi

02/08/2022, 2:02 PM
Maybe, if people show interest but i doubt since, node, and native have many options available. My current goal is to make it a quality redis library for Kotlin using coroutines, as i did not find any pure Kotlin library for Redis under redis clients.
r

rrva

02/23/2022, 8:59 PM
Saw your project, good stuff! I wrote this but never came around to use it in any production code: https://github.com/rrva/coredis
👍 2
a

Abhi

03/22/2022, 10:30 AM
Amazing! Maybe we can collaborate? Are you interested?
View count: 254