This sounds pretty cool.  Is it going to be released?

On 10/11/05, Nick Kelsey <[EMAIL PROTECTED]> wrote:
> I looked into this for one of our applications - TCC is reasonably good
> for generating VM code but a simple VM interpreter won't be fast to execute.
>
> Instead I have been working on a TCC target that generates architecture,
> position and size independent code (with a fixed register/memory model)
> that can be converted into native instructions by the target processor.
> For a 32-bit processor the byte-codes generally translate to a single
> instruction or two for a literal.
>
> The targets we use are all embedded processors, often with less than 64k
> of RAM - with this approach the bytecode isn't stored, it gets
> translated on the fly as it is downloaded. My main test target is a
> Ubicom ip3k and the translator uses less than 4k of code space... less
> space than a VM would :-)
>
> The translator is that it is written in c-code but with an additional
> custom pre-processor that translates target specific assembler into
> binary constants so the author doesn't need to know or enter any binary
> numbers.


_______________________________________________
Tinycc-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to