Hello, again,<br><br>I've realized that elephant-1.0 is actually newer than elephant-unstable. I made a few more changes and updated the patch to work with elephant-1.0.<br><br>The configuration was tested without the feature :elephant-without-optimize and all tests from elephant test suite passed.<br>
<br>Gustavo.<br><br><div class="gmail_quote">2010/8/11 Gustavo <span dir="ltr"><<a href="mailto:gugamilare@gmail.com">gugamilare@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hello, everyone,<br><br>I've got elephant working along with cffi. Both cffi and elephant need to be patched for this to work, the patches for cffi were already made in the cffi mailing list. The patch was made against elephant-unstable. There were some incompatible changes in elephant, but I've separated those using #-elephant-cffi, what makes elephant also work with uffi. The file elephant.asd detects whether the asdf component :uffi is actually :cffi-uffi-compat, in which case the key :elephant-cffi is pushed into *features*, so everything is done automatically.<br>
<br>I compiled elephant with :elephant-without-optimize and tested the tutorial (with a :bdb 4.7 database). I'll test without the key :elephant-without-optimize later.<br><br>I believe this port helps with elephant optimization. For instance, cffi mem-ref is already optimized using implementation specific details (using compiler macros) so I think implementation specific optimizations are not needed anymore. Otherwise it should be possible to do the optimizations in cffi itself. Also cffi does not allocate aliens (my sbcl emits style-warnings complaining about that when using uffi).<br>
<font color="#888888">
<br>Gustavo.<br>
</font></blockquote></div><br>