BlockchainCommons / BlockchainCommons/LifeHash

Document the underlying algorithm

Aperta
#4 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Mathematica
Stelle
83
Fork
6
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Is there a document that specifies the algorithm behind LifeHash?

I know there are at least three reference implementations in various languages, listed below for completeness, however it requires a lot of effort to reverse engineer these:
* Swift -- ;
* C++ -- ;
* Python -- (probably the best source for reverse engineering as it's [one self-contained source file](https://github.com/BlockchainCommons/bc-lifehash-python/blob/master/lifehash/lifehash.py));

For example I was looking for a pure Rust based implementation but there is none. I might have tried to implement one in a weekend, but there is no specification to start from, and reverse engineering an already implementation is far from a weekend project. :)

Also, for completeness, the video linked in the repository does give some insight, but it doesn't contain all the actual details:

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Start with the self-contained Python reference at lifehash/lifehash.py, then compare it with the Swift and C++ implementations linked in the issue. Document the complete algorithm, including details absent from the video, so another developer can implement LifeHash without reverse engineering an existing library.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
cpp, python, rust, swift
Ambito
documentation
Tipo di issue
Documentazione
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.