Hi,

On Mon, Jun 15, 2026 at 2:12 AM Jerome Shidel via Freedos-devel
<[email protected]> wrote:
>
> > On Jun 13, 2026, at 4:51 PM, Rugxulo via Freedos-devel 
> > <[email protected]> wrote:
> >
> > I downloaded and took a look at the Euphoria package (which was just
> > updated recently re: lib2 by Shien Lee). It could use some
> > improvements.
>
> While there were some recent corrections to the package metadata
> (like the removal of an invalid URL in the LSM), it was last updated by
> Shian a little over 4 years ago.

Honestly, I didn't expect it to be actively maintained.

> > While I admit to not being very familiar with Euphoria in detail, it
> > seems pretty cool: good examples, very fast interpreter, and portable.
> >
> > But the package is a mess.
>
> As something I do not personally use, I am not likely to devote a lot of
> time into improving this package. Simply, there are just not enough
> hours in the day.

That's totally fine (and what I expected).

> You are more than welcome to fix or make improvements to the package.
> The best way to do that is by issuing a pull/merge request to the project
> package stored in the GitLab FreeDOS Archive at:
>
> https://gitlab.com/FreeDOS/devel/euphoria

I'm not intimately familiar with Git or Gitlab, but I could maybe
figure out how to upload a .ZIP via their web interface.

> > 3). LFNFILES.ZIP has two files, but they are both redundant and
> > irrelevant.
>
> The generation of LFNFILES.ZIP archives is automatic when a package
> is created from the projec. Any file or directory that does not adhere to
> the standard DOS 8+3 file naming convention is automatically wrapped
> in a LFNFILES.ZIP archive. Also, the LSM metadata file receives a
> "Long-file-names: true” field setting.

DEMO/BENCH/sieve8k.pro2 is the text output of the "time profile"
(percentages of total execution time).
The normal sieve8k.pro file is the text output of the "execution count
profile" (number of times executed).
This is supposed to prove how fast Euphoria is. It is only
informational and not necessary to function.

RapidEuphoria.url is a two-line text file ("internet shortcut") that
just points to the old website (www.rapideuphoria.com).

I don't really want to remove them (although you can), just rename
them. Nothing will break by doing that.

> > N.B. I did test the Sieve benchmark again in native FreeDOS (on my
> > 15-year-old Dell laptop). Not sure if the old 2003 Pentium 4 benchmark
> > times are truly accurate (GAWK and REXX are still slowest but 10x
> > faster than their reported times.) For N=900, in order of fastest to
> > slowest, IIRC, it was: Euphoria, Lua5, Perl, GAWK (8 secs), REXX (16
> > secs). (This depends on vendor, version, and build tools, etc.) I
> > should test a bit more and report my results here, just for fun.

Like I said, they compared to the 2003 Win32 Sieve Shootout benchmark
on a Pentium 4. And the versions (and compilers) differ, so it's hard
to get any meaningful results (other than "wow, Euphoria is much
faster"). I still like AWK and REXX, but sheesh.

They do have a translator that outputs C, so that's the fastest, but
here I'm only interested in the fast interpreter (compared to other
interpreted languages).

Their BENCH.DOC from 2006 says this:

N=900 iterations
Pentium 4 1.6 GHz

Interpreters, sorted by seconds taken:
---------------------------------------------------
Euphoria.   0.47. - Interpreted with exw.exe
gforth.        0.75
lua.            8.70
perl.         16.36
gawk.     158.49
rexx.       166.85

My "old" 2010 Dell (Penryn? 6 / 7 / a) 2.2 Ghz (FreeDOS kernel 2044):
-----------------------------------------------------------------------------------------------
Euphoria 3.1.1 (OpenWatcom) - 0.27
Gforth 0.5.0 (DJGPP) - 0.33
Lua 5.2.2 (DJGPP) - 1.32
Perl 5.6.1 (DJGPP) - 4.45 ... yes, we have version 5.88 too, but for
whatever reason, I only have this one here now
GAWK 5.0.0 (DJGPP) - 8.63
Regina REXX 3.9.7 (OpenWatcom) - 16.97

(My older Regina 3.9.3 DJGPP build takes 20.39 and Brexx 2.1.9 DJGPP
takes 24.07. Usually Brexx is faster.)

So not sure how it went from 166 seconds to 16 for Regina or 158 to 8
for Gawk. But yes, AWK and REXX are much slower. I still like those
languages. But Euphoria is definitely interesting too (for several
reasons), just sadly not as popular.


_______________________________________________
Freedos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to