News for hackers. Stuff that matters.
Re:Pharen: A lisp that compiles to PHP by jacquesm on Sunday January 30, 2011 @01:25PM (#2158676)
Hey Scriptor, neat project!

What are the major differences between Pharen and Lisphp?

(covered here:)

http://news.ycombinator.com/item?id=1488160

Re:Pharen: A lisp that compiles to PHP by Scriptor on Sunday January 30, 2011 @01:35PM (#2158708)
The big one is that Lisphp is an interpreter while Pharen is a compiler. Lisphp takes source code and just runs it, which means that it's lisp code running on Lisphp, which in turn is running on the PHP interpreter.

Pharen generates regular PHP source files that you can then throw wherever PHP works.

Re:Pharen: A lisp that compiles to PHP by jacquesm on Sunday January 30, 2011 @01:38PM (#2158716)
How do they compare performance wise? I've tried some 'toy' lisp programs in Lisphp and was pretty disappointed at the speed, does Pharen fare better in this respect?
Re:Pharen: A lisp that compiles to PHP by Scriptor on Sunday January 30, 2011 @01:48PM (#2158744)
I haven't done any real benchmarks, but theoretically Pharen would have at least the same order of magnitude performance as regular PHP. The main things slowing it down is the memory overhead needed for using lexical scope.