dotgnu-general
[Top][All Lists]
Advanced

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

Re: [DotGNU]CIL on top of stack based cpu


From: csyap
Subject: Re: [DotGNU]CIL on top of stack based cpu
Date: Thu, 26 Feb 2004 17:50:19 +0800

>On Thursday 26 February 2004 01:21 pm, address@hidden wrote:

>> does anybody think of running CIL on top of stack based cpu,
>> such as real Forth chip.
>> will the runtime engine be easier to implement compare to
> JIT or interpreter for register based cpu?

>The CIL engine is more than just the execution core in the interpreter/JIT.
>There's also the program loader, garbage collection system, and hundreds of
>native methods, all written in C.

you're right.
i'm thinking of starting gradually on a running Forth system,
porting part by part instead of support every instruction and core library
at once.

the Forth system itself has some basic system service,
such as dynamic memory allocation, graphic primitive , a tiny GUI system,
rs232 and internet driver. etc.
the forth system is self-contented and running well.
i want to evaluate the possibility to support (partially)
CIL applications natively on the hardware.

yap

>I suppose that it would be possible that a "Forth unroller" for
Portable.NET
>could be written to unroll CIL/CVM code into Forth stack machine
>instructions.  But that's only one small piece of the whole.  Whether the
>rest would be better or worse would be anyone's guess.
>Cheers,

>Rhys.


---
[This E-mail scanned for viruses by Declude AntiVirus]



reply via email to

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