Professional Documents
Culture Documents
DEVELOPMENT
BY
MOHD AYAAZ ANSARI
PRABAL SHARMA
AVI TYAGI
INTRODUCTION
•Kotlin is a cross-platform,statically typed,general-purpose programming language
with type inference.
•Kotlin is designed to interoperate fully with java, and jvm version of kotlin
standard library depends on the java class library,but type inference allows its
syntax to be more concise.
•Kotlin mainly targets the jvm , but also compiles to javascript(e.G. For frontend
web applications using react) or native code via llvm(e.G, for native ios apps sharing
business logic with android apps).
•Language development costs are borne by jet brains,while the kotline foundation
protects the kotlin trademark
• The Android Kotlin compiler produces Java 8 bytecode by default (which runs in
any later JVM), but lets the programmer choose to target Java 9 up to 17, for
optimization,or allows for more features; has bidirectional record class
interoperability support for JVM, introduced in Java 16, considered stable as of
Kotlin 1.5.
•Kotlin support for compilation directly to JavaScript (i.e., the classic back-end) is
considered stable since version 1.3, while the new Kotlin/JS(IR) is in beta as of
version 1.5.30. The new optimized implementations of Kotlin/JVM(IR) and Kotlin/JS
(IR-based) were introduced in version 1.4. Kotlin/JVM(IR) is considered stable and
enabled by default since version 1.5. Kotlin/Native (for e.g. Apple silicon support) is
considered beta since version 1.3.
•In July 2011, JetBrains unveiled Project Kotlin, a new language for the JVM, which
had been under development for a year.
•JetBrains lead Dmitry Jemerov said that most languages did not have the features
they were looking for, with the exception of Scala.
•One of the stated goals of Kotlin is to compile as quickly as Java. In February 2012,
JetBrains open sourced the project under the Apache 2 license
•Kotlin Type Conversion- helper function can be used to convert one data type into
another: toByte() ,toShort() ,toInt() ,toLong() ,toFLoat() ,toDouble() ,toChar()
• Kotlin Expression- An expression consists of variables, operators, methods calls
etc that produce a single value.
• Kotlin Block –A block is a section of software code enclosed with curly braces
({…}). A block can consist of one or more statements, preceded by the
declarations of variables.
• Kotlin Unlabelled break-When we are working with loops and want to stop the
execution of loop immediately if a certain condition is satisfied, in this case, we
can use either break or return expression to exit from the loop
APPLICATIONS
•Language and environment are mature
•Kotlin is multi-platform