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
  • d

    doyaaaaaaken

    08/30/2021, 12:59 PM
    Hello everyone! I have released kotlin-csv@1.0.0. This major version update includes Kotlin/JS support. As always any feedback is welcomed 😄
    :kotlin-intensifies: 12
    a
    s
    • 3
    • 2
  • e

    edrd

    08/30/2021, 11:04 PM
    https://aws.amazon.com/blogs/developer/aws-sdk-for-kotlin-alpha-release/
    :kotlin-intensifies: 21
    :party-parrot: 1
    👍 1
    :kotlin: 5
    b
    • 2
    • 1
  • f

    FunkyMuse

    09/01/2021, 12:00 AM
    Hello folks, I've written an article focused on some of the points that have been on my mind lately regarding software engineering https://funkymuse.dev/posts/software_engineering_2021/
    👍🏼 1
    👍 3
    👏 1
    m
    • 2
    • 1
  • k

    Katarzyna

    09/01/2021, 7:51 AM
    Morning 🙂 A deep dive into how suspension and continuations work under the hood. Coroutines under the hood by @marcinmoskala 👇 https://kt.academy/article/cc-under-the-hood
    m
    o
    • 3
    • 2
  • r

    Ryan Rolnicki

    09/01/2021, 5:04 PM
    Random thing I threw together: CSV -> data class generator VSCode extension. Very rudimentary and probably rough around the edges, but maybe useful if anyone works with CSVs often. 'tis my very first VSCode extension, so any comments or thoughts would be much appreciated!
    t
    • 2
    • 3
  • m

    marcinmoskala

    09/02/2021, 5:18 AM
    We are organising the following workshops in October: • Kotlin Coroutines - 2-day workshop for 280 EUR, online, 9-17 CET • Effective Kotlin - 3-day workshop concentrated on idiomatic Kotlin use, advanced features and best practices, for 400 EUR, online, 9-17 CET There are still some places left 😉
    ❤️ 4
    • 1
    • 1
  • a

    ankushg

    09/02/2021, 6:59 PM
    Wrote an article about lessons we learned about sharing code across our Android/iOS/web clients for Stripe's Increment Magazine. Not exclusively Kotlin, but definitely did my best to portray KMP in a positive light 🙂 https://increment.com/mobile/write-once-run-anywhere/
    :kotlin-intensifies: 11
    👍 6
    👍🏻 2
    y
    • 2
    • 1
  • p

    pablisco

    09/05/2021, 7:35 PM
    https://twitter.com/pablisc0/status/1434601053576642567
    a
    m
    • 3
    • 11
  • k

    Katarzyna

    09/06/2021, 8:44 AM
    What are value classes, how to use and inline them? Consider using inline value classes by @marcinmoskala https://kt.academy/article/ek-value-classes
    :party-parrot: 3
    :kotlinnew: 4
    👍 5
    m
    p
    • 3
    • 2
  • j

    Jakob Löhnertz

    09/09/2021, 5:35 PM
    Something most people have enabled, I presume, but in case you didn't know: IntelliJ can nicely display type hints for Kotlin variables such that one can stop the guessing (or hovering) game to figure out what type a variable is of. In this YouTube Short, I'll quickly show how to enable that:

    https://youtu.be/9pr3e0KHKgs▾

    I'd be happy if you'd share it with people that might benefit from it as well 🙂
    🙌 3
    s
    • 2
    • 1
  • a

    Anastasia Birillo [JB]

    09/17/2021, 3:02 PM
    Hello everyone! We developed a plugin for the Kotlin compiler that leverages the flows of the standard reflection approach and can find classes, objects or functions by some conditions in compile-time. The current latest version is ready and stable! Two ways of using the plugin are supported: by limited DSL (searching of classes and objects by supertypes and annotations; and searching of functions by signature and annotations) and by extended DSL (searching of classes and objects by custom condition and supertype; and searching of functions by custom condition and signature). Since we use IR generation, the plugin can be used by all platforms (JVM, Nativa and JavaScript). Although currently, we can analyze only kt files. Additionally, the plugin uses a code generation approach in limited DSL to support compile-time reflection in libraries. It means, if you have a library that uses Reflekt and you call something from this library in your project, all Reflekt calls will be in the compile-time. Currently we support 1.5.30, 1.5.21, 1.5.20, 1.5.10, 1.5.0 Kotlin versions. Unfortunately, we do not support incremental compilation yet, but in the next release, we will be! We will be happy if the plugin would be helpful for you! If you are interested in this project and have some ideas for improving the plugin, please don’t hesitate to contact me! To discuss it see #compiler channel
    👍 11
    😮 2
    👀 4
    🤘 1
    💯 3
    🚀 4
    :kotlin-intensifies: 23
    a
    d
    k
    • 4
    • 8
  • k

    Katarzyna

    09/20/2021, 7:47 AM
    What is the difference between list and sequence processing, and when each should be preferred? Prefer Sequence for big collections with more than one processing step by @marcinmoskala https://kt.academy/article/ek-sequence
    👍 1
    e
    • 2
    • 1
  • c

    CLOVIS

    09/20/2021, 10:34 AM
    I have recently started working on a Kotlin/JVM DSL for Apache Cassandra. I will be releasing it as part of a greater project, under the Apache 2.0 license. I'm curious if there's interest from the community, I don't think Cassandra is very popular with Kotlin developers?
    🎉 9
    e
    • 2
    • 17
  • l

    louiscad

    09/20/2021, 3:18 PM
    Just published my first article, I hope you like it! https://blog.louiscad.com/how-to-return-2-values-with-0-allocation-in-kotlin
    Fun
    fact: I took over 50 photos before I settled for the cover picture
    :blob-upside-down:
    👍🏼 2
    👍 13
    e
    s
    y
    • 4
    • 9
  • r

    raulraja

    09/20/2021, 3:37 PM
    Arrow 1.0.0 is out! 🎉 https://twitter.com/arrow_kt/status/1439971197484109834
    :kotlin-intensifies: 26
    :arrow: 31
    ➕ 3
    m
    • 2
    • 3
  • j

    Jakob Löhnertz

    09/21/2021, 6:00 AM
    I produced a new episode of my YouTube series Idiomatic Kotlin. This one is about the Result mechanism (
    Result<T>
    )
    of Kotlin! I upgraded my production quality a lot and produced a concise, to the point video! There's an auxiliary appendix video available in which I am going into more detail with a hand-made example. Here's the new episode:

    https://youtu.be/-_ysLWhR-NE▾

    Let me know what you think 👍
    👏 4
    :kotlin-intensifies: 12
    a
    z
    • 3
    • 4
  • s

    Slackbot

    09/21/2021, 7:35 PM
    This message was deleted.
    a
    • 2
    • 1
  • s

    Slackbot

    09/22/2021, 8:55 AM
    This message was deleted.
    👎 3
    a
    g
    t
    • 4
    • 3
  • d

    dh44t

    09/24/2021, 12:43 AM
    https://medium.com/@mario.arias.c/comparing-kotlin-and-go-implementations-of-the-monkey-language-ii-raiders-of-the-lost-performance-b9aa09945281
    👍 5
    m
    b
    h
    • 4
    • 4
  • k

    Katarzyna

    09/27/2021, 8:21 AM
    How is associateBy useful to improve the performance of finding elements? Consider associating elements to a map by @marcinmoskala 👇 https://kt.academy/article/ek-associate
    👍 2
    p
    m
    • 3
    • 4
  • m

    Martijn Eschmeijer

    09/27/2021, 9:22 AM
    Hi all! We're organizing the Kotlin Dev Day conference in Amsterdam (hybrid) and we're looking for speakers! The Call-for-Papers is open until the 7th of October. @Sebastian Aigner from JB is doing the keynote and we have some other experts confirmed as well. So if you want to take the stage and talk about Kotlin, this is your time to shine 🙂 Event info: https://kotlindevday.com Submit your talk: https://kotlindevday.com/cfp
    🔥 5
    j
    • 2
    • 3
  • u

    user

    09/27/2021, 10:18 AM
    kotlinx.serialization 1.3 Released: Experimental IO Stream-Based JSON Serialization, Fine-Grained Defaults Control, and More A new version of the Kotlin serialization library – 1.3.0 – is now available following the release of Kotlin 1.5.30. It mainly focuses on broadening the JSON serialization capabilities. Here are the most noticeable changes: Serializing and deserializing Java IO stream. You can now read and write JSON directly to network streams or files. More […]
    :kotlin-intensifies: 7
    👍 3
    t
    • 1
    • 1
  • n

    nilTheDev

    09/28/2021, 10:45 AM
    https://link.medium.com/Ys8QmOVWUjb After reading this article I feel Kotlin should have supported DI natively in the language. Any thoughts?
    :yes: 1
    🙈 4
    👍 1
    🇳🇴 10
    🤔 1
    u
    f
    +3
    • 6
    • 7
  • r

    rahulc29

    09/28/2021, 1:48 PM
    Hey guys, I've been researching on
    invokedynamic
    and Java's compilation strategy for lambdas. As far as I'm aware, Kotlin only supports the Java-like compilation strategy for Single Abstract Method (functional) Interfaces, not for plain Kotlin lambdas. According to the what's new this is still experimental for plain Kotlin lambdas. I have a few questions 1. Why are Kotlin lambdas not implemented as SAM interfaces? Is this to allow for reflection? 2. Why do SAM interfaces not have to worry about serializability the way Kotlin lambdas do? I would really appreciate some input regarding this. Thanks.
    m
    g
    • 3
    • 3
  • k

    Katarzyna

    09/29/2021, 8:21 AM
    Everything you need to know about the exception handling mechanism in Kotlin Coroutines. Written by @marcinmoskala https://kt.academy/article/cc-exception-handling
    👍 3
    v
    • 2
    • 1
  • m

    Michael Strasser

    09/29/2021, 11:57 AM
    I am creating the Klogging logging library in Kotlin. There is also an SLF4J binding and a Spring Boot Starter. Currently it supports Splunk, Graylog and Seq destinations directly. Let me know if you try it and if you find it useful (or not!).
    a
    c
    m
    • 4
    • 9
  • m

    miqbaldc

    09/30/2021, 3:35 AM
    TIL: How to write Exception in Kotlin (opinionated) 1. Kotlin recommends to use exception catch operator e.g:
    Flow<T>.catch
    ,
    runCatching {}
    etc 2. Dual-use API introduced for convenient e.g:
    getOrNull
    ,
    getOrDefault
    etc 3. Use preconditions and compile check when writing public API/method https://medium.com/sampingan-tech/kotlin-getting-to-knows-with-exceptions-564f8b2bc3c
    h
    • 2
    • 1
  • s

    Slackbot

    09/30/2021, 8:20 PM
    This message was deleted.
    a
    n
    • 3
    • 3
  • n

    nilTheDev

    10/01/2021, 3:10 PM
    I am writing this just to appreciate all the hard work that the Kotlin team did to create the impeccable documentation. It feels like home. It has almost everything a developer may need. I have never come across anything like that in the past. So, kudos to them who made it happen. :kotlinnew: :kotlinnew: (probably it's not the most appropriate channel to say this, but couldn't find any better alternative)
    :kotlin-intensifies: 24
    :kotlinnew: 10
    :kotlin-flag: 1
    :kotlin: 10
    c
    a
    +2
    • 5
    • 6
  • u

    user

    10/08/2021, 3:58 PM
    Results of the Kotlin Multiplatform Survey Q1-Q2 2021 The Kotlin team has always relied on feedback from the community to make decisions about the future of the technology. You will always be the people who best know how to make Kotlin even more enjoyable to work with! That’s why a year ago we started a Kotlin Multiplatform Survey program to collect your feedback […]
    k
    • 1
    • 1
Powered by Linen
Title
u

user

10/08/2021, 3:58 PM
Results of the Kotlin Multiplatform Survey Q1-Q2 2021 The Kotlin team has always relied on feedback from the community to make decisions about the future of the technology. You will always be the people who best know how to make Kotlin even more enjoyable to work with! That’s why a year ago we started a Kotlin Multiplatform Survey program to collect your feedback […]
k

Klitos Kyriacou

10/09/2021, 10:56 AM
In the pie chart for "Which of the following best describes your company?", the slices of the pie are not all proportional to the actual percentages of the answers. For example, "Startup (15.9%)" appears bigger than "Product company, mobile apps a main product (21.3%)".
View count: 3