3 ms·
~/kubo$ find . -name \*.go | xargs wc -l | tail -1 59629 total Doesn't seem that big?
by jstanley 3y ago
~/kubo$ find . -name \*.go | xargs wc -l | tail -1
59629 total
Doesn't seem that big?
- kkfx 3y agoYES! Compared to a simple IRC server+client or XMPP definitively.
- jstanley 3y agoWell irssi is an IRC client and is bigger than that: ~/irssi$ find . -name \*.[ch] | xargs wc -l | tail -1 88551 total https://github.com/irssi/irssi https://github.com/irssi/irssi Obviously ipfs doesn't have the chat UI, ipfs is just a protocol layer. But it is a more complicated protocol than IRC, so you'd expect it to be larger. I don't think it's large out of proportion, certainly not large enough to call it a "MONSTER software".
- bogwog 3y agoMy users complain all the time about the LoC of my codebase
- mrusme 3y agoI'd like to point out that you probably cloned https://github.com/ipfs/kubo https://github.com/ipfs/kubo there, which is only one part of what accounts for the "IPFS codebase". If you want to find out the actual LoC, I'm afraid you will need to dig through https://github.com/ipfs/kubo/blob/master/go.mod https://github.com/ipfs/kubo/blob/master/go.mod and pick everything that's github.com/ipfs/*, github.com/libp2p/* and github.com/ipld/*.
- jstanley 3y agoFair point!