× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I would like to be able to compile PHP into an ILE module. I could then do all my IBM i development--both interactive (UI) and batch--with a single programming language (PHP-ILE).
It would also allow better integration with both OPM and ILE programs CL, COBOL, and RPG programs. It might also help the adoption of PHP by CL, RPG, and COBOL programmers.

Maybe HipHop can inspire a way to make ILE modules from PHP code?

Kelly

-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Mike Pavlak
Sent: Monday, February 08, 2010 3:43 PM
To: Web Enabling the AS400 / iSeries
Subject: Re: [WEB400] HipHop for PHP

Hi Matt,

Yes, Zend is watching :-)

Weâre glad to see Facebook publicly acknowledging PHPâs high productivity, which far surpasses that of Java and .NET. Facebook reports that they now serve 400 billion(!) PHP-based web pages every month.

We will learn what HipHop concepts apply to the broad PHP community (Not just IBM i) and what are specific to Facebook. We believe it is important to continue to fold in new ideas and innovations into the community-based runtime. We have always adapted to changes within the PHP runtime, whether these changes were made by us or by the community and will be glad to continue doing so.

Zend will continue to support PHP and the broad PHP community in multiple ways including leading the Zend Framework project, contributing to multiple PHP projects and driving the Eclipse PDT effort.

I would caution anyone from believing this is a magic bullet of any sort. Please check out what the author of PHP, Rasmus Lerdorf, had to say about the subject: http://www.readwriteweb.com/archives/rasmus-lerdorf-php-hiphop-facebook.php

Matt, do you have specific issues about performance using the new Zend Server beta or are you just generally concerned?

Please share. Hope this helps!

Regards,

Mike

mike.p@xxxxxxxx Cell: (408)679-1011 Office: (815)722-3454

Zend Server for IBM i Beta avilable at http://www.zend.com/en/products/server/zend-server-5-new-ibmi



-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of MattLavinder@xxxxxxxxxxxxxxxxxxx
Sent: Monday, February 08, 2010 1:17 PM
To: web400@xxxxxxxxxxxx
Subject: [WEB400] HipHop for PHP


For those who haven't heard, Facebook (believe it or not) announced they
are going to open source a product called HipHip for PHP. Here is part of
the announcement to show why you should care:

<snip>
Today Iâm excited to share the project a small team of amazing people and I
have been working on for the past two years; HipHop for PHP. With HipHop
weâve reduced the CPU usage on our Web servers on average by about fifty
percent, depending on the page. Less CPU means fewer servers, which means
less overhead. This project has had a tremendous impact on Facebook. We
feel the Web at large can benefit from HipHop, so we are releasing it as
open source this evening in hope that it brings a new focus toward scaling
large complex websites with PHP. While HipHop has shown us incredible
results, itâs certainly not complete and you should be comfortable with
beta software before trying it out.

HipHop for PHP isnât technically a compiler itself. Rather it is a source
code transformer. HipHop programmatically transforms your PHP source code
into highly optimized C++ and then uses g++ to compile it. HipHop executes
the source code in a semantically equivalent manner and sacrifices some
rarely used features â such as eval() â in exchange for improved
performance. HipHop includes a code transformer, a reimplementation of
PHPâs runtime system, and a rewrite of many common PHP Extensions to take
advantage of these performance optimizations.
</snip>

While reducing number of servers is irrelevant to us IBM i folks, better
performance certainly is not. I get excited at the idea of PHP running at
native speeds. This is an incredibly interesting idea and probably relevant
to every IBM i shop using PHP. I sure hope Zend is paying attention to
this. I'd love to see some real world examples of how much of an impact
this can actually have on performance. If it is as significant the
announcement says, I expect to see HipHop eventually implemented into a
future release of Zend Server. ;)

Matt


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.