Kotlin under the hood: Understand the internals (Google I/O'19)

  Рет қаралды 46,999

Android Developers

Android Developers

Күн бұрын

Пікірлер
@codinginflow
@codinginflow 5 жыл бұрын
Chet Haase is my favorite comedian
@droidcasts7350
@droidcasts7350 3 жыл бұрын
Romain and Chet presentations are the best, always fun and informative
@bartekpa
@bartekpa 5 жыл бұрын
These two guys always give the best talks :D
@dimanemets6753
@dimanemets6753 5 жыл бұрын
5 years Android dev, learned at least 5 new things !
@bug_muzzy
@bug_muzzy 5 жыл бұрын
Awesome duo. Always fun, always concise and informative. Love presentations by these guys.
@Condog64
@Condog64 2 жыл бұрын
This video is incredibly insightful. I will never forget about Int? needing to allocate every time a new value is assigned. On the other hand, this video also feels like many passive aggressive remarks from Google to Jet Brains around the Kotlin compiler's inconsistencies and oddities. The lambda example actually seems pretty scary.
@porus10
@porus10 5 жыл бұрын
Such a piece of crucial information. It's so hard to believe the kind of mess Kotlin creates underneath for providing those extra features to the end developer. Every developer should beforehand dig in a little beneath this syntactical sugar provided by modern languages. And yes, Chet and Romain, always a delight to watch.
@SaravanaThiyagarajs
@SaravanaThiyagarajs 5 жыл бұрын
I am hoping someone from Jetbrains will comment on what's happening at 22:05
@no_fb
@no_fb 5 жыл бұрын
The guy said it himself, it's still experimental. Obviously the code doesn't yet check for wrap-around values and so on. It's just a very bad presentation overall.
@shyiamnot212
@shyiamnot212 5 жыл бұрын
I don't understand the part of interlude at 10:41,It will help a lot if anyone could explain it for me.Event a little hint would be help.
@НектоЛохматый
@НектоЛохматый 5 жыл бұрын
In Kotlin, we do 10001 comparasions of an integer to a variable of type Int?. As it's been told, Kotlin's Int? is java.lang.Integer under the hood. So, on each iteration we compare a primitive type int to an object of type Integer, and the only way to do this is to wrap the int into a corresponding Integer, like: Integer iAsInteger = new Integer(i); So, we expect 10001 object allocations. But Kotlin optimizes this a little bit by caching instances Integer(0), Integer(1), ..., Integer(127). Unless i gets greater than 127, Kotlin uses the cached java.lang.Integer's instead of allocating new ones.
@AkshayDave
@AkshayDave 5 жыл бұрын
Did javap -c "MyClass" work for anyone? When I go to AS terminal, and go to specific folder, and type that command it said class not found
@comradepeter87
@comradepeter87 4 жыл бұрын
.. you changed the MyClass to the name of your compiled class, right?
@AkshayDave
@AkshayDave 4 жыл бұрын
​@@comradepeter87​I would assumed so ;) It has been almost a year since this one. I will give it another go. "MyClass" was just a stand in.
@edgeeffect
@edgeeffect 2 жыл бұрын
This may well be a very good talk, but Google's ridiculous "rockstar" staging is very distracting.
@shubham0952
@shubham0952 5 жыл бұрын
22:05 nice roast
@stayathomedev3839
@stayathomedev3839 5 жыл бұрын
I thought the other speaker's name was Romanian Guy
@AshutoshTiwari4
@AshutoshTiwari4 5 жыл бұрын
Thumbs Up (Y)
@donwald3436
@donwald3436 5 ай бұрын
If he steals your slide just steal his lol.
@no_fb
@no_fb 5 жыл бұрын
Google guys, if you stumble on a few peculiarities in a language under development, talk directly with your partner instead of showcasing them in public and on KZbin. It's lame and unprofessional. After all, Kotlin is your way out of this Dalvik mess of yours.
@jorgesegundorojas6119
@jorgesegundorojas6119 5 жыл бұрын
I'm so angry, why should I keep developing Android applications if at any time and without notice YOU block manufacturers?... even more, why users (and clients) should keep buying Android devices if at any time YOU can make'em "WASTE" their money with this S T U P I D deciscions?.
@no_fb
@no_fb 5 жыл бұрын
wrong forum, mate
@hdkloh
@hdkloh 5 жыл бұрын
Good bye Kotlin... Welcome Flutter...
@rgenericson5361
@rgenericson5361 5 жыл бұрын
Dream on!
@PabloMartinezPiles
@PabloMartinezPiles 5 жыл бұрын
hdk loh 😂😂 you won’t see that
@aitortilla5128
@aitortilla5128 5 жыл бұрын
Not interested at all in Kotlin. I'll stick to Java.
What's new in Kotlin on Android, 2 years in (Google I/O'19)
30:35
Android Developers
Рет қаралды 46 М.
Understand Kotlin Coroutines on Android (Google I/O'19)
37:49
Android Developers
Рет қаралды 176 М.
JISOO - ‘꽃(FLOWER)’ M/V
3:05
BLACKPINK
Рет қаралды 137 МЛН
How to Make AI Agents Your Best-Performing Teammates
58:55
How to Kotlin - from the lead Kotlin language designer (Google I/O '18)
39:24
Build testable apps for Android (Google I/O'19)
41:41
Android Developers
Рет қаралды 51 М.
What's new in Android (Google I/O'19)
39:37
Android Developers
Рет қаралды 100 М.
Intro to the Zig Programming Language • Andrew Kelley • GOTO 2022
50:14
AI Is Making You An Illiterate Programmer
27:22
ThePrimeTime
Рет қаралды 134 М.
What's new in Android Development Tools (Google I/O'19)
36:43
Android Developers
Рет қаралды 31 М.
What's new in architecture components (Google I/O'19)
37:12
Android Developers
Рет қаралды 93 М.