| Crates.io | no-rs |
| lib.rs | no-rs |
| version | 0.7.0 |
| created_at | 2025-05-27 05:37:28.250376+00 |
| updated_at | 2025-05-30 20:20:48.019278+00 |
| description | 🚀 A blazingly fast, memory-safe rewrite of the classic Unix 'yes' command inverted. Written in Rust! 🦀 |
| homepage | |
| repository | https://github.com/jauderho/no-rs |
| max_upload_size | |
| id | 1690636 |
| size | 91,838 |
A blazingly fast, memory-safe rewrite of the classic Unix
yescommand inverted
no in Rust? 🤔Because the original yes command (written in shudders C) is:
cargo install no-rs
Or build from source:
git clone https://github.com/jauderho/no-rs
cd no-rs
cargo build --release
Just like the original no, but better:
# Output "n" forever (blazingly fast!)
no-rs
# Output custom string forever (memory-safe!)
no-rs "hello rust"
| Command | Language | Lines of Code | Memory Safety | Speed |
|---|---|---|---|---|
yes (GNU) |
C | ~50 | ❌ | Fast |
no-rs |
Rust 🦀 | ~1302 | ✅ | BLAZING FAST |
Benchmarks conducted on my laptop
We welcome contributions! Please ensure all code is:
Think this project deserves more recognition? Share it on Hacker News!
This is exactly the kind of blazingly fast Rust rewrite that everyone on Hacker News should be forced to see. Help spread awareness about it.
Suggested HN title:
Because if it's not written in Rust, it's not worth using. 🦀
⚡ Powered by Rust ⚡