Show HN: Rmbrr – parallel directory deletion in Rust

Share This Post

I got tired of waiting for node_modules to delete, so I built rmbrr. On my box it takes 44% less time than rimraf on Windows (1.8s vs 3.2s) and 61% less time on WSL (192ms vs 660ms).

The approach: single-pass recursive scan builds a dependency graph, then parallel workers delete bottom-up. As soon as a directory’s last child completes, it’s automatically queued for deletion.

On Windows, I use POSIX delete semantics (FILE_DISPOSITION_POSIX_SEMANTICS via SetFileInformationByHandle) which gives immediate namespace removal and handles read-only/in-use files without retry loops.

On Unix, same parallel architecture using standard syscalls.

Written in Rust, ships as a native binary with optional npm/brew/cargo for easy installation.

GitHub: https://github.com/mtopolski/rmbrr
npm: https://www.npmjs.com/package/rmbrr

Benchmark details in README – tested on 28K+ file node_modules directories.


Comments URL: https://news.ycombinator.com/item?id=45844626

Points: 1

# Comments: 0

Source: news.ycombinator.com

Subscribe To Our Newsletter

Get updates and learn from the best

More To Explore

Gmail AI gets more intrusive

Article URL: https://daveverse.org/2025/11/07/gmail-ai-gets-even-more-intrusive/ Comments URL: https://news.ycombinator.com/item?id=45848504 Points: 1 # Comments: 0 Source: daveverse.org

Windows Securitym Hackers Feeds

The BBC has bigger impartiality problems than its coverage of Trump

Article URL: https://www.prospectmagazine.co.uk/ideas/media/bbc-news/71517/the-bbc-has-bigger-impartiality-problems-than-its-coverage-of-trump Comments URL: https://news.ycombinator.com/item?id=45848495 Points: 1 # Comments: 0 Source: www.prospectmagazine.co.uk

Do You Want To Boost Your Business?

drop us a line and keep in touch

We are here to help

One of our technicians will be with you shortly.