Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

“bat” is a pretty good modern “cat”

https://github.com/sharkdp/bat





So I just ran strace -c cat <file> and strace -c bat <file>

Bat did 445 syscall Cat did 48 syscall

Sure bat does beautify some things a lot but still I just wanted to tell this, I want something that can use io_uring for cat too I think,

like what's the least number of syscalls that you can use for something like cat?




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: