• Re: Euphoria Programming Language

    From John Levine@3:633/10 to All on Friday, January 23, 2026 22:59:03
    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)
  • From Lawrence D?Oliveiro@3:633/10 to All on Saturday, January 24, 2026 21:23:35
    On Sat, 24 Jan 2026 16:41:41 -0000 (UTC), Waldek Hebisch wrote:

    Also, JVM based langages may be quite fast ...

    I wonder how that works, once the garbage collector kicks in and
    starts thrashing the RAM cache ...

    --- PyGate Linux v1.5.5
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)