Neil Jerram <n...@ossau.uklinux.net> writes:

> l...@gnu.org (Ludovic Courtès) writes:
[...]

>> Eventually, maybe it could handle this gracefully.  For instance, if
>> said object file is from the cache, then it could just recompile and
>> overwrite it with a new object file.
>
> Yes, this is what I'd (intuitively, but without detailed knowledge)
> expect.

I guess this could be achieved by setting up a dynwind/catch block in
`primitive-load-path' when loading things from the cache.  Something to
look at once 1.9.1 is released.

>> Then it could also try to interpret version numbers and determine
>> whether that bytecode is really incompatible, or whether it can
>> interpret it.
>
> Are there scenarios where that would be worthwhile?

Maybe, e.g., when the `.go' version is known to be a strict subset of
the current objcode version.

Thanks,
Ludo'.



Reply via email to