[gambit-list] Mobile Reversi

Marc Feeley feeley at iro.umontreal.ca
Wed Oct 21 08:40:08 EDT 2015

The code generated by the C backend and the code generated by the universal backend are incompatible when it comes to task migration.  This is because the two backends do not generate the same GVM code (due to differences in the set of inlined primitives).  Moreover, the low-level representation of stack frames is different (for example the C backend enforces alignment of stack frames), and the ordering of basic-blocks is different.  Currently I don’t have any plan to make the backends compatible for migrating continuations.  It might be possible to make closures compatible though and I will think about it.

On the other hand, object->u8vector and u8vector->object are compatible for types other than procedures and continuations.  It is possible to transfer data (even with circularities) between them, so an ad-hoc remote procedure call implementation should not be too difficult to build.


> On Oct 20, 2015, at 11:45 PM, Bradley Lucier <lucier at math.purdue.edu> wrote:
> Can you migrate it from a browser to a gambit-c interpreter running on some server (not php on Apache)?

More information about the Gambit-list mailing list