Похожие чаты

How can i use Jetpack compose in java ?

21 ответов

23 просмотра

No way to use.

Ali-Ghasemi Автор вопроса
Vadym Yaroshchuk
No way to use.

Why Google doesn't release for java ?

Ali Ghasemi
Why Google doesn't release for java ?

Because java is shit. Kotlin is officially #1 in android developing

Ali Ghasemi
Why Google doesn't release for java ?

Google doesn't officially support java for android

Only Kotlin! You're suppose to learn Kotlin asap because it's reported as the official Android development language. New libraries are being written only in Kotlin.

Jorge Luiz
Only Kotlin! You're suppose to learn Kotlin asap b...

I agree with this, in interviews I'm being asked only Kotlin questions

Sreekanth K
But Kotlin is interoperable with Java.

So libraries written in Kotlin are interoperable with Java

Sreekanth K
So libraries written in Kotlin are interoperable w...

Yep, but you absolutely lose in performance by using that inter. At least it's what I've read on many books about Kotlin. Writing 100% Kotlin code you'll unleash the maximum potential of the Kotlin language.

Jorge Luiz
Yep, but you absolutely lose in performance by usi...

In which way? It's gonna be the same bytecode as if Java sources were compiled. I know that Java-C interop could kill some performance. But I never heard that about Kotlin-Java interop. Can you send a proof-links?

Roman Chumachenko
In which way? It's gonna be the same bytecode as i...

https://www.amazon.com/Mastering-Kotlin-advanced-programming-techniques-ebook/dp/B07R8M9RGL/ref=sr_1_1?dchild=1&keywords=mastering+kotlin&qid=1631812748&sr=8-1

Jorge Luiz
https://www.amazon.com/Mastering-Kotlin-advanced-p...

Okay let's just think about it. Android SDK is fully written in Java. And we write apps in kotlin which rely on Java code. We use many Java libraries to solve different problems. Any performance drops?

Please, read the book inside it there're several examples which describe what I've mentioned.

Jorge Luiz
Please, read the book inside it there're several e...

Interop chapter is small and contains syntactic basics as far as I see

Jorge Luiz
Yep, but you absolutely lose in performance by usi...

Okay so there is info about possibly poor build time and increased artifact size if you add kotlin to existing project. I agree, kotlin has it's flaws and those claims are plain truth. But is it about runtime performance?

Roman Chumachenko
screenshot Okay so there is info about possibly poor build ti...

You could agree with me there are other obvious advantages in using 100% Kotlin code, for instance, you could use all benefits of the language itself. Is that not enough to you or any other dev?

Jorge Luiz
You could agree with me there are other obvious ad...

Sure. It's just that word 'perfeormance' mean different things in different contexts. And I thought you were talking about runtime performance drops

Похожие вопросы

Обсуждают сегодня

Господа, а что сейчас вообще с рынком труда на делфи происходит? Какова ситуация?
Rꙮman Yankꙮvsky
29
А вообще, что может смущать в самой Julia - бы сказал, что нет единого стандартного подхода по многим моментам, поэтому многое выглядит как "хаки" и произвол. Короче говоря, с...
Viktor G.
2
@Benzenoid can you tell me the easiest, and safest way to bu.y HEX now?
Živa Žena
20
This is a question from my wife who make a fortune with memes 😂😂 About the Migration and Tokens: 1. How will the old tokens be migrated to the new $LGCYX network? What is th...
🍿 °anton°
2
30500 за редактор? )
Владимир
47
а через ESC-код ?
Alexey Kulakov
29
What is the Dex situation? Agora team started with the Pnetwork for their dex which helped them both with integration. It’s completed but as you can see from the Pnetwork ann...
Ben
1
Гайс, вопрос для разносторонее развитых: читаю стрим с юарта, нада выделять с него фреймы с определенной структурой, если ли чо готовое, или долбаться с ринг буффером? нада у...
Vitaly
9
Anyone knows where there are some instructions or discort about failed bridge transactions ?
Jochem
21
@lozuk how do I get my phex copies of my ehex from a atomic wallet, to move to my rabby?
Justfrontin 👀
11
Карта сайта