> GCC, converts C++ to assembler source.
> AT&T's cfront, converted C++ to C

Of course at some stage most programming languages are converted down
to lower level codes. I guess I should have said anything that is
comparable to what Facebook is doing with HipHop.

> Google's GWT, converts Java to Javascript.

I don't know much about this one, so I'll give it to you on this one.

But note that Javascript is way more flexible/dynamic than Java. The
reverse (Javascript to Java converter) will be significantly far more
difficult. And the idea of GWT here is to leverage Java strictness to
weed out bugs (and sloppiness) that usually happens so easily in
Javascript.

So in our case, PHP to C++ would be like Javascript to Java.

Anyway, this is just my initial reaction to this HipHop thing.

On Wed, Feb 3, 2010 at 1:11 PM, Bruce Clement <[email protected]> wrote:
> On 3 February 2010 13:02, Sid Bachtiar <[email protected]> wrote:
>
>> But can anyone tell me any successful programming language A to
>> programming language B converter?
>
> AT&T's cfront, converted C++ to C
>
> GCC, converts C++ to assembler source.
>
> Google's GWT, converts Java to Javascript.
>
> ...
>
> --
> Bruce Clement
>
> When a co-worker said he didn't want his kids getting the H1N1 vaccine
> because it was too new and "they haven't tested it enough", I blurted
> out something like, "So you'd rather test a new and poorly understood
> virus on them instead?"
>
> I'm not entirely proud of fighting vague and irrational fear of the
> unknown by invoking vague and irrational fear of the unknown, but I
> think it did make an impression.
>
> Petréa Mitchell
>
> --
> NZ PHP Users Group: http://groups.google.com/group/nzphpug
> To post, send email to [email protected]
> To unsubscribe, send email to
> [email protected]



-- 
Blue Horn Ltd - System Development
http://bluehorn.co.nz

-- 
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]

Reply via email to