[Vm-dev] VM packaging for Cog transition
Andreas Raab
andreas.raab at gmx.de
Tue Nov 9 02:44:21 UTC 2010
On 11/8/2010 5:39 PM, David T. Lewis wrote:
> On Mon, Nov 08, 2010 at 11:43:50AM -0800, Andreas Raab wrote:
>>
>> On 11/8/2010 3:35 AM, David T. Lewis wrote:
>>> To be clear, the intent is to provide both Cog and the interpreter VM.
>>
>> Agree. I think the first step is to unify the support code. I.e., when
>> it's all said and done we should have a structure roughly along the
>> lines of:
>>
>> platforms/
>> Cross/
>> Unix/
>> Mac/
>> Win/
>> src-interp/
>> src-jit/
>>
>> etc. and the *only* difference should be in the src-interp vs. src-jit
>> directories. In which case we can decide what to build based on the
>> selecting the appropriate interp/jit source directory.
>
> To check my understanding, you are suggesting that the src-interp and
> src-jit directories would be for the generated sources, as distinct
> from the platform support code under platforms/... and that the structure
> of the platforms/... tree would remain unchanged. Is that right?
Exactly. Most importantly the platforms support code would be
*identical* across the variants and thus eliminate further proliferation
of various bits of C code.
Cheers,
- Andreas
More information about the Vm-dev
mailing list