Skip to content

Comment on Obfuscated Game of Life in 9 lines of C

Comments

So much effort is ruined with the usage of usleep. Obfuscated C should be portable!

What's not portable about the usleep function? It's in the POSIX standard for portable operating systems (http://pubs.opengroup.org/onlinepubs/7990989799/xsh/usleep.h...). It doesn't get much more portable than that.

Edit: Apparently, it has indeed been removed from SUSv4.

[deleted]

[deleted]

One should strive to make c code as portable as possible. Obfuscated does not mean it should be hard to compile.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.