This commit is contained in:
Miloslav Ciz 2024-10-25 00:41:24 +02:00
parent ced34db6fa
commit af69eeea02
14 changed files with 1845 additions and 1844 deletions

View file

@ -6,29 +6,27 @@ Unfortunately some [shit](shit.md) is surrounding IOCCC too, for example confusi
Hacking the rules of the contest is also encouraged and there is an extra award for "worst abuse of the rules".
To list a few common ideas employed in the programs let's mentioned these:
To list a few common ideas/programs that have appeared let's mentioned these:
- formatting source code as [ASCII art](ascii_art.md)
- misleading identifiers and comments
- extreme [macro](macro.md)/[preprocessor](preprocessor.md) abuse
- abuse of compiler flags
- different behavior under different C standards
- different behavior under different C standards/compilers
- doing simple things the hard way, e.g. by avoiding loops
- including weird files like `/dev/tty` or recursively including itself
- [code golfing](code_golf.md)
- weird stuff like the main function [recursion](recursion.md) or even using it as a signal handler :)
- ...
And let us also mention a few winning entries:
- doing funny stuff like computing [pi](pi.md) by calculating area of a circle that is physically drawn in the source code
- program whose source code is taken from its file name (using `__FILE__`)
- [ray tracer](ray_tracing.md) in < 30 LOC formatted as ASCII art
- operating system with multi-tasking, GUI and filesystem support
- neural [machine learning](machine_learning.md) on text in < 4KB
- [neural](neural_net.md) [machine learning](machine_learning.md) on text in < 4KB
- program printing "hello world" with error messages during compilation
- [X11](x11.md) Minecraft-like game
- [web browser](web_browser.md)
- self-replicating programs
- [chess](chess.md) programs
- ...
## See Also