List Info

Thread: Compile to PHP Bytecode




Compile to PHP Bytecode
country flaguser name
Denmark
2007-03-23 08:09:02
Hello All,
  I am new to the list.  And first let me say, haXe is an
beautiful
language.  The syntax is so intuitive.  Ok, moving on.

  Here is my thought.  There is a plethora of dirt cheap PHP
hosting out
there.  And although there are good reasons for compiling to
neko, is
there any hope of compiling to PHP (i.e. Zend) bytecode?  I
believe it
could really jumpstart this great language.  I know that
most PHP hosts
will execute compiled php code (Zend Optimizer).

Thoughts?

Sam Washburn

-- 
haXe - an open source web programming language
http://haxe.org

Fwd: Compile to PHP Bytecode
user name
2007-03-23 08:23:25
That's a really nice idea.

Ian

---------- Forwarded message ----------
From: lists1helpfulinventions.com <lists1helpfulinventions.com>
Date: Mar 23, 2007 1:09 PM
Subject: [haXe] Compile to PHP Bytecode
To: haxelists.motion-twin.com


Hello All,
  I am new to the list.  And first let me say, haXe is an
beautiful
language.  The syntax is so intuitive.  Ok, moving on.

  Here is my thought.  There is a plethora of dirt cheap PHP
hosting out
there.  And although there are good reasons for compiling to
neko, is
there any hope of compiling to PHP (i.e. Zend) bytecode?  I
believe it
could really jumpstart this great language.  I know that
most PHP hosts
will execute compiled php code (Zend Optimizer).

Thoughts?

Sam Washburn

-- 
haXe - an open source web programming language
http://haxe.org

Re: Compile to PHP Bytecode
country flaguser name
France
2007-03-23 08:29:57
>   Here is my thought.  There is a plethora of dirt
cheap PHP hosting out
> there.  And although there are good reasons for
compiling to neko, is
> there any hope of compiling to PHP (i.e. Zend)
bytecode?  I believe it
> could really jumpstart this great language.  I know
that most PHP hosts
> will execute compiled php code (Zend Optimizer).
> 
> Thoughts?

Interesting, but I don't have time to work on that, and
dedicated
hosting is pretty cheap these days anyway ;)

Nicolas

-- 
haXe - an open source web programming language
http://haxe.org

Re: Compile to PHP Bytecode
country flaguser name
United Kingdom
2007-03-23 08:35:43
If haxe can generate javascript then why not modify that to
generate  
PHP code instead ?  The two languages are not that
dissimilar. That  
way, the generated PHP code can by  sucked in and byte
compiled by  
the normal PHP engine, safer, cleaner and a lot less work I
would  
have thought.

I have yet to start on my Neko LISP interpreter but tweaking
the  
Javascript generator would also seem appealing if I had some
time.



On 23 Mar 2007, at 13:29, Nicolas Cannasse wrote:

>>   Here is my thought.  There is a plethora of dirt
cheap PHP  
>> hosting out
>> there.  And although there are good reasons for
compiling to neko, is
>> there any hope of compiling to PHP (i.e. Zend)
bytecode?  I  
>> believe it
>> could really jumpstart this great language.  I know
that most PHP  
>> hosts
>> will execute compiled php code (Zend Optimizer).
>>
>> Thoughts?
>
> Interesting, but I don't have time to work on that, and
dedicated
> hosting is pretty cheap these days anyway ;)
>
> Nicolas
>
> -- 
> haXe - an open source web programming language
> http://haxe.org
>



-- 
haXe - an open source web programming language
http://haxe.org

Re: Compile to PHP Bytecode
country flaguser name
Denmark
2007-03-23 09:34:54
It is pretty cheap. I wish .NET hosting was as cheap.

http://servage.net
http://gate.com

Servage gives you 310 GB space and 3 GB monthly transfer for
almost nothing.

On the other hand, Google Picassa gives you 1 GB free space
and Gmail gives 
you > 2 GB free space. They need to open a hosting
bussiness. 

Best regards
Bent


----- Original Message ----- 
From: "Nicolas Cannasse" <ncannassemotion-twin.com>
To: "The haXe compiler list" <haxelists.motion-twin.com>
Sent: Friday, March 23, 2007 2:29 PM
Subject: Re: [haXe] Compile to PHP Bytecode


>>   Here is my thought.  There is a plethora of dirt
cheap PHP hosting out
>> there.  And although there are good reasons for
compiling to neko, is
>> there any hope of compiling to PHP (i.e. Zend)
bytecode?  I believe it
>> could really jumpstart this great language.  I know
that most PHP hosts
>> will execute compiled php code (Zend Optimizer).
>>
>> Thoughts?
>
> Interesting, but I don't have time to work on that, and
dedicated
> hosting is pretty cheap these days anyway ;)
>
> Nicolas
>
> -- 
> haXe - an open source web programming language
> http://haxe.org 


-- 
haXe - an open source web programming language
http://haxe.org

Re: Compile to PHP Bytecode
country flaguser name
Denmark
2007-03-23 10:15:25
Yeah, servage is what I use.  And even though getting
hosting with a shell
account where you can compile/install neko is getting
cheaper by the day. 
Its not $6.50 a month.  I guess one could say, "pony up
if you want to use
haXe", but even better for pushing the widespread usage
of haXe by saying
"It'll work with 90% of internet hosting
companies". Python and Ruby can't
say that.

I wouldn't mind putting in some time towards this project. 
But I wonder
if going to php source is possible since php doesn't have
things like
anonymous functions and although flexible is not as flexible
as prototype
based langs.  Is there a way of "coding around"
this limitation?  I guess
I am asking has it been done previously like with
actionscript or
something.  I don't have much experience with AS.

Sam

> It is pretty cheap. I wish .NET hosting was as cheap.
>
> http://servage.net
> http://gate.com
>
> Servage gives you 310 GB space and 3 GB monthly
transfer for almost
> nothing.
>
> On the other hand, Google Picassa gives you 1 GB free
space and Gmail
> gives
> you > 2 GB free space. They need to open a hosting
bussiness. 
>
> Best regards
> Bent
>
>
> ----- Original Message -----
> From: "Nicolas Cannasse" <ncannassemotion-twin.com>
> To: "The haXe compiler list" <haxelists.motion-twin.com>
> Sent: Friday, March 23, 2007 2:29 PM
> Subject: Re: [haXe] Compile to PHP Bytecode
>
>
>>>   Here is my thought.  There is a plethora of
dirt cheap PHP hosting
>>> out
>>> there.  And although there are good reasons for
compiling to neko, is
>>> there any hope of compiling to PHP (i.e. Zend)
bytecode?  I believe it
>>> could really jumpstart this great language.  I
know that most PHP hosts
>>> will execute compiled php code (Zend
Optimizer).
>>>
>>> Thoughts?
>>
>> Interesting, but I don't have time to work on that,
and dedicated
>> hosting is pretty cheap these days anyway ;)
>>
>> Nicolas
>>
>> --
>> haXe - an open source web programming language
>> http://haxe.org
>
>
> --
> haXe - an open source web programming language
> http://haxe.org
>


-- 
haXe - an open source web programming language
http://haxe.org

[1-6]

about | contact  Other archives ( Real Estate discussion Medical topics )