Denys Duchier wrote:
>
> Theoretically, you can use {Property.get 'oz.version'} to dynamically
> decide on the right implementation for the current version of Mozart.
Yes, I thought about something like that, but didn't like it too much,
because the primitives I showed are actually inlined by the Alice
compiler. Either we had to perform this check per call, which seems
expensive, or make some ugly temporary hacks to shift parts of the
primitive implementations into the runtime system proper.
> I say "theoretically", because "practically" the pickle versions tend
> to be incompatible so that this dynamic flexibility doesn't amount to
> much practical good :-(
So you are saying that the pickle format will change with 1.3.0, so that
we have to provide separate versions anyway? If that's the case we'll
have to bite it, of course.
Thanks for the info,
- Andreas
-- Andreas Rossberg, rossberg@ps.uni-sb.de"Computer games don't affect kids; I mean if Pac Man affected us as kids, we would all be running around in darkened rooms, munching magic pills, and listening to repetitive electronic music." - Kristian Wilson, Nintendo Inc. - Please send submissions to hackers@mozart-oz.org and administriva mail to hackers-request@mozart-oz.org. The Mozart Oz web site is at http://www.mozart-oz.org/.