Coroutines in KotlinCoroutines in Kotlin Andrey.Breslav@JetBrains.com This talk could have been named… • async/await/yield • fibers • [stackless] continuations Suspendable Computations Outline • Motivation/Examples Motivation/Examples • Solutions in other languages • Kotlin’s Solution – Client code – Library code • Compiling Coroutines • Exception Handling • Appendix. Serializable Coroutines? “Legal” • All I’m saying is no more Stackful Language restrictions Use in special contexts L Use anywhere J Implemented in C#, Scala, Kotlin, … Quasar, Javaflow, … Code transformation Local (compiler magic) J All over the place L Runtime0 码力 | 39 页 | 1.01 MB | 1 年前3
安全简介0 码力 | 2 页 | 304.16 KB | 5 月前3
Kotlin Language Documentation 1.9.20Kotlin Language Documentation 1.9.20 Table of Contents Kotlin Docs Get started with Kotlin Install Kotlin Create your powerful application with Kotlin Is anything missing? Welcome to our tour of of Kotlin! Hello world Variables String templates Practice Next step Basic types Practice Next step Collections List Set Map Practice Next step Control flow Conditional expressions Ranges calls Use Elvis operator Practice What's next? Kotlin Multiplatform Kotlin Multiplatform use cases Code sharing between platforms Get started Kotlin for server side 77 78 78 79 79 79 80 830 码力 | 1299 页 | 32.44 MB | 1 年前3
A Security Guide for Kotlin Developers.........................1 Kotlin’s Security Profile............................................2 Most Common Security Attacks...............................3 Top Kotlin Security Risk.............. ......10 Protect Your Kotlin Programs with Kiuwan.............. 11 1 A pragmatic, modern, and statically typed coding language that’s essentially a Java alternative, Kotlin offers some key benefits Virtual Machine (JVM) and Android app development while also being interoperable alongside Java. Kotlin language is general purpose and open sourced—available on GitHub for anyone to use—combining functional0 码力 | 13 页 | 1.80 MB | 1 年前3
Kotlin Language Documentation 1.3Kotlin Language Documentation Table of Contents Overview Using Kotlin for Server-side Development Using Kotlin for Android Development Kotlin JavaScript Overview Kotlin/Native for Native Kotlin asynchronous programming and more Multiplatform Programming What's New in Kotlin 1.1 What's New in Kotlin 1.2 What's New in Kotlin 1.3 Standard library Tooling Getting Started Basic Syntax Idioms Functions and Lambdas Functions Higher-Order Functions and Lambdas Inline Functions Collections Kotlin Collections Overview Constructing Collections Iterators Ranges and Progressions Sequences Collection0 码力 | 597 页 | 3.61 MB | 1 年前3
Kotlin 1.4 language featuresKotlin 1.4 Online Event October 12, 2020 @sveta_isakova Kotlin 1.4 Language Features Svetlana Isakova Kotlin 1.4 Language Features • SAM conversions for Kotlin classes • Explicit API mode arguments • New type inference • Unified exception type for null checks SAM conversions for Kotlin interfaces SAM = Single abstract method interface Action { fun run() } SAM conversion Ability println("I'm Kotlin 1.3") } SAM conversion for a Java interface public interface Action { void run(); } public static void runAction(Action action) { action.run(); } Java: Kotlin: runAction0 码力 | 69 页 | 3.29 MB | 1 年前3
Kotlin 1.2 Language DocumentationKotlin Language Documentation Table of Contents Overview Using Kotlin for Server-side Development Using Kotlin for Android Development Kotlin JavaScript Overview Kotlin/Native for Native Coroutines asynchronous programming and more Multiplatform Programming What's New in Kotlin 1.1 What's New in Kotlin 1.2 What's Coming in Kotlin 1.3 Standard library Tooling Getting Started Basic Syntax Idioms structure Java Interop Calling Java code from Kotlin Calling Kotlin from Java JavaScript Dynamic Type Calling JavaScript from Kotlin Calling Kotlin from JavaScript JavaScript Modules JavaScript0 码力 | 333 页 | 2.22 MB | 1 年前3
Kotlin language specification
Version 1.9-rfc+0.1. . . . . . . . . . . . . 46 kotlin.Any . . . . . . . . . . . . . . . . . . . . . . . . . . 46 kotlin.Nothing . . . . . . . . . . . . . . . . . . . . . . . 46 kotlin.Function . . . . . . . . . . . an t i c s 79 3. 1 kotlin.Any . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 3. 2 kotlin.Nothing . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 3. 3 kotlin.Unit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 3. 4 kotlin.Boolean . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 3. 5 B u i l t - i n i n t e ge r t y p e s . . . . . . . . . . . . . .0 码力 | 310 页 | 1.39 MB | 1 年前3
Kotlin language specification
Version 1.9-rfc+0.10 码力 | 38 页 | 358.59 KB | 1 年前3
Spring Framwork Language Support v5.3.36 SNAPSHOTLanguage Support Version 5.3.36-SNAPSHOT Table of Contents 1. Kotlin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 1.7.3. Kotlin Script Templates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 1.7.4. Kotlin multiplatform serialization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 1.9. Spring Projects in Kotlin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .0 码力 | 42 页 | 603.79 KB | 1 年前3
共 278 条
- 1
- 2
- 3
- 4
- 5
- 6
- 28













