home.social

#quine — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #quine, aggregated by home.social.

  1. @evacide Me too. Who has the time to write stuff, though? My best approximation of writerly pursuits is half choose-your-own-adventure stuff and half PoC||GTFO.

    #CutUps #Quine #FixedPointTheorem

  2. Thanks to the #c23 #embed macro, I may have written the world's shortest #quine.
    ```c
    #include<stdio.h>
    int main(){puts((char[]){
    #embed"q.c"
    ,0});}
    ```
    (I doubt that I'm the first to do this)
    We just need to politely ignore the extra `\n` injected by `puts`. Otherwise, replace `puts` with `printf`.