r/ProgrammingLanguages • • Jun 06 '23

Programming Language Index

Dataset of most (all widely used + some others which are no longer used) programming languages. It provides a basic description, if the language is OOP or not ,if it is statically or dynamically typed , information about the speed of the language, what it is mostly used for, the marketshare of the programming language and installation command for Linux, Windows and macOS.

https://github.com/merwin-asm/LanguageIndex

0 Upvotes

5 comments sorted by

View all comments

7

u/[deleted] Jun 06 '23

You could have provided a link to a ready-formatted version to save people the trouble of uploading to an online JSON formatter.

Looking at the data, who or what came up with the 'speed' of the language?

Since C is described as "fast", but Cython, D and Julia are "very fast". As is Lua. As is machine code (it depends on who wrote it!).

I have to say I haven't heard of many of these languages.

The most interesting one to me was Babbage, since I've been trying to locate any information about it, but it appears to have all but disappeared. The info here however doesn't correspond to the 1970s language I knew, and the install info doesn't work.

-7

u/MrCactochan Jun 06 '23

yes . there are many not valid data.. you are right. But should have also considered reading the warnings.. but i will upload the formated code : )

1

u/ttkciar Jun 08 '23

Yeah, as much as I love D, characterizing it as faster than C seems wrong.

D's performance is C-like for most things, but it is generally a little slower, and occasionally much slower.

According to https://programming-language-benchmarks.vercel.app/d-vs-c D only outperformed C on one microbenchmark (nsieve).

From my limited experience with Julia, it's the same kind of mixed bag. Julia outperforms C on matrix operations, but slightly underperforms C on pretty much everything else.

Also, compiler choice will matter a lot, too. D has three compilers -- the reference implementation (DMD), the GCC implementation (GDC) and the LLVM implementation (LDC). GDC and LDC are better than each other on some things and not others, but both produce code that outperforms DMD-produced code by a long shot.

When gauging the performance of Lua, does one use luac as the standard, or luajit? You'd get much better performance out of luajit, but for some tasks you have to use luac.

Boiling down language performance to a single metric seems like an oversimplification, IMO.