Would be nice if asm-generated code can be GC:d as other objects.
The C backend will definitely stay. I see it as the "portable" backend which works on just about any platform with a decent C compiler.
On 2012-01-19, at 1:47 PM, mikel evins wrote:
>
> On Jan 18, 2012, at 9:55 PM, Marc Feeley wrote:
>
>> One of the important new features of Gambit-C is an X86 assembler which allows generating machine code on the fly and executing it, without the need for an external assembler. This is one of the important pieces of the X86 backend for Gambit that I have been working on recently. I also have an ARM assembler in the works, but it is not in this release.
>
> I look forward to using a Gambit that is capable of native, incremental, in-RAM compilation.
>
> I hope you plan to retain the C backend indefinitely as well. We're using Gambit for some iOS products, and Apple will not allow an in-RAM compiler to work on iOS, so we will perforce have to depend upon the C backend for iOS products.
The infrastructure I am building will support native incremental compilation. It will also be possible to use the X86 and ARM backends to statically generate an executable (like the C backend). On iOS it will thus be possible to compile and application to ARM code and publish it like any other app on the App store.
At least that's the plan.
Marc
_______________________________________________
Gambit-list mailing list
Gambit-list@iro.umontreal.ca
https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list