update documentation to include it to kotlinlang.org (#2015)
This commit is contained in:
committed by
Nikolay Igotti
parent
710c691aa8
commit
7ee04b3108
@@ -1,3 +1,9 @@
|
|||||||
|
---
|
||||||
|
type: doc
|
||||||
|
layout: reference
|
||||||
|
title: "Concurrency in Kotlin/Native"
|
||||||
|
---
|
||||||
|
|
||||||
### Concurrency in Kotlin/Native
|
### Concurrency in Kotlin/Native
|
||||||
|
|
||||||
Kotlin/Native runtime doesn't encourage a classical thread-oriented concurrency
|
Kotlin/Native runtime doesn't encourage a classical thread-oriented concurrency
|
||||||
|
|||||||
@@ -1,3 +1,9 @@
|
|||||||
|
---
|
||||||
|
type: doc
|
||||||
|
layout: reference
|
||||||
|
title: "Debugging"
|
||||||
|
---
|
||||||
|
|
||||||
## Debugging
|
## Debugging
|
||||||
|
|
||||||
Currently Kotlin native compiler produces debug info compatible with DWARF 2 specification, so modern debugger tools could
|
Currently Kotlin native compiler produces debug info compatible with DWARF 2 specification, so modern debugger tools could
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
---
|
||||||
|
type: doc
|
||||||
|
layout: reference
|
||||||
|
title: "FAQ"
|
||||||
|
---
|
||||||
### Q: How do I run my program?
|
### Q: How do I run my program?
|
||||||
|
|
||||||
A: Define top level function `fun main(args: Array<String>)`, please ensure it's not
|
A: Define top level function `fun main(args: Array<String>)`, please ensure it's not
|
||||||
|
|||||||
@@ -1,3 +1,9 @@
|
|||||||
|
---
|
||||||
|
type: doc
|
||||||
|
layout: reference
|
||||||
|
title: "Kotlin/Native Gradle plugin"
|
||||||
|
---
|
||||||
|
|
||||||
# Kotlin/Native Gradle plugin
|
# Kotlin/Native Gradle plugin
|
||||||
|
|
||||||
_Note: For the experimental DSL see the [corresponding section](#experimental-plugin)_.
|
_Note: For the experimental DSL see the [corresponding section](#experimental-plugin)_.
|
||||||
|
|||||||
@@ -1,3 +1,9 @@
|
|||||||
|
---
|
||||||
|
type: doc
|
||||||
|
layout: reference
|
||||||
|
title: "Immutability in Kotlin/Native"
|
||||||
|
---
|
||||||
|
|
||||||
# Immutability in Kotlin/Native
|
# Immutability in Kotlin/Native
|
||||||
|
|
||||||
Kotlin/Native implements strict mutability checks, ensuring
|
Kotlin/Native implements strict mutability checks, ensuring
|
||||||
|
|||||||
@@ -1,3 +1,9 @@
|
|||||||
|
---
|
||||||
|
type: doc
|
||||||
|
layout: reference
|
||||||
|
title: "Kotlin/Native interoperability"
|
||||||
|
---
|
||||||
|
|
||||||
# _Kotlin/Native_ interoperability #
|
# _Kotlin/Native_ interoperability #
|
||||||
|
|
||||||
## Introduction ##
|
## Introduction ##
|
||||||
|
|||||||
@@ -1,3 +1,9 @@
|
|||||||
|
---
|
||||||
|
type: doc
|
||||||
|
layout: reference
|
||||||
|
title: "Kotlin/Native libraries"
|
||||||
|
---
|
||||||
|
|
||||||
# Kotlin/Native libraries
|
# Kotlin/Native libraries
|
||||||
|
|
||||||
## Kotlin compiler specifics
|
## Kotlin compiler specifics
|
||||||
@@ -117,6 +123,7 @@ directory structure, with the following layout:
|
|||||||
|
|
||||||
**foo.klib** when unpacked as **foo/** gives us:
|
**foo.klib** when unpacked as **foo/** gives us:
|
||||||
|
|
||||||
|
```
|
||||||
- foo/
|
- foo/
|
||||||
- targets/
|
- targets/
|
||||||
- $platform/
|
- $platform/
|
||||||
@@ -131,6 +138,7 @@ directory structure, with the following layout:
|
|||||||
- resources/
|
- resources/
|
||||||
- General resources such as images. (Not used yet).
|
- General resources such as images. (Not used yet).
|
||||||
- manifest - A file in *java property* format describing the library.
|
- manifest - A file in *java property* format describing the library.
|
||||||
|
```
|
||||||
|
|
||||||
An exemplar layout can be found in `klib/stdlib` directory of your installation.
|
An exemplar layout can be found in `klib/stdlib` directory of your installation.
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,9 @@
|
|||||||
|
---
|
||||||
|
type: doc
|
||||||
|
layout: reference
|
||||||
|
title: "Kotlin/Native in multiplatform projects"
|
||||||
|
---
|
||||||
|
|
||||||
# Kotlin/Native in multiplatform projects
|
# Kotlin/Native in multiplatform projects
|
||||||
|
|
||||||
While Kotlin/Native could be used as the only Kotlin compiler in the project, it is pretty common to combine
|
While Kotlin/Native could be used as the only Kotlin compiler in the project, it is pretty common to combine
|
||||||
|
|||||||
@@ -1,3 +1,9 @@
|
|||||||
|
---
|
||||||
|
type: doc
|
||||||
|
layout: reference
|
||||||
|
title: "Kotlin/Native interoperability with Swift/Objective-C"
|
||||||
|
---
|
||||||
|
|
||||||
# _Kotlin/Native_ interoperability with Swift/Objective-C
|
# _Kotlin/Native_ interoperability with Swift/Objective-C
|
||||||
|
|
||||||
This documents covers some details of Kotlin/Native interoperability with
|
This documents covers some details of Kotlin/Native interoperability with
|
||||||
|
|||||||
@@ -1,3 +1,9 @@
|
|||||||
|
---
|
||||||
|
type: doc
|
||||||
|
layout: reference
|
||||||
|
title: "Platform libraries"
|
||||||
|
---
|
||||||
|
|
||||||
# Platform libraries
|
# Platform libraries
|
||||||
|
|
||||||
## Overview
|
## Overview
|
||||||
|
|||||||
@@ -0,0 +1,40 @@
|
|||||||
|
- md: CONCURRENCY.md
|
||||||
|
url: concurrency.html
|
||||||
|
title: "Concurrency"
|
||||||
|
|
||||||
|
- md: IMMUTABILITY.md
|
||||||
|
url: immutability.html
|
||||||
|
title: "Immutability"
|
||||||
|
|
||||||
|
- md: LIBRARIES.md
|
||||||
|
url: libraries.html
|
||||||
|
title: "Kotlin Libraries"
|
||||||
|
|
||||||
|
- md: PLATFORM_LIBS.md
|
||||||
|
url: platform_libs.html
|
||||||
|
title: "Platform Libraries"
|
||||||
|
|
||||||
|
- md: MULTIPLATFORM.md
|
||||||
|
url: multiplatform.html
|
||||||
|
title: "Multiplatform Projects"
|
||||||
|
|
||||||
|
- md: INTEROP.md
|
||||||
|
url: c_interop.html
|
||||||
|
title: "C Interop"
|
||||||
|
|
||||||
|
- md: OBJC_INTEROP.md
|
||||||
|
url: objc_interop.html
|
||||||
|
title: "Objective-C and Swift Interop"
|
||||||
|
|
||||||
|
- md: GRADLE_PLUGIN.md
|
||||||
|
url: gradle_plugin.html
|
||||||
|
title: "Gradle Plugin"
|
||||||
|
|
||||||
|
- md: DEBUGGING.md
|
||||||
|
url: debugging.html
|
||||||
|
title: "Debugging"
|
||||||
|
|
||||||
|
- md: FAQ.md
|
||||||
|
url: faq.html
|
||||||
|
title: "FAQ"
|
||||||
|
|
||||||
Reference in New Issue
Block a user