libp2p / website

Webpage of the libp2p project. A multi protocol approach for a interoperable network stack that follows the 'self description' in favor of assumptions
https://libp2p.io
34 stars 31 forks source link

Implementation page updates #147

Closed Menduist closed 1 year ago

Menduist commented 1 year ago

Each commit details it's changes, and some could be reverted if deemed inappropriate.

The last big one is: Sort implementations by number of implemented protocols

AFAICT, implementations are currently a bit random in their order. The way I see it, we have two ways to sort them which would makes sense: By TIOBE index of the language:

1 "Python"
2 "JVM"
4 "C++"
5 "C#"
7 "JavaScript"
12 "Go"
16 "Swift"
26 "Rust"
42 "Erlang"
70 "Nim"

By number of implemented modules:

     25 "Go"
     20 "Rust"
     20 "JavaScript"
     16 "Nim"
     13 "C++"
     12 "Swift"
      8 "JVM"
      7 "Python"
      5 "Erlang"

(generated by jq 'inputs.libs[].langs[] | select(.status != "Missing").name' data/implementations/* | sort | uniq -c | sort -nr) I think the second one makes more sense, but I'm probably biased here :smile:

The sorting in the JSONs was done by hand, so errors might have slipped through, but I checked a few times and didn't see any

EDIT: preview by CI here: https://bafybeigafwk3yllahd3kmokivxpg5lvqfh4nt6vyxe23ydsyfyefsthloe.on.fleek.co/implementations/