News for hackers. Stuff that matters.
Re:Google Trends for Zig array, Nim array, dart array, rust ... by bsdz on Sunday November 27, 2022 @04:49AM (#33761732)
This was my very non-scientific way of trying to decide between Nim & Zig as a new systems language to experiment with. The plan was to choose the one trending the most.

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).

Re:Google Trends for Zig array, Nim array, dart array, rust ... by jstx1 on Sunday November 27, 2022 @04:52AM (#33761746)
> I added Rust and Dart as established comparisons.

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.

Re:Google Trends for Zig array, Nim array, dart array, rust ... by bsdz on Sunday November 27, 2022 @04:55AM (#33761762)
Of course, if you delete the Rust and Dart terms you'll see there's still no trend winner between Zig or Nim.
Re:Google Trends for Zig array, Nim array, dart array, rust ... by mraleph on Sunday November 27, 2022 @05:49AM (#33762011)
Dart does not have arrays, it has lists. Try replacing "Dart array" with "Dart list" instead.
Re:Google Trends for Zig array, Nim array, dart array, rust ... by remram on Sunday November 27, 2022 @09:59AM (#33763342)
Arrays are also somewhat unusual in Rust (because they are fixed-length, unlike vector "Vec").

Why not use "function" or "loop" or something universal as the keyword?

Re:Google Trends for Zig array, Nim array, dart array, rust ... by ohgodplsno on Sunday November 27, 2022 @10:23AM (#33763498)
For new experimenters of languages, "array" is the perfect word to use. It's a very common word that everyone learns whenever they start with C or Java. All the people looking to try things will use that term first before learning the proper terms.

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.

Re:Google Trends for Zig array, Nim array, dart array, rust ... by remram on Sunday November 27, 2022 @12:44PM (#33764830)
> 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.

Re:Google Trends for Zig array, Nim array, dart array, rust ... by ohgodplsno on Sunday November 27, 2022 @10:24AM (#33763503)
This just gives you results for people who know that dart has lists, therefore, not people currently learning and experimenting the language.
Re:Google Trends for Zig array, Nim array, dart array, rust ... by Varriount on Sunday November 27, 2022 @01:43PM (#33765367)
Just an FYI, while Nim has arrays (which are fixed-size) it's far more common to use sequences (dynamically-sized arrays).
Re:Google Trends for Zig array, Nim array, dart array, rust ... by karmakaze on Sunday November 27, 2022 @03:28PM (#33766561)
I can't say I personally (or even professionally) need a systems language of the non-GC variety. The development speed vs execution speed differences don't pay off. At the same time, I'm very interested in how these lower level languages are becoming more and more generally usable. Rust seems to be leading at the moment and I find Zig very promising. My long-term bet would be for Jai or extracting "Within C++, there is a much smaller and cleaner language struggling to get out".
Re:Google Trends for Zig array, Nim array, dart array, rust ... by bsdz on Monday November 28, 2022 @03:18AM (#33771037)
Jai looks interesting although it seems most information seems to be within several YouTube videos.
Re:Google Trends for Zig array, Nim array, dart array, rust ... by fyzix on Monday November 28, 2022 @12:14AM (#33770051)
You can add programming language filters: https://trends.google.com/trends/explore?q=%2Fg%2F11fmgrsx_v...

They are very close with a huge spike for zig when bun.js was released.

Re:Google Trends for Zig array, Nim array, dart array, rust ... by bsdz on Monday November 28, 2022 @03:16AM (#33771027)
That's better than adding my extraneous terms. How did you add the programming language filter? I've now also noticed there's a "programming" category which perhaps is similar but looks different to your link (https://trends.google.com/trends/explore?cat=31&q=nim,zig#TI...)