From: Berke Durak <berke@altern.org>
To: Alan Schmitt <alan.schmitt@inria.fr>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Marshalling objects (was: French interactive fiction, anyone ?)
Date: Wed, 19 Jun 2002 17:56:54 +0200 [thread overview]
Message-ID: <20020619175654.A14466@gogol.zorgol> (raw)
In-Reply-To: <20020618065723.GJ4232@alan-schm1p>; from alan.schmitt@inria.fr on Tue, Jun 18, 2002 at 08:57:23AM +0200
On Tue, Jun 18, 2002 at 08:57:23AM +0200, Alan Schmitt wrote:
> * Berke Durak (berke@altern.org) wrote:
> > Well, I've written a very small prototype game, using
> > objects. Container objects are somewhat tricky (lots of weird typing
> > errors) but not impossible to define. However, if I can't save the
> > game state, I'll have to trash everything and ``simulate'' a class
> > model using conventional datatypes (not necessarily a bad thing, but I
> > would have been nice to use classical interactive fiction programming
> > style).
> >
> > So, I have to ask : Will we be able to marshall objects soon ? There
> > seem to be some (unused) code fragments in extern.c...
>
> Since in some sense objects point to their method code, you're asking
> about the marshalling of code. Some work on this has been done and is
> being done for JoCaml (see http://pauillac.inria.fr/jocaml/ ) and might
> be some day integrated with ocaml.
>
> Best,
>
> Alan Schmitt
Well, this is not exactly about marshalling code : I'm not asking
Ocaml to be able to transfer pieces of code between different
programs. Just being able to save an object and reload it in the same
executable later would suffice : since Caml can save closures under
the same constraints, the reason why objects can't be saved must be
something else.
--
Berke Durak
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
next prev parent reply other threads:[~2002-06-19 15:57 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-17 21:38 Berke Durak
2002-06-18 6:57 ` Alan Schmitt
2002-06-19 15:56 ` Berke Durak [this message]
2002-06-20 5:08 ` Jacques Garrigue
2002-06-20 7:16 ` Christopher Quinn
2002-06-20 7:41 ` Xavier Leroy
2002-06-20 14:39 ` Jacques Garrigue
2002-06-21 9:09 ` Jacques Garrigue
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020619175654.A14466@gogol.zorgol \
--to=berke@altern.org \
--cc=alan.schmitt@inria.fr \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox