Raunak<p>Solved the JIT calculator challenge using ARM64 assembly. JIT compilation has seemed magical to me for a long time. This challenge helped me understand the mechanisms on executing JIT code on Linux. Learned more about the memfd_create and mmap syscalls.</p><p>Code: <a href="https://gist.github.com/rrampage/8d1d2d7ec73ff164e589ae91815fbfdb" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">gist.github.com/rrampage/8d1d2</span><span class="invisible">d7ec73ff164e589ae91815fbfdb</span></a> . Compiles to a ~670 byte binary</p><p>Challenge Post: <a href="https://ochagavia.nl/blog/the-jit-calculator-challenge/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">ochagavia.nl/blog/the-jit-calc</span><span class="invisible">ulator-challenge/</span></a></p><p><a href="https://hachyderm.io/tags/linux" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>linux</span></a> <a href="https://hachyderm.io/tags/arm64" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>arm64</span></a> <a href="https://hachyderm.io/tags/jit" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>jit</span></a></p>