[fpc-other] Re: [fpc-pascal] Apple forbids fpc applications on iPhone

Alexander Grau alex at grauonline.de
Fri Apr 9 14:14:03 CEST 2010


Jonas Maebe schrieb:
>
>
>> Jonas: what are your plans regarding this?
>
>
> None.

If we look at C or Objective-C from a different view, then such a 
language could be just another compiler 'target' - how difficult would 
it be to add a C/Obj-C target to fpc?

I assume all ordinary machine code can be expressed in C too. C 
compilers can be good at optimizations, so the overall performance could 
be still acceptable. And yes, it would be some sort of virtual machine, 
but it's still C code. And a call to a framework/the OS is just a C call 
again.

I remember there was some similar work on a Java-Bytecode-To-C 
generator, making it possible/legal to run Java on an iPhone....

Would such a solution be practical or would it always be 'academic games'?


--Alexander



More information about the fpc-other mailing list