Last active
December 16, 2018 00:47
-
-
Save andrcmdr/d857617efdfb4ca4520c0cee4ad2f497 to your computer and use it in GitHub Desktop.
Questions for #kotlinask_13 about #Kolin features
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Here some questions for #kotlinask_13 about #Kolin features: | |
| ⦁ Possibilities of compiling Kotlin/JVM code (with using of Vert.x project, for example) with GraalVM/SubstrateVM AoT Compiler - possible time/memory overhead during compile-time phase | |
| ⦁ Possibilities of applying project Loom and using of JVM fibers for Kotlin coroutines and suspend functions (for optimisation purposes maybe) in the future | |
| ⦁ Possibilities and abilities of writing (preemptive) thread dispatcher/scheduler/monitor for coroutines management, i.e. M:N mapping pool of concurrent fibers (coroutines) to thread-pool of system threads - for Kotlin/JVM and Kotlin/Native | |
| ⦁ Garbage collecting and reference counting (ARC?) mechanisms/algorithms in Kotlin/Native - possible overhead | |
| ⦁ WASM codegen support in Kotlin/Native and memory management compatibility between Kotlin/Native and WASM run-times, possibilities of convergence with Kotlin/JS in the future | |
| ⦁ Possibilities of RAII (scope based memory management, scope guards, destructors and control of lifetimes of memory objects) and manual memory management without automatic (cyclic/tracing) GC w/RC in Kotlin/Native, how to use raw and safe pointers/references in Kotlin/Native | |
| ⦁ Possibilities of memory safery and thread safety in Kotlin/Native - control immutability of pointers & references, i.e. strong/weak references (ARC) and heap memory management, reference types and value types (off-heap data types), stack memory management and stack safety (something similar like borrowing and borrow checker in Rust) | |
| ⦁ Possibilities of support for UFCS (Uniform Function Call Syntax - https://en.wikipedia.org/wiki/Uniform_Function_Call_Syntax) in Kotlin future releases | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment