I&#x27;m now largely out of my depth, but much of that will just come down to what is available from Nim and what is available from C? And perhaps some of it from the complexity of supporting arbitrary C code in a flexible way?<p>The Cython wrapper code is still pretty trivial compared to the C code ( <a href="https:&#x2F;&#x2F;github.com&#x2F;fragglet&#x2F;c-algorithms&#x2F;blob&#x2F;master&#x2F;src&#x2F;queue.c" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;fragglet&#x2F;c-algorithms&#x2F;blob&#x2F;master&#x2F;src&#x2F;que...</a> ), and this is a pretty small piece of C.