|
| 1 | +# π HERESY v1.0.0 β C-in-Rust, Rust-in-C, Makefiles in Tears |
| 2 | + |
| 3 | +[](./LICENSE) |
| 4 | +[-red.svg)](https://github.com/QSOLKCB/HERESY/actions) |
| 5 | +[](https://doi.org/10.5281/zenodo.17588734) |
| 6 | +[](#) |
| 7 | +[](#) |
| 8 | + |
| 9 | +> *"Because one build system was never enough."* |
| 10 | +> β QSOL-IMC, Department of Recursive Theology |
| 11 | +
|
| 12 | +--- |
| 13 | + |
| 14 | + _ _ |
| 15 | + _ / \~~~/\ \ _ |
| 16 | + /~ \ ( . . ) / ~\ |
| 17 | + ( . . ) \ vvv / ( . . ) |
| 18 | + \ vvv / / \ \ vvv / |
| 19 | + / \/ C-in-Rust \ \ |
| 20 | + | Rust-in-C-in-Rust | | |
| 21 | + | Build Ouroboros | | |
| 22 | + | ___ ___ | | |
| 23 | + | (___)----(___) | | |
| 24 | + \ ~~~~ / |
| 25 | + ~\ /~ |
| 26 | + \ / |
| 27 | + ~-.___.-~ |
| 28 | + |
| 29 | + "CI Passed, Sanity Failed." |
| 30 | + |
| 31 | + .-""""-. |
| 32 | + / - - \\ |
| 33 | + | o o | |
| 34 | + | ^ | # CARGO CULT |
| 35 | + \\ '-' / "Just trust the build." |
| 36 | + '-._.-' |
| 37 | + |
| 38 | + "I don't know why it works. But the README says to run cargo run." |
| 39 | + |
| 40 | +## πΉ Build System Heresy One-Liners |
| 41 | +βIf your build system makes sense, youβre doing it wrong.β |
| 42 | + |
| 43 | +βRecursive cargo calls? Thatβs not a bug, thatβs a feature.β |
| 44 | + |
| 45 | +βMakefiles are for mortals. Ouroboros builds are for legends.β |
| 46 | + |
| 47 | +βIf CI passes but nobody understands how, youβve achieved enlightenment.β |
| 48 | + |
| 49 | +βI wrote a compiler that compiles a compiler that compiles my excuses.β |
| 50 | + |
| 51 | +βBuild so complex, even Stack Overflow asks you for help.β |
| 52 | + |
| 53 | +βIf it works on my machine, itβs production-ready.β |
| 54 | + |
| 55 | +βWhy settle for dependency hell when you can have dependency recursion?β |
| 56 | + |
| 57 | +βThe only thing more infinite than this build loop is my sense of irony.β |
| 58 | + |
| 59 | +βDocumentation is just a list of things youβll forget you did.β |
| 60 | + |
| 61 | +## π Whatβs New |
| 62 | +Full C program now embedded as a string literal in Rust (src/main.rs). |
| 63 | + |
| 64 | +Rust will: |
| 65 | + |
| 66 | +Write the C source for a βgeneratorβ program |
| 67 | + |
| 68 | +Compile it |
| 69 | + |
| 70 | +Run it |
| 71 | + |
| 72 | +That C generator then writes, compiles, and links alpha.c, beta.c, and runner.c at runtime |
| 73 | + |
| 74 | +Finally builds & executes heresy_exe for maximum recursive build vibes |
| 75 | + |
| 76 | +Recursion guard via HERESY_ONCE=1 β infinite loops are opt-in only |
| 77 | + |
| 78 | +CI/CD included β proves this abomination works under a sterile, corporate GitHub Actions pipeline |
| 79 | + |
| 80 | +Zero dependencies beyond Rust and GCC, zero mercy for code purists |
| 81 | + |
| 82 | +## π¦ How to Experience the Blasphemy |
| 83 | +git clone https://github.com/QSOLKCB/HERESY.git |
| 84 | +cd HERESY |
| 85 | +cargo run -q |
| 86 | + |
| 87 | +Watch Rust write, build, and run C, which writes, builds, and runs more C. |
| 88 | +Experience existential dread in your terminal. |
| 89 | + |
| 90 | +## π§ββοΈ Why? |
| 91 | +To prove that software heresy is reproducible science |
| 92 | + |
| 93 | +To upset both Rust and C purists with equal efficiency |
| 94 | + |
| 95 | +To ensure your CI pipeline is just as confused as your colleagues |
| 96 | + |
| 97 | +## β οΈ Warnings |
| 98 | +This is a meme, not a framework. |
| 99 | + |
| 100 | +Removing the recursion guard voids the warranty on your soul and your CPU. |
| 101 | + |
| 102 | +Using this in production constitutes an OSHA violation. |
| 103 | + |
| 104 | +## π Attribution |
| 105 | +Concept and spiritual guidance: Stack Overflow answer 79802354 |
| 106 | + |
| 107 | +Artisanal upgrades, memes, and further heresy: Trent Slade / QSOL-IMC |
| 108 | + |
| 109 | +## π¦ Next Steps |
| 110 | +Uncomment the forbidden cargo build line in the C generator to summon recursion. |
| 111 | + |
| 112 | +File an issue requesting the badge: βCI Passed: Sanity Failed.β |
| 113 | + |
| 114 | +## π Citation |
| 115 | +If you cite this, you accept moral responsibility for the recursion. |
| 116 | + |
| 117 | +@software{slade_heresy_2025, |
| 118 | + author = {Trent Slade}, |
| 119 | + title = {{HERESY v1.0.0 β C-in-Rust, Rust-in-C, Makefiles in Tears}}, |
| 120 | + month = nov, |
| 121 | + year = 2025, |
| 122 | + publisher = {Zenodo}, |
| 123 | + version = {1.0.0}, |
| 124 | + doi = {10.5281/zenodo.17588734}, |
| 125 | + url = {https://zenodo.org/records/17588734} |
| 126 | +} |
| 127 | +βMay future archaeologists wonder why.β |
| 128 | + |
| 129 | +## π Epilogue |
| 130 | +Enjoy the only build system that needs an exorcist. |
| 131 | +HERESY v1.0.0 β Now with 100% more existential recursion. |
0 commit comments