Randy Arba
Posted on November 22, 2019
When everyone talking about native development or hybrid development, i just wanna talk about the programming language. Yes, for native development there was two platform, android and iOS, each of that develop with different language android for kotlin/Java, iOS with Swift/Objective-C. Okay, now i will compare kotlin and swift because there react similiar. But actually kotlin and swift have different behaviour only have similiar syntax. every of them have different pros and const and absolutely own way of thinking.
Kotlin is another child of Java language with improvement in some component in rich collection function such as map, filter, reduce, etc. But the most improvement is, when Coroutine come that make more powerfull than Java or Swift. Swift didnt have component that similiar to Kotlin Coroutine. The other hand kotlin have LLVM component that can mimic native component so kotlin can port into native OS example in macos or iOS, but kotlin native still under development because lack of performance than kotlin it self.
Swift language is completely different than kotlin, java, objective-C or maybe popular golang language. Swift has no Virtual Machine (VM). swift have similiar behaviour like C++ and Rust language. Java kotlin have reflection, have VM, Generic specialization, and arent allow to handle memory. So when there an streaming app or image processing better with C/C++ language. So compare swift with kotlin is not fair enough except compare the syntax. maybe its fair if compare swift with C++.
What do you think about that?
Posted on November 22, 2019
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.