coreutils
tokei
Our great sponsors
coreutils | tokei | |
---|---|---|
119 | 29 | |
16,634 | 9,737 | |
1.9% | - | |
10.0 | 6.2 | |
7 days ago | 4 days ago | |
Rust | Rust | |
MIT License | 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.
coreutils
-
Cross-platform Rust rewrite of the GNU coreutils
Not that it should represent the rubicon of when to/not to rewrite code, but when you do, you do trade one set of bugs for a new set of bugs: https://github.com/uutils/coreutils/issues
-
The First Stable Release of a Rust-Rewrite Sudo Implementation
Would be interesting to see a a Debian derivative that combines this with the Rust Implementation Of GNU Coreutils.[1] Could be a big win for memory safety and performance.
-
Looking for a small boring rust project to help my learning.
uutils /coreutils is also a great project. It has many contributors, and it also is a great resource to learn.
-
I Built an Implementation of the ls Command to Learn Rust! (Used to List Files in the Terminal)
You might be interested in this? https://github.com/uutils/coreutils
-
I have years of experience in vulnerability analysis including several 0-day discovery, and this bug [buffer overflow] seems totally safe.
Already did it. Checkmate, as i believe your people say.
- Tree(1) in Zig
-
Rust is ugly, doesn’t even let you write simple data structures, unsafe rust is not even defined, makes the simplest things so hard to write and did I mention it’s ugly?
Ah yes, std, that famous crate that is unusable for systems programming. God forbid anyone do any "systems" programming that uses std.
-
GitHub - dcantrell/bsdutils: Alternative to GNU coreutils using software from FreeBSD
I suppose there's some merit in having another option. But I also immediately thought why not just contribute to https://github.com/uutils/coreutils.
I like the idea but I think that https://github.com/uutils/coreutils likely is the better option going forward if you want to avoid GNU coreutils. Writing code that works on all platforms seems better than to port from one system to another, in my opinion
tokei
-
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...
-
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 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.
-
Rust-ify Linux/GNU/macOS terminal tools
cloc repalcement - Tokei
-
Your favourite Rust CLI utilities this year?
Not sure if anyone mentioned tokei yet but it’s excellent
-
Hey Rustaceans! Got a question? Ask here! (37/2022)!
My approach would be to use Tokei to count LOC and cargo-tree(1) to find dependencies. You can then locate the dependencies in the registry and count each of their LOC, then combine the results.
What are some alternatives?
cloc - cloc counts blank lines, comment lines, and physical lines of source code in many programming languages.
exa - A modern replacement for ‘ls’.
watchexec - Executes commands in response to file modifications
woodpecker - Drill is an HTTP load testing application written in Rust
skim - Fuzzy Finder in rust!
rust - Empowering everyone to build reliable and efficient software.
uwc
Debian Repository Builder - A project for automatically generating and maintaining Debian repositories from a TOML spec.
rustybox - A free-range, non-GMO fork of busybox in 100% Rust 🦀
ripgrep - ripgrep recursively searches directories for a regex pattern while respecting your gitignore
trust-dns - A Rust based DNS client, server, and resolver [Moved to: https://github.com/hickory-dns/hickory-dns]
rrun - minimalistic command launcher in rust