libwheel
printf-tac-toe
libwheel | printf-tac-toe | |
---|---|---|
1 | 18 | |
7 | 2,029 | |
- | - | |
7.5 | 0.0 | |
29 days ago | almost 2 years ago | |
C | C | |
GNU Affero General Public License v3.0 | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
libwheel
-
Few lesser known tricks, quirks and features of C
> C11 added _Generic to language, but turns out metaprogramming by inhumanely abusing the preporcessor is possible even in pure C99: meet Metalang99 library.
I'm actually working on a library doing just that! It's still in very (very) early development, but maybe someone may find it to be interesting. [GitHub](https://github.com/jenspots/libwheel).
[Here](https://github.com/jenspots/libwheel/blob/main/include/wheel... the implementation of a vector. [Here](https://github.com/jenspots/libwheel/blob/main/tests/impl/st...) is a test file implementing a vector of strings.
printf-tac-toe
- A C implementation of tic-tac-toe in a single call to printf
- Printf-tac-toe: tic-tac-toe in a single call to printf
- Tic-tac-toe in a single call to printf
- GitHub – carlini/printf-tac-toe: tic-tac-toe in a single call to printf
- Printf-Tac-Toe
- Tic-tac-toe implemented in a single call to printf
- A c implementation of tic-tac-toe in a single call to printf.
-
Few lesser known tricks, quirks and features of C
Somewhat related to this, printf alone in a loop is Turing-complete, by using %-directives like that. It was introduced in “Control-Flow Bending: On the Effectiveness of Control-Flow Integrity” (Carlini, et al. 2015) and the authors have implemented Brainfuck and an obfuscated tic-tac-toe with it.
[0]: https://nebelwelt.net/publications/files/15SEC.pdf
[1]: https://github.com/HexHive/printbf
[2]: https://github.com/carlini/printf-tac-toe
-
Rule
My favourite is still that printf is Turing Complete
-
Hacker News top posts: Jun 8, 2022
C implementation of Tic-Tac-Toe in a single call to printf\ (17 comments)
What are some alternatives?
printbf - Brainfuck interpreter inside printf
tinyformat - Minimal, type safe printf replacement library for C++
FFmpeg - Mirror of https://git.ffmpeg.org/ffmpeg.git
C++ Format - A modern formatting library
obs-studio - OBS Studio - Free and open source software for live streaming and screen recording
talent-plan - open source training courses about distributed database and distributed systems
scrcpy - Display and control your Android device
moonlight-docs - Moonlight Documentation
Git - Git Source Code Mirror - This is a publish-only repository but pull requests can be turned into patches to the mailing list via GitGitGadget (https://gitgitgadget.github.io/). Please follow Documentation/SubmittingPatches procedure for any of your improvements.
meta
papers
papers - ISO/IEC JTC1 SC22 WG21 paper scheduling and management