Our great sponsors
mako | tokei | |
---|---|---|
13 | 30 | |
565 | 9,969 | |
- | - | |
0.0 | 6.2 | |
over 1 year ago | 11 days ago | |
C | Rust | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
mako
-
what programming language is bitcoin software written in?
Mako is written in C Core and some other variants are discussed in the /u/bitusher comment
-
Who controls Bitcoin ?
There is a thread about mako, which is a new implementation, in this sub right now.
- Show HN: Mako – a full Bitcoin implementation in C
- mako - a full Bitcoin implementation in C
- An open access book on scientific visualization using python and matplotlib
-
Mako – a full Bitcoin implementation in C
Call me old school, but I like looking at the number of lines of code to get a feel for how big of a project something is. Mako[1] is 265,618 lines of code. The most widely accepted Bitcoin implementation[2] is 639,074 lines of code. The common Bitcoin implementation is 2.5x bigger and written in a slew of languages. Mako looks like a super-impressive amount of work (and by a single person no less).
[1] https://github.com/chjj/mako
[2] https://github.com/bitcoin/bitcoin
[3] How I calculated: find -type f | sed 's/.*/"&"/' | xargs wc -l
tokei
- XAMPPRocky/tokei: Count your code, quickly
-
The Linux Kernel Prepares for Rust 1.77 Upgrade
So If we would only count code and not comments, it is only 9489 LoC Rust. Which would be about 0.03% and if we take all lines and not only LoC it would be around 0.05%
[0] https://github.com/XAMPPRocky/tokei
[1] https://github.com/torvalds/linux/commit/b401b621758e46812da...
- Tokei: Display statistics about your code, quickly
-
SOOOO many Errors when upgrading
thirdly: found this (https://github.com/XAMPPRocky/tokei) and wanted to analyze languages used on my system, didn't see a package manager (apt) for it that I had. So i installed cargo via apt-get rustup. Added the bin folder to $PATH via PATH=$PATH:~/.cargo/bin. But did not make it permanent. And stupidly rand tokei on "/", realizing how long and unhelpful that would be killed it. Then ran it in a dump folder with some very nested repo dumps, and tons of wolfram.nb files. After killing that too, and attempting to kill via system monitor. Still have two of those as zombie processes.
-
What "nice-to-have" CLI tools do you know?
tokei
- How long is your neovim config?
-
How do you name your crates?
For what it's worth, tokei seems to be named after tokei.
-
[media] Onefetch v2.13 is typically 2x faster and now supports ~100 programming languages
BTW, for more info on how it is done, you can check out tokei which is the library use by onefetch for code statistics.
-
Pytokei: a python binding for rust's tokei
With pytokei you can count code quickly using all the power from tokei, but from python.
-
Rust Easy! Modern Cross-platform Command Line Tools to Supercharge Your Terminal
Tokei is a nice utility to count lines and stats of code. It is very fast, accurate, and has a nice output. It supports over 150 languages and can output in JSON, YAML, CBOR, and human-readable tables.
What are some alternatives?
bcoin - Javascript bitcoin library for node.js and browsers
cloc - cloc counts blank lines, comment lines, and physical lines of source code in many programming languages.
StratisFullNode
coreutils - Cross-platform Rust rewrite of the GNU coreutils
scc - Sloc, Cloc and Code: scc is a very fast accurate code counter with complexity calculations and COCOMO estimates written in pure Go
uwc
NBitcoin - Comprehensive Bitcoin library for the .NET framework.
trust-dns - A Rust based DNS client, server, and resolver [Moved to: https://github.com/hickory-dns/hickory-dns]
btcd - An alternative full node bitcoin implementation written in Go (golang)
rrun - minimalistic command launcher in rust
gui - Bitcoin Core GUI staging repository
habitat - Modern applications with built-in automation