digitalmars.D - OT: languages and github activity
- Ola Fosheim =?UTF-8?B?R3LDuHN0YWQ=?= (63/63) Oct 25 2021 I looked at bit at the github activity for various languages in
- IGotD- (5/6) Oct 25 2021 Pascal which is an old almost dead language is rather high up on
- Ola Fosheim =?UTF-8?B?R3LDuHN0YWQ=?= (3/10) Oct 25 2021 Yes, as you can see Delphi repos have a strong presence:
- H. S. Teoh (9/12) Oct 25 2021 Delphi is based on Pascal IIRC. Delphi is quite widely used in spite of
- Guillaume Piolat (3/7) Oct 25 2021 +1
- Ola Fosheim =?UTF-8?B?R3LDuHN0YWQ=?= (9/11) Oct 25 2021 Yes, I tried to focus on languages that to some extent can be
- Dr Machine Code (2/12) Oct 25 2021 used in new projects or just maintaining old codebase?
- Ola Fosheim =?UTF-8?B?R3LDuHN0YWQ=?= (3/4) Oct 26 2021 The repos in my table are new.
- Imperatorn (3/8) Oct 25 2021 Interesting. But, why oh why is Fortran so high on that list? đŸ˜…
- Ola Fosheim =?UTF-8?B?R3LDuHN0YWQ=?= (6/7) Oct 25 2021 My guess is that many in Physics are not interested enough in
- Imperatorn (5/12) Oct 25 2021 Might be true. Just write what you're used to and already know.
- Ola Fosheim =?UTF-8?B?R3LDuHN0YWQ=?= (8/11) Oct 25 2021 Yes, since we are talking new code then it is high. I would have
- zjh (5/6) Oct 25 2021 Modern C++ basically absorbs the essence of D, so D has to learn
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](https://github.com/search/advanced?q=type=Repositories). |language | number of repos created in the past 2 months| |---|---| |Java|371K| |TypeScript|165K| |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| |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 standard library is weak, or do C++ programmers have a stronger inclination to share their projects in progress on Github? I 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).
Oct 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?
Oct 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: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=[...]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?
Oct 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
Oct 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.
Oct 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)
Oct 25 2021
On Monday, 25 October 2021 at 17:48:39 UTC, H. S. Teoh wrote:On Mon, Oct 25, 2021 at 04:39:06PM +0000, IGotD- via Digitalmars-d wrote: [...]used in new projects or just maintaining old codebase?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
Oct 25 2021
On Tuesday, 26 October 2021 at 05:31:27 UTC, Dr Machine Code wrote:used in new projects or just maintaining old codebase?The repos in my table are new.
Oct 26 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](https://github.com/search/advanced?q=type=Repositories). [...]Interesting. But, why oh why is Fortran so high on that list? đŸ˜…
Oct 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…
Oct 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: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 answerInteresting. 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…
Oct 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 answerYes, 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.
Oct 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 inModern C++ basically absorbs the essence of D, so D has to learn the `goody` of C++.like `...` and `concept` and `coroutines`...,They are very easy to use.
Oct 25 2021
On Tuesday, 26 October 2021 at 00:35:32 UTC, zjh wrote:On Monday, 25 October 2021 at 16:17:43 UTC, Ola Fosheim Grøstad wrote:Well, there is a DIP for [tuple expansion via `...`](https://github.com/dlang/DIPs/blob/master/DIPs/DIP1037.md), but I haven't seen Manu around in a good while.I looked at bit at the github activity for various languages inModern C++ basically absorbs the essence of D, so D has to learn the `goody` of C++.like `...` and `concept` and `coroutines`...,They are very easy to use.
Oct 25 2021
On Tuesday, 26 October 2021 at 04:43:31 UTC, surlymoor wrote:On Tuesday, 26 October 2021 at 00:35:32 UTC, zjh wrote:`Manu` VS `walter`,and `walter` KO.
Oct 25 2021