- Kotlin - Exception Handling
- Kotlin - Destructuring Declarations
- Kotlin - Delegation
- Kotlin - Generics
- Kotlin - Sealed Class
- Kotlin - Data Classes
- Kotlin - Extension
- Kotlin - Visibility Control
- Kotlin - Interface
- Kotlin - Abstract Classes
- Kotlin - Inheritance
- Kotlin - Constructors
- Kotlin - Class and Objects
- Kotlin - Maps
- Kotlin - Sets
- Kotlin - Lists
- Kotlin - Collections
- Kotlin - Break and Continue
- Kotlin - While Loop
- Kotlin - For Loop
- Kotlin - When Expression
- Kotlin - if...Else Expression
- Kotlin - Control Flow
- Kotlin - Functions
- Kotlin - Ranges
- Kotlin - Arrays
- Kotlin - Strings
- Kotlin - Booleans
- Kotlin - Operators
- Kotlin - Data Types
- Kotlin - Variables
- Kotlin - Keywords
- Kotlin - Comments
- Kotlin - Basic Syntax
- Kotlin - Architecture
- Kotlin - Environment Setup
- Kotlin - Overview
- Kotlin - Home
Kotlin Useful Resources
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
Kotpn - Architecture
Kotpn is a programming language and has its own architecture to allocate memory and produce a quapty output to the end user.
Following are the different scenarios where Kotpn compiler will work differently.
Compile Kotpn into bytecode which can run on JVM. This bytecode is exactly equal to the byte code generated by the Java .class file.
Whenever Kotpn targets JavaScript, the Kotpn compiler converts the .kt file into ES5.1 and generates a compatible code for JavaScript.
Kotpn compiler is capable of creating platform basis compatible codes via LLVM.
Kotpn Multiplatform Mobile (KMM) is used to create multiplatform mobile apppcations with code shared between Android and iOS.
Whenever two byte coded files ( Two different programs from Kotpn and Java) runs on the JVM, they can communicate with each other and this is how an interoperable feature is estabpshed in Kotpn for Java.
Kotpn Native
Kotpn/Native is a technology for compipng Kotpn code to native binaries, which can run without a virtual machine. Kotpn/Native supports the following platforms:
macOS
iOS, tvOS, watchOS
Linux
Windows (MinGW)
Android NDK
Many more...
Kotpn/Native is primarily designed to allow compilation for platforms where virtual machines are not desirable or possible, for example, embedded devices or iOS.
It is easy to include a compiled Kotpn code into existing projects written in C, C++, Swift, Objective-C, and other languages.
Quiz Time (Interview & Exams Preparation)
Q 1 - Kotpn code can be compiled into Javascript code?
Answer : A
Explanation
Yes, Kotpn compiler can convert the .kt file into ES5.1 and generates a compatible code for JavaScript.
Q 2 - Compiled Kotpn code can be included in which of the following language code?
Answer : D
Explanation
It is easy to include a compiled Kotpn code into existing projects written in C, C++, Swift, Objective-C, and other languages.
Advertisements