All Projects → mre → Fcat

mre / Fcat

Licence: other
A 3x faster implementation of cat, using splice

Programming Languages

rust
11053 projects

Projects that are alternatives of or similar to Fcat

Mog
A different take on the UNIX tool cat
Stars: ✭ 62 (-68.37%)
Mutual labels:  cat, unix
colocat
Fegeya Colocat, Colorized 'cat' implementation. Written in C++17.
Stars: ✭ 14 (-92.86%)
Mutual labels:  cat, unix
Epoch Flip Clock Screensaver
Unix time (epoch) flip clock macOS screensaver
Stars: ✭ 163 (-16.84%)
Mutual labels:  unix
Botany
command line virtual plant buddy
Stars: ✭ 192 (-2.04%)
Mutual labels:  unix
Azpainter
Full color painting software for Unix-like systems for illustration drawing. This is un-official little fixed repository for package maintainers of image editor AzPainter (based on "mlib" toolkit). Official repository - http://azsky2.html.xdomain.jp/arc/download.html
Stars: ✭ 179 (-8.67%)
Mutual labels:  unix
Dotfiles
~/.dotfiles
Stars: ✭ 177 (-9.69%)
Mutual labels:  unix
Nyan
Colored `cat` command.
Stars: ✭ 182 (-7.14%)
Mutual labels:  cat
Cistern
A terminal UI for Unix to monitor Continuous Integration pipelines from the command line. Current integrations include GitLab, Azure DevOps, Travis CI, AppVeyor and CircleCI.
Stars: ✭ 161 (-17.86%)
Mutual labels:  unix
Frosted
Frosted: Free POSIX OS for tiny embedded devices
Stars: ✭ 194 (-1.02%)
Mutual labels:  unix
Bongo.cat
Hit the bongos like Bongo Cat!
Stars: ✭ 2,400 (+1124.49%)
Mutual labels:  cat
Ctf Tools
Useful CTF Tools
Stars: ✭ 190 (-3.06%)
Mutual labels:  unix
Fzy
🔍 A simple, fast fuzzy finder for the terminal
Stars: ✭ 2,295 (+1070.92%)
Mutual labels:  unix
Shadowsocksr Native
翻墙 从容穿越党国敏感日 ShadowsocksR (SSR) native implementation for all platforms, GFW terminator
Stars: ✭ 2,328 (+1087.76%)
Mutual labels:  unix
Xo
Command line utility that composes regular expression matches.
Stars: ✭ 184 (-6.12%)
Mutual labels:  unix
Purritobin
ultra fast, minimalistic, encrypted command line paste-bin
Stars: ✭ 171 (-12.76%)
Mutual labels:  unix
Snapstub
Copy API endpoints to your fs and run a local server using them
Stars: ✭ 193 (-1.53%)
Mutual labels:  unix
Zap
An asynchronous runtime with a focus on performance and resource efficiency.
Stars: ✭ 162 (-17.35%)
Mutual labels:  unix
Lfs
A thing to get information on your mounted disks
Stars: ✭ 178 (-9.18%)
Mutual labels:  unix
Build Your Own Shell
Guidance for mollusks (WIP)
Stars: ✭ 181 (-7.65%)
Mutual labels:  unix
Twf
Standalone tree view file explorer, inspired by fzf.
Stars: ✭ 196 (+0%)
Mutual labels:  unix

😼 fcat

Github Actions

fastcat logo

fcat, short for fastcat, is a cat implementation in Rust using Linux's splice syscall.
With that little trick, it's more than three times as fast as the system cat in our benchmarks.
Read the announcement here.

cat myfile | pv -r > /dev/null
[1.90GiB/s]
fcat myfile | pv -r > /dev/null
[5.90GiB/s]

Installation

Note: Only works on Linux.
(But you can send me a pull request for other operating systems.)

cargo install fcat

Usage

fcat file1 file2 file3

Project goals

  • Be the fastest cat in town.
  • Be a drop-in replacement for (POSIX) cat.

Non-goals

  • Provide any additional functionality other than what cat provides.
    If you're looking for a more beautiful cat, check out bat.

Known issues

If you run fcat /dev/zero >> myfile, it will fail with exit code EINVAL because, according to the splice manpage: "The target file is opened in append mode."

Trivia

  • You probably won't ever need this, but it's a fun little experiment.
    Still, I wonder why this is not part of e.g. GNU cat...
  • What I like the most about the project is the logo.

License

fcat is licensed under either of

at your option.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].