more readme
This commit is contained in:
parent
83ab8cdc01
commit
1afc6d41bc
19
README.md
19
README.md
@ -21,22 +21,9 @@ fun swapEnds(first, args..., last, f) {
|
|||||||
|
|
||||||
- extremely simple Kotlin integration on any platform (JVM, JS, WasmJS, Lunux, MacOS, iOS, Windows)
|
- extremely simple Kotlin integration on any platform (JVM, JS, WasmJS, Lunux, MacOS, iOS, Windows)
|
||||||
- 100% secure: no access to any API you didn't explicitly provide
|
- 100% secure: no access to any API you didn't explicitly provide
|
||||||
- 100% coroutines! Every function/script is a coroutine, it does not block the thread, no async/await/suspend keyword garbage, see [parallelism]
|
- 100% coroutines! Every function/script is a coroutine, it does not block the thread, no async/await/suspend keyword garbage, see [parallelism]. it is multithreaded on platforms supporting it (automatically, no code changes required, just `launch` more coroutines and they will be executed concurrently if possible). See [parallelism]
|
||||||
|
- functional style and OOP together: multiple inheritance (so you got it all - mixins, interfaces, etc.), delegation, sigletons, anonymous classes,extensions.
|
||||||
```
|
- nice literals for maps and arrays, destructuring assignment, ranges.
|
||||||
val deferred = launch {
|
|
||||||
delay(1.5) // coroutine is delayed for 1.5s, thread is not blocked!
|
|
||||||
"done"
|
|
||||||
}
|
|
||||||
// ...
|
|
||||||
// suspend current coroutine, no thread is blocked again,
|
|
||||||
// and wait for deferred to return something:
|
|
||||||
assertEquals("donw", deferred.await())
|
|
||||||
```
|
|
||||||
and it is multithreaded on platforms supporting it (automatically, no code changes required, just
|
|
||||||
`launch` more coroutines and they will be executed concurrently if possible). See [parallelism]
|
|
||||||
|
|
||||||
- functional style and OOP together, multiple inheritance, implementing interfaces for existing classes, writing extensions.
|
|
||||||
- Any Unicode letters can be used as identifiers: `assert( sin(π/2) == 1 )`.
|
- Any Unicode letters can be used as identifiers: `assert( sin(π/2) == 1 )`.
|
||||||
|
|
||||||
## Resources:
|
## Resources:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user