"Host a compiler" is too vague.  Even "Host a C compiler" is too vague.

What do you want to compile?  What do you want it to compile to?  For
what platform?

If you're creating a compile farm, you really want an environment that
can run gcc natively.  That will never be GAE for a million very good
reasons.  That said, compilation consumes significant cpu and io
resources and is probably not something you ever want to do on a web
frontend unless you want to risk a painful user experience.  Farm it
out to Linode or EC2 or whatnot.

I doubt you're going to find a C cross-compiler implemented in Python
or any of the JVM-based languages.  If you really wanted to get crazy
you could try to cross-compile gcc to java bytecode, which should
work, but you'll have to abstract out the i/o libraries to work
without filesystems.  A sufficiently dedicated (read: insane) engineer
could probably pull this off with enough effort, but why...

Jeff

On Wed, Sep 28, 2011 at 9:56 AM, madmax <[email protected]> wrote:
> Hi,
>  It looks like I have to move away from app engine if I want to host
> a compiler. I did a thorough search and seems no way I can host a
> compiler on gae  efficiently.
> Sad that I will have to rebuild the website again from scratch to the
> specifications of another infrastructure. Last hope.. Any alternatives
> possible?? Even remote possibilities . Does google provide any
> instances??
>
>   App engine should provide more features to developers to make
> itself as a serious platform for web development.
>
> Thanks and Regards,
> Mahendra Naik
>
> On Aug 2, 8:28 am, Robert Kluin <[email protected]> wrote:
>> Or compilers implemented in Java.  Might be more likely to find those.
>>
>>
>>
>>
>>
>>
>>
>> On Mon, Aug 1, 2011 at 21:54, Greg <[email protected]> wrote:
>> > You could have another server provide a compile service, and have your
>> > Appengine app communicate with it via URLfetch, as you suggest. There
>> > will be inefficiencies here obviously, and you'll have to contend with
>> > the URLfetch size and time limits.
>>
>> > You could also look for pure python compilers, which could run on
>> > Appengine.
>>
>> > Cheers
>> > Greg.
>>
>> > On Jul 31, 10:45 pm, madmax <[email protected]> wrote:
>> >> Hi,
>>
>> >>    I am writing a coding website. I want to provide an option to the
>> >> users to compile their c,c++ or java code. Basically I want to host a
>> >>compilerin my app. Some google links said that it is not possible to
>> >> host an external program on gae. Is there any alternative? Like
>> >> connecting to a Linode or linking to amazon ec2 ??  Any pointers would
>> >> be great.
>>
>> >> Thanks and Regards,
>> >> Mahendra Naik
>>
>> > --
>> > You received this message because you are subscribed to the Google Groups 
>> > "Google App Engine" group.
>> > To post to this group, send email to [email protected].
>> > To unsubscribe from this group, send email to 
>> > [email protected].
>> > For more options, visit this group 
>> > athttp://groups.google.com/group/google-appengine?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to