According to OCTADE <
news0@octade.net>:
Has anyone here done work using the Euphoria programming language?
I was reading about Euphoria and it claims to be about 30 times faster than Python:
"Perl is 16.36/.4656 = 35 times slower than interpreted Euphoria. Python is 31 times slower."
I can't say I'm impressed, since neither python nor perl tries to run particularly fast.
If you want python programs to run faster, try cython which compiles python to C. You
can add type declrations to make the code even faster.
The other thing is that it completely depends on what you are doing. Perl's regular
expression matcher is extremely fast, enough so that I've rewritten a python program
that reads a file and does collects statistics using regex matching into perl, and
without doing anything different, it's twice as fast.
For specfiic taskes, Python has libraries like numpy that do specific things very
efficiently. Doing a matrix inversion in interpreted perl or python takes forever,
using the numpy library it's really fast.
--
Regards,
John Levine,
johnl@taugh.com, Primary Perpetrator of "The Internet for Dummies",
Please consider the environment before reading this e-mail.
https://jl.ly
--- PyGate Linux v1.5.2
* Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)