[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] Anyone up for porting Termite to Chicken?

From: Ivan Raikov
Subject: Re: [Chicken-users] Anyone up for porting Termite to Chicken?
Date: Wed, 21 May 2008 11:09:49 +0900
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

(Assuming (use mpi s11n))

(continuation-capture (lambda (x) (MPI:send (serialize `(process ,x)) dest tag 


  * x: the current continuation
  * `(process DATUM): a message in a hypothetical high-level protocol
     for process migration 
  * dest: the destination process ID (integer)
  * tag: unique message identifier (integer) or MPI_ANY_TAG (this
    again depends on the user-defined high-level protocol)
  * comm: MPI communicator object (created at the beginning of the

"Shawn Rutledge" <address@hidden> writes:

> On Tue, May 20, 2008 at 5:22 PM, Ivan Raikov <address@hidden> wrote:
>>  Well, of course, it is "possible" to implement anything in a
>> Turing-equivalent language, but I am curious what features of Erlang
>> or Termite are difficult to implement with MPI primitives and
>> Scheme. For example, "process migration" in Scheme MPI could be simply
>> passing a continuation from one node to another -- something that
>> would take one line of code using the s11n and mpi eggs in Chicken. My
> I'm curious what one line of code you would write.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]