搜索

排序方式
8 个文档
  • pdf 文档 Kotlin 1.4 language features

    0 码力 | 69 页 | 3.29 MB | 2 年前
    3
    文档介绍了Kotlin 1.4版本的主要新特性,包括SAM转换、显式API模式、尾随逗号、在when表达式中使用break和continue、混合命名和位置参数、新的类型推断以及统一的空值检查异常。这些改进提升了语言的质量和性能,并为开发者提供了更强大的工具支持。
  • pdf 文档 Kotlin 1.2 Language Documentation

    0 码力 | 333 页 | 2.22 MB | 2 年前
    3
    Kotlin 1.2版本引入了多项新功能和改进,包括新增的数学运算API,支持常量、三角函数、双曲函数、指数、对数、舍入、符号和绝对值、比较、二进制表示等功能。此外,还增强了对BigInteger和BigDecimal的操作,新增了序列和集合操作(如windowed、chunked、zipWithNext、fill、replaceAll、shuffle等)。文档还介绍了使用lateinit修饰符支持顶级属性和局部变量,改进了内联函数的默认参数功能,并对反射API进行了调整以支持Java 9。同时,Kotlin在Android开发方面表现优异,提供了高效的开发工具和丰富的库支持。
  • pdf 文档 Kotlin language specification Version 1.9-rfc+0.1

    0 码力 | 310 页 | 1.39 MB | 2 年前
    3
    The document is the Kotlin Language Specification version 1.9-rfc+0.1, which provides detailed information about the Kotlin programming language. It highlights Kotlin's multiplatform capabilities, including compilation to JVM, JS, and Native platforms. The specification covers fundamental aspects of Kotlin, such as its type system, syntax, and grammar. Key features include null safety, gradual and flow typing, and support for both object-oriented and functional programming paradigms. The document also addresses compatibility considerations, experimental features, and platform-specific implementations.
  • pdf 文档 Kotlin language specification Version 1.9-rfc+0.1

    0 码力 | 38 页 | 358.59 KB | 2 年前
    3
    The document provides a detailed specification of the Kotlin language, including syntax grammar, lexical grammar, documentation comments, and identifier rules. It covers aspects such as annotations, multiline string handling, identifier escaping, and platform-specific restrictions. The specification also includes rules for keywords, operators, and string modes.
  • pdf 文档 Coroutines in Kotlin

    0 码力 | 39 页 | 1.01 MB | 2 年前
    3
    The document discusses the implementation and design of coroutines in Kotlin. It covers the motivation behind coroutines, compares solutions in other languages, and explains Kotlin's approach. The document highlights how coroutines are compiled into state machines, ensuring efficient runtime performance with minimal allocation. It also addresses exception handling and the concept of serializable coroutines. The content emphasizes the flexibility and efficiency of Kotlin's coroutines, providing insights into their underlying mechanisms and practical applications.
  • pdf 文档 A Security Guide for Kotlin Developers

    0 码力 | 13 页 | 1.80 MB | 2 年前
    3
    The document provides an in-depth analysis of the security profile of the Kotlin programming language, highlighting its strengths, common security risks, and best practices for secure development. It covers topics such as improper resource control, non-adherence to coding standards, and inherent language weaknesses. The guide also discusses the OWASP Mobile TOP 10 risks and how they apply to Kotlin applications. Additionally, it introduces Kiuwan, a tool that helps identify and remediate security vulnerabilities in Kotlin apps.
  • pdf 文档 Kotlin Language Documentation 1.3

    0 码力 | 597 页 | 3.61 MB | 2 年前
    3
    文档详细介绍了Kotlin 1.3版本的新特性和兼容性变化。主要内容包括coroutines的正式发布和稳定性改善、Kotlin/Native的增强、多平台项目模型的改进,以及新的功能如无参数main函数和注解类中的嵌套声明。此外,文档还描述了多项行为兼容性和源兼容性变化,包括构造函数参数评估顺序的变更和split方法跨平台行为的统一。
  • pdf 文档 Kotlin Language Documentation 1.9.20 推荐

    0 码力 | 1299 页 | 32.44 MB | 2 年前
    3
    文档详细介绍了Kotlin 1.9.20版本的新功能和改进,包括K2编译器的-preview版本、Kotlin Multiplatform的新默认项目模板、Kotlin/Native的性能提升、支持Xcode 15以及Kotlin/Wasm对WebAssembly的支持。此外,文档还涵盖了IDE支持版本、Gradle配置提示、标准库更新以及与Kotlin 1.8的兼容性指南。
共 8 条
  • 1
前往