/kotlin-l

Primary LanguageKotlin

kotlin-l

Sources


/src

00-helloWorld.kt 00-helloPackage.kt 00-helloObjectOriented.kt

00-cli-readLine.kt
00-cli-readLine-NullSafety.kt

01-datatypesVarVal.kt
01-datatypeConversion.kt

Scripts
list_folders.kts


.gitignore
clone JetBrains.gitignore
guide intellij-support
reference JetBrains/kotlin/.gitignore
reference JetBrains/kotlin-native/.gitignore


kotlin.link
Github KotlinBy/awesome-kotlin
A curated list of awesome Kotlin related stuff inspired by awesome-java.


kotlinlang /index

/reference /kotlin-docs.pdf

Overview
Getting Started
Basics
Classes and Objects
Functions and Lambdas
Other
Core Libraries
Reference
Java Interop
JavaScript
Tools
FAQ

/tutorials

/getting-started

/command-line

Run the compiler without parameters to have an interactive shell. Type any valid Kotlin code and see the results.

$ kotlinc
Welcome to Kotlin version ... (JRE ...)
Type :help for help, :quit for quit
>>> 
>>> :help
Available commands:
:help                   show this help
:quit                   exit the interpreter
:dump bytecode          dump classes to terminal
:load <file>            load script from specified file
>>> 

#using-the-command-line-to-run-scripts
Kotlin can also be used as a scripting language. A script is a Kotlin source file .kts with top level executable code.
To run a script, we just pass the -script option to the compiler with the corresponding script file.
$ kotlinc -script file.kts <arguments>


developer.android.com

Kotlin and Android /kotlin
Get Started with Kotlin on Android /get-started
Kotlin on Android FAQ /faq
Resources to Learn Kotlin /resources


JDK

on Windows

C:\>java
Usage: java ...

Default Folder Installation

C:\Program Files\Java`
jdkX.x.y_yyy
jreX.x.y_yyy

Default PATH C:\Program Files\Java\jdk...\bin

Computer > Properties > Advanced system settings > Environment Variables > System variables > Path New... > Edit environment variable > New OR Edit... > Variable value: add ; and PATH

/Native

$ kotlinc-native file.kt -o output -opt

-opt for optimized compilation

Github JetBrains/kotlin-native

JetBrains/Blog
Kotlin/Native Tech Preview: Kotlin without a VM
Kotlin/Native v0.3 is out

YouTube/Tech Cave
Building Kotlin/Native from Sources
Kotlin/Native samples Part 1
Kotlin/Native samples Part 2
TechCave.ru/Kotlin
Сборка Kotlin/Native из исходников
Микросервис на Kotlin, Spring Boot и Docker

DZone/Java Zone
JVM-Free Kotlin With Kotlin/Native

Getting started with Kotlin Native

Ariya.io/tags/kotlin

Kotlin/Native on iOS

superkotlin/kotlin-native

@andrei.chernyshev
Code sharing between Kotlin and Kotlin-Native

r/Kotlin - kotlin_native