Jump to page: 1 2
Thread overview
OT: languages and github activity
Oct 25, 2021
IGotD-
Oct 25, 2021
H. S. Teoh
Oct 25, 2021
Guillaume Piolat
Oct 26, 2021
Dr Machine Code
Oct 25, 2021
Imperatorn
Oct 25, 2021
Imperatorn
Oct 26, 2021
zjh
Oct 26, 2021
surlymoor
Oct 26, 2021
zjh
October 25, 2021

I looked at bit at the github activity for various languages in terms of repos created in the past 2 months using Github advanced search.

language number of repos created in the past 2 months
Java 371K
TypeScript 165K
C# 147K
C++ 102K
C 64K
Kotlin 50K
Dart 44K
Go 38K
Swift 29K
Rust 15K
Scala 3K
Pascal 2K
Haskell 2K
Objective-C 2K
Julia 2K
Fortran 657
Haxe 552
F# 520
OCaml 494
Prolog 368
Zig 245
Erlang 220
Nim 217
D 185
Crystal 119
Vala 61
Pony 11
Chapel 1

My interpretation:

Languages that are used by students and academics appear to have a boost on Github (Fortran, OCaml, Haskell, Java). To get over 1K you seem to need to have a unique domain where are you are or have been dominating (except for Scala, which is an outlier).

I didn't expect C++ to have so many new repos, and expected the distance between C# and C++ to be bigger. Is this because the C++ standard library is weak, or do C++ programmers have a stronger inclination to share their projects in progress on Github? I don't know, maybe C# programmers have other platforms they prefer.

Dart being so close to Kotlin and Swift is also a bit surprising; it suggests that people have a strong preference for portability. I actually thought that Haxe was fading away, but it appears to be quite strong for a language that does not receive much exposure. Again, could suggest that portability is a strong factor.

Nim and D appears to be fairly stable, so no real surprise there, but Zig is getting more attention than I would expect at this point in time. I personally don't view Zig as a particularly interesting language design, so does the apparent growth reflect early enthusiasm or does it reflect actual productivity?

Pony and Chapel are interesting languages, but maybe concurrency is not as important to most programmers as we might like to think it is. Erlang has had a lot of exposure, yet it does not have more activity than languages that receive very little exposure. So again, maybe concurrency is not a strong factor when people select programming languages (yet).

(Note: github results vary by a few % for each search, so it isn't precise).

October 25, 2021

On Monday, 25 October 2021 at 16:17:43 UTC, Ola Fosheim Grøstad wrote:

>

[...]

Pascal which is an old almost dead language is rather high up on the list, strange. Are there tons of schools that still use Pascal? Does Pascal also include Delphi?

October 25, 2021

On Monday, 25 October 2021 at 16:39:06 UTC, IGotD- wrote:

>

On Monday, 25 October 2021 at 16:17:43 UTC, Ola Fosheim Grøstad wrote:

>

[...]

Pascal which is an old almost dead language is rather high up on the list, strange. Are there tons of schools that still use Pascal? Does Pascal also include Delphi?

Yes, as you can see Delphi repos have a strong presence:

https://github.com/search?q=created%3A%3E2021-08-25+language%3APascal&type=Repositories&ref=advsearch&l=Pascal&l=

October 25, 2021

On Monday, 25 October 2021 at 16:17:43 UTC, Ola Fosheim Grøstad wrote:

>

I looked at bit at the github activity for various languages in terms of repos created in the past 2 months using Github advanced search.

[...]

Interesting. But, why oh why is Fortran so high on that list? 😅

October 25, 2021
On Mon, Oct 25, 2021 at 04:39:06PM +0000, IGotD- via Digitalmars-d wrote: [...]
> Pascal which is an old almost dead language is rather high up on the list, strange. Are there tons of schools that still use Pascal? Does Pascal also include Delphi?

Delphi is based on Pascal IIRC.  Delphi is quite widely used in spite of not usually being on people's popular lists.  (This is another reason I don't trust what's popular / not popular.  It presents a wildly inaccurate picture of what's actually there.)


T

-- 
An elephant: A mouse built to government specifications. -- Robert Heinlein
October 25, 2021

On Monday, 25 October 2021 at 17:43:29 UTC, Imperatorn wrote:

>

Interesting. But, why oh why is Fortran so high on that list? 😅

My guess is that many in Physics are not interested enough in programming to become proficient in C++? There might also be communities where you are better off using what your colleagues are using. Once a language dominates a field it tends to linger on for decades…

October 25, 2021

On Monday, 25 October 2021 at 17:58:38 UTC, Ola Fosheim Grøstad wrote:

>

On Monday, 25 October 2021 at 17:43:29 UTC, Imperatorn wrote:

>

Interesting. But, why oh why is Fortran so high on that list? 😅

My guess is that many in Physics are not interested enough in programming to become proficient in C++? There might also be communities where you are better off using what your colleagues are using. Once a language dominates a field it tends to linger on for decades…

Might be true. Just write what you're used to and already know. Just a bit unreasonably high still imo, but that might be the answer

October 25, 2021

On Monday, 25 October 2021 at 21:31:34 UTC, Imperatorn wrote:

>

Might be true. Just write what you're used to and already know. Just a bit unreasonably high still imo, but that might be the answer

Yes, since we are talking new code then it is high. I would have expected relatively high maintenance levels of old repos and fewer new ones.

If we look at some of the repos then some describe themselves as being targeting "modern Fortran". So it might be that some of those repos are recreating features of existing libraries in a less archaic formulation.

October 25, 2021
On Monday, 25 October 2021 at 17:48:39 UTC, H. S. Teoh wrote:
> Delphi is based on Pascal IIRC.  Delphi is quite widely used in spite of not usually being on people's popular lists.  (This is another reason I don't trust what's popular / not popular.  It presents a wildly inaccurate picture of what's actually there.)

+1
If you think about it, the above list has no Excel, COBOL, or PHP.
October 25, 2021
On Monday, 25 October 2021 at 21:48:24 UTC, Guillaume Piolat wrote:
> If you think about it, the above list has no Excel, COBOL, or PHP.

Yes, I tried to focus on languages that to some extent can be replaced by D, is somewhat comparable to D (and have a reputation for being somewhat efficient).

I accidentally bypassed Ada, which is at 84 new repos.

I didn't add Python, Perl or Php because they are more in a scripting-tradition. So I don't think of them as being head-to-head with D. (others might disagree)

« First   ‹ Prev
1 2