News for hackers. Stuff that matters.
Re:Flappy Bird in 1000 lines of C by cv5005 on Sunday December 08, 2024 @06:25AM (#42356528)
Since FILE io is part if standard C I guess you could do a plan9-style interface where you fopen("framebuffer"); and fwrite() means writing a pixel value to the screen. Since io is always implementation defined anyway, it wouldnt be any less portable than when you do printf("some string") and 'expects to see a string somewhere'.

There are no comments on this comment yet.