Google Trends for Zig array, Nim array, dart array, rust array, Past 12 months
trends.google.com
trends.google.com
I added Rust and Dart as established comparisons. I also added the keyword "array" to filter out and non programming language searches. I tried the alternative filter word "string" and obtained similar results.
Extending the time window to 5 years still didn't show either one to be trending over the other.
Curiously, I did try Stack Overflow's trend page but zig and nim tags were missing.
There's no obvious winner (IMHO).
Why not use "function" or "loop" or something universal as the keyword?
Someone who never used rust will search for "rust array". Someone who did will search for "rust vec". You're trying to figure out trends for people who have never used the language.
But you're not filtering out experienced users in the other languages, where "array" is a common term for all levels. So that argument doesn't hold either, unless you included other keywords like "what is" or "how do I" or "what's the equivalent to" to target learners no yet accustomed to the terminology.
Google trends normalizes the results to the highest value so if you want to compare Nim and Zig, it's clearer to query for only those two languages.
They are very close with a huge spike for zig when bun.js was released.
zig array + zig variable + zig for loop + zig programming language
Also be careful with the break in the data in 2022.