Software optimization is mostly not a language-level problem. I'll be dailying my 3-year-old OnePlus 9 Pro until it starts missing out on security updates, but it will probably still be "usable" long after that. Support/updates aside, my 6-year-old galaxy s9 can still run most normal apps. Hell, I got the most recent lineageOS running on a pixel 2 XL from the year before that and it straight up felt fast as long as I wasn't playing some super intensive game or something. This isn't an android vs. iOS problem, it's a "developers of [insert flashy new app here] either not bothering to put effort in to optimize their code or being forced to push out a minimum viable product ASAP" problem.
Edit: fixed my hyphen use
I know I'm late to this but here's my (probably insane?) take. We use Subject-Verb-Object in English right? So, hear me out: