Yes-rs: A fast, memory-safe rewrite of the classic Unix yes command

https://github.com/jedisct1/yes-rs

Comments

9 points · 2 comments · view on lemmy.world

2 Comments

BlazeDaley@lemmy.world · 5 pts · 1y

The source is worth a quick read. It’s very tongue in cheek.

pelya@lemmy.world · 1 pts · 1y

How about /bin/true

int main() {
  return 0;
}

it's about the size limit of safe C code that I can write.