4 ms·
You made me curious about how large Pion is, 162k lines! I made sure to delete all test files first. sean@SeanLaptop:~/go/src/github.com/pion$ find . -type
by Sean-Der 5y ago
You made me curious about how large Pion is, 162k lines! I made sure to delete all test files first.
sean@SeanLaptop:~/go/src/github.com/pion$ find . -type f -name '\*.go' | xargs wc
47871 162998 1394063 total
pion/webrtc is the largest package with 58k lines. Every other package (ICE, DTLS, SCTP....) are all around 20k lines. It feels wrong that WebRTC is so large (and not pushed into sub packages) will for sure be digging into that for fun in the next few weeks :)
- elithrar 5y agoThere are: - A lot of examples: https://github.com/pion/webrtc/tree/master/examples https://github.com/pion/webrtc/tree/master/examples - A lot of tests - if you exclude `_test.go` and `examples/` you are down to ~58k loines, which is only ~3x bigger than the (much simpler!) ICE and SCTP packages. With a naive exclude via grep -v '_test.go' and grep -v 'examples/*' we are down to: 16180 58136 498113 total
- tschellenbach 5y agothanks for the amazing work on Pion, seriously impressive stuff
- Sean-Der 5y agoThank you! If you are ever need help or are interested in getting involved I am always around. https://pion.ly/slack https://pion.ly/slack