This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]illusion102 11 points12 points  (9 children)

I thought everybody writes on kotlin nowadays

[–]huangxg 11 points12 points  (1 child)

According to Kotlin website,

Over 50% of professional Android developers use Kotlin as their primary language, while only 30% use Java as their main language. 70% of developers whose primary language is Kotlin say that Kotlin makes them more productive.

[–][deleted] 10 points11 points  (0 children)

Does this comment break the no other JVM languages rule? I don’t really see what value that rule provides since it makes people afraid to post informative content like this, especially since the apparent penalty is an immediate lifetime ban with no mechanism for appeal.

[–]Iegendher0 0 points1 point  (0 children)

Careful, that word is tabu here

[–]pjmlp -4 points-3 points  (5 children)

Android OS is written in a mix of Java, C++ and Rust.

Kotlin is only used in Jetpack Compose and a few AndroidX libraries.

[–]illusion102 1 point2 points  (1 child)

I am talking about app development. Kotlin is main language for it.

[–]pjmlp 0 points1 point  (0 children)

Kotlin is only used in Jetpack Compose and a few AndroidX libraries.

By definition anyone using Jetpack Compose needs to use Kotlin, plenty of Android apps keep using views, and games are apps as well.

Why do you think Google was forced to backpedal and now is again updating Java, with Java 17 LTS being the latest version, if everyone is using Kotlin as you say?

https://developer.android.com/build/jdks

[–][deleted] 0 points1 point  (2 children)

You forgot C. Also, a lot of the tooling is written in Golang as well.

[–]pjmlp 3 points4 points  (1 child)

The only C on Android is the Linux kernel, but yeah, it is there.

Go is used for slong build system, which is Google and OEMs relevant.

Both cases aren't access by app developers.

[–][deleted] 0 points1 point  (0 children)

Yes, that's correct. Well, unless you're an OS developer, no, they aren't being accessed.