diff --git a/README.md b/README.md index e9010b8..a76a3f0 100644 --- a/README.md +++ b/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) - 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] - -``` - 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. +- 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. - Any Unicode letters can be used as identifiers: `assert( sin(π/2) == 1 )`. ## Resources: