Is there a rivalry between Kotlin and Rust develop...
# getting-started
v
Is there a rivalry between Kotlin and Rust developers? I posted a tweet hinting that I was going to quit Kotlin, and Rust devs started liking and retweeting it...
r
How does even such rivalry between developers look like? 🙂
a
try asking someone why vim is better than emacs
s
I at least like both Kotlin and (safe) Rust (since I come from managed languages, I keep far away from
unsafe
for now), since both are compiletime type-checked with null-saftety and algebraic datatypes (
sealed classes
and
enums
).
v
I'm not really quitting Kotlin, but I was getting frustrated by #kotless and #ktor And gradle, of course, but surely everyone gets frustrated by gradle at some point?
s
yeah, gradle with kotlin dsl is way better than gradle with groovy dsl (type checking at compile time and you can jump to declaration which improves discoveribility), but it's still gradle (no conventions, everything is so damn dynamic 😬). It's a pity that Cedric Beust's Kobalt didn't gain traction https://beust.com/kobalt/home/index.html I once tried it out but the intellij plugin didn't work, and nobody responded to my bug-ticket. Some people also use bazel (there was an article about that a few days ago. a company switching from Elexir to Kotlin using bazel), but Gradle with Kotlin DSL is definitely the defacto default build tool.
m
Why should there be even a rivalry...both languages serving different purposes...also what I really like I profit a lot from Rust while working on Multiplatfrom with Kotlin on native especially in regards to coroutines...since both use the same principle and it helps a lot in my eyes to understand this whole fuzz around freezing stuff.
c
Rust and Kotlin are both recent re-imagination of programming, except Kotlin was from the point of view of a Java dev (looking at Python and JS), and Rust was from the point of view of a C dev
c
Yes. It is known that if a rust developer meets a kotlin developer in public, the two developers must duel.
🤺 1
😀 2
c
Some people like to focus on differences. In reality they have more on common than with most other progammers. Both languages try to improve safety as a primary goal.