[jvm-l] PHP.reboot

60 views
Skip to first unread message

Rémi Forax

unread,
Apr 30, 2010, 4:09:01 AM4/30/10
to jvm-la...@googlegroups.com
Hi all,
I want to publicly announce a new JVM language PHP.reboot.

It's as far as I know the first reboot of an existing language :)
The idea is to keep the spirit of PHP but change its syntax
to natively support XML, SQL, JSON, XPath/XQuery, Perl5 regex, etc.

Embedding those DSL provides several benefits:
- better readability
- variable values are correctly escaped by default (no SQL injection, etc)
- integration into a common runtime type system which avoid runtime
conversions

Unlike PHP wich is based on C runtime, PHP.reboot is based on the JVM
which natively supports unicode, exceptions and provides
a runtime optimizing environment.

PHP.reboot uses a gradual type system (not yet finished) and will soon get a
runtime compiler thanks to JSR 292 API. The interpreter already use this API
to speed up method calls and member access.

The is no binary release yet but the source are available here:
http://code.google.com/p/phpreboot/

enjoy,
Rémi






--
You received this message because you are subscribed to the Google Groups "JVM Languages" group.
To post to this group, send email to jvm-la...@googlegroups.com.
To unsubscribe from this group, send email to jvm-language...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/jvm-languages?hl=en.

Olivier Lefevre

unread,
May 3, 2010, 1:30:25 PM5/3/10
to jvm-la...@googlegroups.com
> Unlike PHP wich is based on C runtime

Er, what about Quercus?

-- O.L.

Rémi Forax

unread,
May 4, 2010, 5:24:05 AM5/4/10
to jvm-la...@googlegroups.com
Le 03/05/2010 19:30, Olivier Lefevre a écrit :
>> Unlike PHP wich is based on C runtime
>
> Er, what about Quercus?
>
> -- O.L.
>

Thank you, I wasn't aware of Quercus.
http://quercus.caucho.com/quercus-3.1/doc/quercus.xtp

Its seems it's like IBM's Project Zero.
http://www.projectzero.org/

Rémi

Charles Oliver Nutter

unread,
May 4, 2010, 5:21:02 AM5/4/10
to jvm-la...@googlegroups.com

They are actually separate projects. The main difference is that Project Zero uses JNI to support PHP's native exts while the Quercus guys ported key exts to Java. I'm not sure which approach has been more successful, but I believe both are reasonably fast at plain PHP code.

- Charlie (from mobile)

Patrick Wright

unread,
May 4, 2010, 6:14:34 AM5/4/10
to jvm-la...@googlegroups.com
FWIW, Quercus is pretty impressive. They've been able to run all the
major PHP webapps for several years now, including MediaWiki, Drupal,
etc. Unfortunately IMO, it hasn't gotten the attention it's deserved
in the marketplace.

> Thank you, I wasn't aware of Quercus.
> http://quercus.caucho.com/quercus-3.1/doc/quercus.xtp

Ben Evans

unread,
May 4, 2010, 7:46:23 AM5/4/10
to jvm-la...@googlegroups.com
If memory serves, Project Zero isn't using an OSS license.

Sent from my iPhone

Patrick Wright

unread,
May 4, 2010, 8:23:28 AM5/4/10
to jvm-la...@googlegroups.com
I believe so; Quercus is licensed under the GPL.

On Tue, May 4, 2010 at 1:46 PM, Ben Evans
<benjamin....@googlemail.com> wrote:
> If memory serves, Project Zero isn't using an OSS license.

Rémi Forax

unread,
May 4, 2010, 8:25:03 AM5/4/10
to jvm-la...@googlegroups.com
Le 04/05/2010 14:23, Patrick Wright a écrit :
> I believe so; Quercus is licensed under the GPL.
>

Yes but the bytecode compilation part is not OSS :(

Rémi
Reply all
Reply to author
Forward
0 new messages