MaCH repo

This commit is contained in:
2025-07-24 12:46:01 -05:00
committed by Nick Ricketts
commit ae0327bd7b
105 changed files with 5649 additions and 0 deletions

View File

@@ -0,0 +1,86 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 760 380" width="760" height="380">
<rect width="760" height="380" fill="#09080f"/>
<defs>
<linearGradient id="coreGrad" x1="0" y1="0" x2="0" y2="1">
<stop offset="0%" stop-color="#c084fc"/>
<stop offset="100%" stop-color="#7c3aed"/>
</linearGradient>
<linearGradient id="arenaGrad" x1="0" y1="0" x2="0" y2="1">
<stop offset="0%" stop-color="#34d399"/>
<stop offset="100%" stop-color="#059669"/>
</linearGradient>
<linearGradient id="pipeGrad" x1="0" y1="0" x2="1" y2="0">
<stop offset="0%" stop-color="#fbbf24"/>
<stop offset="100%" stop-color="#f59e0b"/>
</linearGradient>
<style>text{font-family:'JetBrains Mono','Fira Code',monospace}</style>
</defs>
<!-- Title -->
<text x="380" y="30" text-anchor="middle" fill="#e2e8f0" font-size="14" font-weight="600">Incoming Requests</text>
<!-- Down arrows: line + polygon triangle -->
<line x1="140" y1="42" x2="140" y2="70" stroke="#94a3b8" stroke-width="1.5"/>
<polygon points="140,80 135,70 145,70" fill="#94a3b8"/>
<line x1="380" y1="42" x2="380" y2="70" stroke="#94a3b8" stroke-width="1.5"/>
<polygon points="380,80 375,70 385,70" fill="#94a3b8"/>
<line x1="620" y1="42" x2="620" y2="70" stroke="#94a3b8" stroke-width="1.5"/>
<polygon points="620,80 615,70 625,70" fill="#94a3b8"/>
<!-- ===== Core 0 ===== -->
<rect x="40" y="80" width="200" height="270" rx="12" fill="#1e1b2e" stroke="#7c3aed" stroke-width="1.5"/>
<rect x="40" y="80" width="200" height="38" rx="12" fill="url(#coreGrad)"/>
<text x="140" y="104" text-anchor="middle" fill="#fff" font-size="13" font-weight="700">Core 0</text>
<text x="140" y="140" text-anchor="middle" fill="#c084fc" font-size="10" font-weight="600">REACTOR LOOP</text>
<rect x="56" y="154" width="168" height="30" rx="6" fill="#2d2640" stroke="#7c3aed" stroke-width="0.75"/>
<text x="140" y="174" text-anchor="middle" fill="#e2e8f0" font-size="10">accept / read / write</text>
<line x1="140" y1="184" x2="140" y2="198" stroke="#4c1d95" stroke-width="1" stroke-dasharray="3,3"/>
<rect x="56" y="198" width="168" height="30" rx="6" fill="url(#pipeGrad)" opacity="0.9"/>
<text x="140" y="218" text-anchor="middle" fill="#1e1b2e" font-size="10" font-weight="600">pipeline execute</text>
<line x1="140" y1="228" x2="140" y2="242" stroke="#4c1d95" stroke-width="1" stroke-dasharray="3,3"/>
<rect x="56" y="242" width="168" height="30" rx="6" fill="#2d2640" stroke="#7c3aed" stroke-width="0.75"/>
<text x="140" y="262" text-anchor="middle" fill="#e2e8f0" font-size="10">async I/O boundary</text>
<line x1="140" y1="272" x2="140" y2="290" stroke="#4c1d95" stroke-width="1" stroke-dasharray="3,3"/>
<rect x="56" y="290" width="168" height="48" rx="6" fill="url(#arenaGrad)" opacity="0.85"/>
<text x="140" y="311" text-anchor="middle" fill="#fff" font-size="10" font-weight="600">Arena Allocator</text>
<text x="140" y="327" text-anchor="middle" fill="#d1fae5" font-size="9">auto-free on complete</text>
<!-- ===== Core 1 ===== -->
<rect x="280" y="80" width="200" height="270" rx="12" fill="#1e1b2e" stroke="#7c3aed" stroke-width="1.5"/>
<rect x="280" y="80" width="200" height="38" rx="12" fill="url(#coreGrad)"/>
<text x="380" y="104" text-anchor="middle" fill="#fff" font-size="13" font-weight="700">Core 1</text>
<text x="380" y="140" text-anchor="middle" fill="#c084fc" font-size="10" font-weight="600">REACTOR LOOP</text>
<rect x="296" y="154" width="168" height="30" rx="6" fill="#2d2640" stroke="#7c3aed" stroke-width="0.75"/>
<text x="380" y="174" text-anchor="middle" fill="#e2e8f0" font-size="10">accept / read / write</text>
<line x1="380" y1="184" x2="380" y2="198" stroke="#4c1d95" stroke-width="1" stroke-dasharray="3,3"/>
<rect x="296" y="198" width="168" height="30" rx="6" fill="url(#pipeGrad)" opacity="0.9"/>
<text x="380" y="218" text-anchor="middle" fill="#1e1b2e" font-size="10" font-weight="600">pipeline execute</text>
<line x1="380" y1="228" x2="380" y2="242" stroke="#4c1d95" stroke-width="1" stroke-dasharray="3,3"/>
<rect x="296" y="242" width="168" height="30" rx="6" fill="#2d2640" stroke="#7c3aed" stroke-width="0.75"/>
<text x="380" y="262" text-anchor="middle" fill="#e2e8f0" font-size="10">async I/O boundary</text>
<line x1="380" y1="272" x2="380" y2="290" stroke="#4c1d95" stroke-width="1" stroke-dasharray="3,3"/>
<rect x="296" y="290" width="168" height="48" rx="6" fill="url(#arenaGrad)" opacity="0.85"/>
<text x="380" y="311" text-anchor="middle" fill="#fff" font-size="10" font-weight="600">Arena Allocator</text>
<text x="380" y="327" text-anchor="middle" fill="#d1fae5" font-size="9">auto-free on complete</text>
<!-- ===== Core 2 ===== -->
<rect x="520" y="80" width="200" height="270" rx="12" fill="#1e1b2e" stroke="#7c3aed" stroke-width="1.5"/>
<rect x="520" y="80" width="200" height="38" rx="12" fill="url(#coreGrad)"/>
<text x="620" y="104" text-anchor="middle" fill="#fff" font-size="13" font-weight="700">Core 2</text>
<text x="620" y="140" text-anchor="middle" fill="#c084fc" font-size="10" font-weight="600">REACTOR LOOP</text>
<rect x="536" y="154" width="168" height="30" rx="6" fill="#2d2640" stroke="#7c3aed" stroke-width="0.75"/>
<text x="620" y="174" text-anchor="middle" fill="#e2e8f0" font-size="10">accept / read / write</text>
<line x1="620" y1="184" x2="620" y2="198" stroke="#4c1d95" stroke-width="1" stroke-dasharray="3,3"/>
<rect x="536" y="198" width="168" height="30" rx="6" fill="url(#pipeGrad)" opacity="0.9"/>
<text x="620" y="218" text-anchor="middle" fill="#1e1b2e" font-size="10" font-weight="600">pipeline execute</text>
<line x1="620" y1="228" x2="620" y2="242" stroke="#4c1d95" stroke-width="1" stroke-dasharray="3,3"/>
<rect x="536" y="242" width="168" height="30" rx="6" fill="#2d2640" stroke="#7c3aed" stroke-width="0.75"/>
<text x="620" y="262" text-anchor="middle" fill="#e2e8f0" font-size="10">async I/O boundary</text>
<line x1="620" y1="272" x2="620" y2="290" stroke="#4c1d95" stroke-width="1" stroke-dasharray="3,3"/>
<rect x="536" y="290" width="168" height="48" rx="6" fill="url(#arenaGrad)" opacity="0.85"/>
<text x="620" y="311" text-anchor="middle" fill="#fff" font-size="10" font-weight="600">Arena Allocator</text>
<text x="620" y="327" text-anchor="middle" fill="#d1fae5" font-size="9">auto-free on complete</text>
<!-- Footer -->
<text x="380" y="372" text-anchor="middle" fill="#64748b" font-size="10">No threads · No locks · No shared mutable state</text>
</svg>

After

Width:  |  Height:  |  Size: 6.4 KiB