News for hackers. Stuff that matters.
Re:A little story about the `yes` Unix command by mpweiher on Thursday July 21, 2022 @03:20PM (#32183663)
6.4 GB/s

   #include <libc.h>

   #define BUFSIZE (512*1024)

   static char buf[BUFSIZE];

   int main(void){ 
        memset(buf,'y',BUFSIZE);
        while (1) {
           write(1,buf,BUFSIZE);
      }
      return 0;
   }

There are no comments on this comment yet.