On Wed, Oct 06, 2004 at 04:28:13PM +1300, Carl Cerecke wrote:
I'll stick with python, thanks :-)
(Unless there's some major advantage of pike over python that I'm missing....)
speed and true encapsulation. (python objects don't have private data, (at least they didn't last we checked) sTeam, a server where users are allowed to run their own pike scripts, would not be possible without protected data.
Python is not as slow as it used to be. Especially with packages like psyco (a dynamic x86 optimiser for python) it can approach the speed of C for some code. In fact, it can even be *faster* than C, because it can do dynamic optimsations on running code that a static compiler can't do.
You're right about the encapsulation though. Python only provides pseudo-private fields/methods. You can do restricted execution, but the latest python docs say: "Warning: In Python 2.3 these modules have been disabled due to various known and not readily fixable security holes."
but apart from that, and a few very nice syntactic features of pike operators python and pike are quite up to par. and i like pythons syntax too.
Mmmmm. Python syntax. Very nice.
Cheers, Carl.
