https://kotlinlang.org logo
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
kotlin-native
  • s

    spierce7

    04/24/2017, 2:19 AM
    What would be the process of debugging Kotlin-native code in an iOS emulator, or device?
    o
    • 2
    • 6
  • s

    spierce7

    04/27/2017, 3:42 PM
    So what are the current thoughts around threading? The concurrency sample passes messages back and fourth, but once this is implemented in Kotlin, what will the limitations be that constitute a message? I.e. if I have an immutable object of my own design will I be able to return that from a thread as a result?
    o
    m
    • 3
    • 14
  • j

    josemeyer

    04/28/2017, 2:36 PM
    Hey guys, i've been trying to run the tetris sample code on my iphone but i guess i didn't understand the necessary steps well. Someone that already was able to run it can help me? I've compiled the code but i don't know what i should do with the executable file and the Info.plist file on xcode.
    o
    • 2
    • 3
  • n

    nimtiazm

    05/01/2017, 5:53 PM
    i’ve been trying out rust to see how their memory management works without GC and ARC. Admittedly it’s a radical model but it’s good.
    👍 1
    o
    • 2
    • 4
  • s

    suresh

    05/02/2017, 11:28 PM
    @olonho What we can expect in future stdlib? Does it make sense to expect file/networking io, concurrency and http/http2 in stdlib or cinterop (eg: curl for http) is the way going forward??
    o
    t
    s
    • 4
    • 4
  • k

    kyonifer

    05/03/2017, 12:32 AM
    i could really use some of the primitive Array extension functions... 🙂
    o
    • 2
    • 2
  • j

    josemeyer

    05/08/2017, 12:09 PM
    @olonho , one think that i didn't understand taking a look at the documentation was how can i pass a CValue as a struct parameter to a C function. One example is that i've tried to use a function from SDL2 which expects a struct parameter SDL_color, so i need to create this on kotlin with some values like {255, 255, 255} and then use it when call the function. Can you help me with that please?
    o
    s
    • 3
    • 3
  • j

    josemeyer

    05/09/2017, 8:42 PM
    Hey guys, can you tell me if we are able to use these *.kt.bc native libraries with C code?
    o
    • 2
    • 6
  • l

    linux_china

    05/10/2017, 9:20 AM
    use gradle to build Kotlin native application and I supply a llvm uber jar for gradle to build application [1:57] is it possible? dependencies { compile “org.jetbrains.kotlin:kotlin-stdlib-jre8:$kotlin_version” compile “org.mvnsearch:hello:1.0.0-SNAPSHOT” } so code completion will be easy with gradle dependency management
    o
    • 2
    • 1
  • o

    olonho

    05/11/2017, 4:36 PM
    I would like to announce release of Kotlin/Native v0.2, with the following changes: * Added support for coroutines * Fixed most stdlib incompatibilities * Improved memory management performance * Cross-module inline function support * Unicode support independent from installed system locales * Interoperability improvements * file-based filtering in definition file * stateless lambdas could be used as C callbacks * any Unicode string could be passed to C function * Very basic debugging support * Improve compilation and linking performance One could download binaries from http://download.jetbrains.com/kotlin/native/kotlin-native-linux-0.2.tar.gz and http://download.jetbrains.com/kotlin/native/kotlin-native-macos-0.2.tar.gz for Linux and Mac hosts respectively. Please report issues using https://youtrack.jetbrains.com/issues/KT (subsystem Native).
    🎉 40
    :kotlin: 4
    👏 23
    r
    s
    +2
    • 5
    • 10
  • n

    nish

    05/12/2017, 1:52 PM
    Awesome release guys. When are we getting extern C?
    o
    • 2
    • 5
  • s

    spierce7

    05/13/2017, 2:13 AM
    Is it possible to pass a Kotlin-native object pointer to C++, and then have C++ pass the pointer back to Kotlin-native? I'm trying to find out if there is any way to pass Kotlin objects between threads without serialization / deserialization.
    o
    • 2
    • 4
  • n

    nish

    05/15/2017, 2:48 PM
    @olonho, i’ve been trying to put together shared static libs to call from JNI, but i haven’t had a whole lot of luck getting the method signatures correct
    o
    m
    • 3
    • 7
  • u

    uli

    05/16/2017, 8:09 PM
    @kropp thanks for your reply. When would the unregistering be done? There are no c++like destructors in KN. Or did i just miss them?
    o
    k
    • 3
    • 7
  • o

    olonho

    05/17/2017, 7:06 PM
    https://venturebeat.com/2017/05/17/android-now-supports-the-kotlin-programming-language/
    :kotlin: 2
    l
    • 2
    • 2
  • t

    tunedal

    05/17/2017, 8:54 PM
    Perhaps Kotlin/Native could be made to map to some common subset of GObject and COM? Then it would interop with commonly used object models on both Unix and Windows. (The systems are at least conceptually similar, but I don't know if they differ too much in the details to make it workable.)
    o
    • 2
    • 2
  • l

    linux_china

    05/19/2017, 3:58 AM
    Any idea to add Net library to stdlib for kotlin native?
    o
    • 2
    • 1
  • s

    sksk

    05/19/2017, 4:37 AM
    https://github.com/JetBrains/kotlin-native/commit/e9c60d959f49803334d0f475eef8e51c311d98ae Android 😮
    o
    • 2
    • 1
  • u

    umren

    05/19/2017, 12:06 PM
    Hello, i have a question about Kotlin Native, how is team working behind Kotlin Native thinking about memory management? Will Kotlin Native try to compete with Rust with his ownership system or just will bundle another GC into runtime?
    o
    • 2
    • 3
  • p

    pniederw

    05/19/2017, 5:01 PM
    have you folks considered using Graal and SubstrateVM to compile kotlin to native?
    o
    n
    • 3
    • 10
  • e

    elizarov

    05/19/2017, 6:51 PM
    I'll put it this way. We share a feeling that there is a lot of code that is being written in C/C++/Go nowadays that should not and need not be written in them. Kotlin is not for everybody either, but it is pragmatic and caters to a larger developer base.
    👍 4
    💯 2
    u
    o
    • 3
    • 2
  • d

    dector

    05/19/2017, 9:04 PM
    Hello. I'm playing around Kotlin Native 0.2 and I've got this exception:
    $ uname -m
    i686
    
    $ bin/kotlinc hello.kt -o hello
    
    exception: java.lang.UnsatisfiedLinkError: kotlin-native-linux-0.2/konan/nativelib/libllvmstubs.so: kotlin-native-linux-0.2/konan/nativelib/libllvmstubs.so: wrong ELF class: ELFCLASS64 (Possible cause: architecture word width mismatch)
    I have 32 bit OS but
    ELFCLASS64
    is used (?). Can I force compiler to use another library?
    o
    • 2
    • 2
  • s

    spierce7

    05/20/2017, 4:45 AM
    @olonho During the Android talk on Kotlin, multi-platform was specifically called out, talking about sharing code between Android and iOS. With the current ability to export to C / C++, interop with Swift / ObjC will be ugly / difficult. Are there any plans to make interop with ios easier?
    o
    • 2
    • 2
  • k

    kennycason

    05/22/2017, 3:49 AM
    Has there been any research on if LibGDX and Kotlin native could play together? For example, my entire game I’m writing in LibGDX is in Kotlin.
    s
    o
    +2
    • 5
    • 15
  • b

    badlogic

    05/22/2017, 7:25 AM
    for that, kotlin native would have to mature quite a bit, e.g. threading support etc.
    o
    r
    • 3
    • 12
  • s

    spierce7

    05/24/2017, 5:04 AM
    Does kotlin native have a garbage collector?
    :stackoverflow: 1
    o
    b
    • 3
    • 10
  • n

    nimtiazm

    05/25/2017, 3:35 PM
    The android announcement says Kotlin will also be supported on iOS. Is it like supported as in objc runtime ( apps can be written with Kotlin)?
    m
    o
    • 3
    • 7
  • d

    draciel

    05/25/2017, 9:24 PM
    Is there any plans to implement manual memory management in kotlin-native?
    o
    v
    • 3
    • 2
  • a

    aoriani

    05/25/2017, 10:42 PM
    @draciel https://willowtreeapps.com/ideas/a-look-into-kotlin-native says that you could call
    malloc()
    o
    • 2
    • 1
  • m

    musachy

    05/25/2017, 11:19 PM
    I am having some trouble importing a Kotlin native project into Intellij. Building with gradle is fine, but Intellij cant find "konan.SymbolName". Any tips?
    o
    i
    s
    • 4
    • 5
Powered by Linen
Title
m

musachy

05/25/2017, 11:19 PM
I am having some trouble importing a Kotlin native project into Intellij. Building with gradle is fine, but Intellij cant find "konan.SymbolName". Any tips?
o

olonho

05/26/2017, 9:55 AM
current IDEA tooling is not suitable for use with Kotlin/Native, we're working on dedicated IDE to work with Kotlin/Native, stay tuned
:kotlin: 19
👏 4
😱 17
😻 15
🔥 8
i

ice32

05/26/2017, 10:37 AM
When can we expect ANY version? 🙂
m

musachy

05/26/2017, 3:54 PM
There seems to be a lot of people interested in Kotlin in my (very large) company. So go wild with the native IDE.
s

spierce7

06/02/2017, 5:31 PM
@olonho Will this also be the IDE for multi-platform?
o

olonho

06/02/2017, 5:40 PM
I think this sounds reasonable part of both generic Kotlin plugin and Native IDE
View count: 3