L1 blockchain technology explained by lines of code in the network client:
ICP — 1.1m 🎖️
Sui — 501k
Solana — 500k
Aptos — 486k
Near — 350k
Avalanche — 280k
🧵 (notes)
ICP:
Exclude internet-identity, http-gateway and ic-http repos repos to avoid debate: network client only
$ cloc .
1.1m lines of Rust, 1.23m overall (remainder isn't code).
🧵
Sui:
$ cloc . --exclude-dir=external-crates --fullpath --not-match-d="(sui-execution/v.|sui-bridge.*)"
501K lines of Rust, 703K overall (remainder mostly Markdown, JSON, and YAML, which isn’t code).
🧵
Solana:
$ cloc .
500K lines of Rust, 600K overall (remainder mostly Javascript, JSON and Markdown, which isn't code).
🧵
Aptos:
$ cloc . --exclude-dir=third_party,ecosystem,aptos-move
486K lines of Rust, 816K overall (remainder mostly JSON, YAML, which isn’t code).
🧵
Near:
$ cloc .
350K lines of Rust, 650K overall (remainder mostly Webassembly, JSON, Python, which isn't code)
🧵
Avalanche:
$ cloc .
280K lines of Go, 475K overall (remainder mostly JSON, which isn't code).
1.08萬
254
本頁面內容由第三方提供。除非另有說明,OKX 不是所引用文章的作者,也不對此類材料主張任何版權。該內容僅供參考,並不代表 OKX 觀點,不作為任何形式的認可,也不應被視為投資建議或購買或出售數字資產的招攬。在使用生成式人工智能提供摘要或其他信息的情況下,此類人工智能生成的內容可能不準確或不一致。請閱讀鏈接文章,瞭解更多詳情和信息。OKX 不對第三方網站上的內容負責。包含穩定幣、NFTs 等在內的數字資產涉及較高程度的風險,其價值可能會產生較大波動。請根據自身財務狀況,仔細考慮交易或持有數字資產是否適合您。

