Ancestors

Toot

Written by Romain Guy on 2024-12-20 at 00:57

New blog post! If you are a Kotlin or Java Android developer, this one should make you go 🤯.

https://www.romainguy.dev/posts/2024/naming-is-hard/

I'm not even sorry.

=> More informations about this toot | More toots from romainguy@androiddev.social

Descendants

Written by Ian G. Clifton on 2024-12-20 at 01:10

@romainguy Over the holidays you can rewrite the obfuscator to analyze which fields are used together to pick obfuscated names based on the L1 cache implications. Should be a quick and easy project 😉

=> More informations about this toot | More toots from iangclifton@androiddev.social

Written by Romain Guy on 2024-12-20 at 01:20

@iangclifton I thought about it many times 😅

=> More informations about this toot | More toots from romainguy@androiddev.social

Written by Jake Wharton on 2024-12-20 at 03:58

@romainguy This hurt me

=> More informations about this toot | More toots from jw@jakewharton.com

Written by Romain Guy on 2024-12-20 at 04:31

@jw Yeah but you loved it too

=> More informations about this toot | More toots from romainguy@androiddev.social

Written by Jake Wharton on 2024-12-20 at 04:53

@romainguy I very much did 🫤

=> More informations about this toot | More toots from jw@jakewharton.com

Written by bondolo on 2024-12-20 at 04:23

@romainguy Alphabetizing is such a strange choice. Especially given the use of ProGuard/R8. The declaration order would seem to be preferable in most cases (barring false sharing of course).

=> More informations about this toot | More toots from bondolo@mastodon.social

Written by Romain Guy on 2024-12-20 at 04:32

@bondolo I would indeed prefer declaration order as well. I should ask the ART team about the reasoning behind this choice. I'm sure there's a great reason.

=> More informations about this toot | More toots from romainguy@androiddev.social

Written by v̾i̾t̾r̾i̾o̾l̾i̾x̾ on 2024-12-20 at 04:35

@romainguy 🤯

=> More informations about this toot | More toots from vitriolix@mastodon.social

Written by Ryan Harter on 2024-12-20 at 04:49

@romainguy That's...interesting.

=> More informations about this toot | More toots from ryan@harter.us

Written by Aurimas Liutikas :google: on 2024-12-20 at 07:23

@romainguy WTF 😒

=> More informations about this toot | More toots from Aurimas@androiddev.social

Written by Sven Jacobs :androidHead: on 2024-12-20 at 07:23

@romainguy Well, that's unexpected 🤯 From now on I'm going to prepend a_ to all important fields. No, of course I'm just joking 😉

=> More informations about this toot | More toots from svenjacobs@androiddev.social

Written by terrakok on 2024-12-20 at 09:12

@romainguy i1, i2, i3, ... are returned back to the game :androidJetpack:

=> More informations about this toot | More toots from terrakok@androiddev.social

Written by michael aubert on 2024-12-20 at 10:03

@romainguy 64 bytes cache line seems like it should be increased by now. I wonder how often phones get an L1 cache hit these days.

(not a magic wand, just an observation. changing the behaviour of ART would also be good)

=> More informations about this toot | More toots from michaelaubert@androiddev.social

Written by Igor K on 2024-12-20 at 14:14

😲 how much is R8 messing with micro optimizations? I imagine this would be one case but it cannot be the only

=> More informations about this toot | More toots from igokoro@androiddev.social

Written by Ellen Shapiro on 2024-12-20 at 14:40

@romainguy @jw

=> View attached media

=> More informations about this toot | More toots from designatednerd@mastodon.social

Written by humazed on 2024-12-28 at 00:33

@romainguy, how did you even know this was a thing?

=> More informations about this toot | More toots from humazed@mastodon.social

Written by Romain Guy on 2024-12-28 at 02:57

@humazed I always wondered what the memory layouts of objects was so a few years I read through ART's source code. Also validated by testing when attempting to do some data oriented programming. Then procrastinated on a blog post for years 😂

=> More informations about this toot | More toots from romainguy@androiddev.social

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113682433179859454
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
489.225472 milliseconds
Gemini-to-HTML Time
2.788493 milliseconds

This content has been proxied by September (3851b).