Ultimately, AI should translate programs on the fly.
Say, I know only Perl well, but I want to edit a Linux kernel device driver written in C. So I fire up 'aidlin', my favourite source code editor. aidlin reads the C file, but what I see on screen is pure Perl - a Perl representation of the C program. As I edit, the program translates Perl to C. The edited C source is eventually compiled, linked, etc.
In such a world, whose popularity did my little edit session contribute to? C or Perl?
I'd say it's Perl.
Code and search queries won't suffice anymore to rank popularity.. We'd need the programming equivalent of the set top boxes used in Neilson ratings to see what languages are the humans actually using.