tavianator/bfs
View on GitHub ↗ ★ 1,281 C
A breadth-first version of the UNIX find command
12 mentions on Hacker News by 7 people: 3 stories, 9 comments · first 2023-07-19 · latest 2026-01-02
20082026
-
▲ 3
Bfs: A breadth-first version of the Unix find commandstory by PaulHoule · 2026-01-02 · 0 comments
-
▲ 8
Bfs: A breadth-first version of the Unix find commandstory by birdculture · 2025-11-29 · 1 comment
-
▲ 10
Bfs: A breadth-first version of the Unix find commandstory by todsacerdoti · 2025-11-28 · 1 comment
-
"A breadth-first version of the UNIX find command" -- https://github.com/tavianator/bfs
comment by sintax · 2025-10-20 · in Bat v0.26.0 -
My bfs project also uses io_uring: https://github.com/tavianator/bfs/blob/main/src/ioq.c I'm curious how lsr compares to bfs -ls for example. bfs only uses io_uring when multiple threads are enabled, but maybe it's worth using it even for…
comment by tavianator · 2025-07-18 · in lsr: ls with io_uring -
My actual "production" implementation of this concept does support that: https://github.com/tavianator/bfs/blob/main/configure But I wanted the blog post sized version to be simpler for exposition.
comment by tavianator · 2025-04-26 · in Parallel ./configure -
…ergonomic. [1]: https://github.com/raforg/rawhide [2]: https://github.com/jhspetersson/fselect [3]: https://github.com/tavianator/bfs/blob/main/docs/USAGE.md#-e...
comment by tavianator · 2025-03-19 · in fd: A simple, fast and user-friendly alternative to 'find' -
I got used to https://github.com/tavianator/bfs instead. Breath-first ordering is nice. Interestingly, the author is listed as one of the maintainers of `fd` as well.
comment by ilyagr · 2025-03-19 · in fd: A simple, fast and user-friendly alternative to 'find' -
Personally I prefer bfs ( https://github.com/tavianator/bfs ) because it does a breadth-first search
comment by meisel · 2025-03-19 · in fd: A simple, fast and user-friendly alternative to 'find' -
…sanitizers for most of my workflow. Using the sanitizer APIs in your custom allocator is also easy: https://github.com/tavianator/bfs/blob/main/src/sanity.h https://github.com/tavianator/bfs/blob/31dffd6441ba80ea998ce...
comment by tavianator · 2025-01-09 · in Writing a simple pool allocator in C -
…use cases. There's two benchmarks in the blog post and a few more that I run regularly, e.g. https://github.com/tavianator/bfs/pull/107
comment by tavianator · 2023-07-19 · in Bfs 3.0: The Fastest Find Yet -
The file got moved and renamed since then, it's here now: https://github.com/tavianator/bfs/blob/main/src/xspawn.h I'll fix the link, thanks
comment by tavianator · 2023-07-19 · in Spawn() of Satan (2018)