https://kotlinlang.org logo
#getting-started
Title
# getting-started
v

v79

08/20/2021, 10:15 AM
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

Robert Jaros

08/20/2021, 12:28 PM
How does even such rivalry between developers look like? 🙂
a

Alex Nordlund

08/20/2021, 1:02 PM
try asking someone why vim is better than emacs
s

Stephan Schroeder

08/20/2021, 1:24 PM
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

v79

08/20/2021, 1:31 PM
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

Stephan Schroeder

08/20/2021, 2:13 PM
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

Matthias Geisler

08/20/2021, 3:04 PM
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

CLOVIS

08/20/2021, 4:05 PM
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

Colton Idle

08/20/2021, 6:43 PM
Yes. It is known that if a rust developer meets a kotlin developer in public, the two developers must duel.
🤺 1
😀 2
c

corneil

08/20/2021, 8:32 PM
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.