1. Linux port

The port of Euphoria to Linux is going well.
sanity.ex passes 100% (pixel-graphics test commented out),
and all programs that should run, do run. I'm now using
ed.ex instead of vi for all my editing.

Using GNU C, I've brought the speed up to within
2 or 3 percent of the DOS/WIN32 version (compiled
by WATCOM C). I can probably tweak it a bit more.
Anyway, I measured Euphoria (sieve benchmark)
at over 33 times faster than either Perl or Python
- on their own turf, using the latest major release of both.

There are still some small things that I want to do that
will make life easier for anyone who downloads the
experimental "pre-alpha" release. So hang on for another
week or so.

It will be possible to call C functions in shared libraries,
much like you can in WIN32 Euphoria, but I'll leave that
for the next (alpha) release.

Regards,
     Rob Craig
     Rapid Deployment Software
     http://members.aol.com/FilesEu/

new topic     » topic index » view message » categorize

2. Re: Linux port

Robert Craig wrote:

> It will be possible to call C functions in
> shared libraries, much like you can in WIN32
> Euphoria, but I'll leave that for the next
> (alpha) release.

I'm looking forward to playing with X Windows in Euphoria. Time to start
translating the XLib .h files.   sad

What kind of callback support will Euphoria/Linux have? X Windows doesn't
require it because it reads the event queue directly. But all the GUI
toolkits built on top of X (Motif, GTK+, wxWindows, GraphApp) use callbacks.

Thanks!

-- David Cuny

new topic     » goto parent     » topic index » view message » categorize

3. Re: Linux port

On Mon, 21 Jun 1999, you wrote:
> The port of Euphoria to Linux is going well.
> sanity.ex passes 100% (pixel-graphics test commented out),
> and all programs that should run, do run. I'm now using
> ed.ex instead of vi for all my editing.
> <snip>
> Using GNU C, I've brought the speed up to within
> 2 or 3 percent of the DOS/WIN32 version (compiled
> by WATCOM C). I can probably tweak it a bit more.
> Anyway, I measured Euphoria (sieve benchmark)
> at over 33 times faster than either Perl or Python
> - on their own turf, using the latest major release of both.

> Regards,
>      Rob Craig

I think the word I'm looking for is WOOHOO!

Irv

new topic     » goto parent     » topic index » view message » categorize

4. Re: Linux port

David Cuny writes:
> What kind of callback support will Euphoria/Linux have?
> X Windows doesn't require it because it reads the event
> queue directly. But all the GUI toolkits built on top of X
> (Motif, GTK+, wxWindows, GraphApp) use callbacks.

I should be able to support the same callback mechanism as
WIN32 Euphoria provides, i.e. C routines in shared libraries
(DLLs) will be able to call Euphoria routines, given the
callback address.

Inter-language calls are a bit tricky, and I haven't worked out
all the details yet for Linux. I need to do some research
and write a bit of machine code, so I'll leave it for the
second Linux release.

Regards,
     Rob Craig
     Rapid Deployment Software
     http://members.aol.com/FilesEu/

new topic     » goto parent     » topic index » view message » categorize

5. Linux port

Thank you very much Rob for your hard work on this.  I'm getting =
*really* excited about porting my DOS stuff over.  One request, though, =
(I know I'm starting early) can you include a check in the interpreter =
for a first line beginning with #! /bin/euphoria or something of the =
sort.  I'd like to be able to execute my files directly and not have =
Euphoria bomb out because of it (a feature not available in DOS). =20

TIA,
Michael J. Sabal

new topic     » goto parent     » topic index » view message » categorize

6. Re: Linux port

Michael Sabal writes:
> can you include a check in the interpreter for a first line
> beginning with #! /bin/euphoria or something of the sort.
> I'd like to be able to execute my files directly

Yes, that's a very useful feature. I intend to support it.

Regards,
   Rob Craig
   Rapid Deployment Software
   http://members.aol.com/FilesEu/

new topic     » goto parent     » topic index » view message » categorize

7. Re: Linux port

On Mon, 21 Jun 1999, Robert Craig wrote:

] The port of Euphoria to Linux is going well.
] sanity.ex passes 100% (pixel-graphics test commented out),
] and all programs that should run, do run. I'm now using
] ed.ex instead of vi for all my editing.

Great. I may just install Linux again (HDD crash, courtesy of Defrag,
removed it) just to test it when it comes out.

Two questions:

1) [This is more a suggestion than a question]
   You're now using GNU C for development in Linux. Does this mean it may
   be more viable (no pun intended) to continue development under DOS with
   DJGPP?

2) [This is more a very cheeky question :)] Does EE run?! :)


Carl - Obviously in a cheeky mood today...

PS - Has my cheque made it across the pond yet? /me gets excited :)

--
Carl R White -- Final Year Computer Science at the University of Bradford
E-mail........: cyrek- at -bigfoot.com -- Remove hyphens. Ta :)
URL...........: http://www.bigfoot.com/~cyrek/
Uncrackable...: "19.6A.23.38.52.73.45 25.31.1C 3C.53.44.39.58"

new topic     » goto parent     » topic index » view message » categorize

8. Re: Linux port

Carl White writes:
> 1) [This is more a suggestion than a question]
>   You're now using GNU C for development in Linux.
> Does this mean it may be more viable (no pun intended)
> to continue development under DOS with DJGPP?

I'm content with WATCOM. I'm using it to build both DOS32
and WIN32, and there are advantages to using it for both.
I actually built Euphoria using GNU on DOS back in 1992
(in the pre-1.0 days) before
switching to WATCOM. GNU was lacking in some areas
back then, and DJGPP / GNU had "strings" attached
to developing a commercial product.

There aren't any strings attached to Linux Euphoria.
It's compiled with GNU, but it only uses *dynamic* linking
with GNU shared libraries, (standard C library, math library etc.)
These libraries are on all Linux systems (as far as I know).
If Euphoria were linked *statically* (library code bound into
the Euphoria executable) then I might be required to provide
a way for users to re-link Euphoria with the GNU libraries,
which might be a useful thing someday, but I don't want
to be forced into that now.

2) [This is more a very cheeky question :)] Does EE run?! :)

I'm expecting you or David Cuny to have EE up and running
within hours of installing Linux Euphoria. Actually, you'll
have to wait for the next release (alpha), since I probably
won't get around to doing mouse support in the "pre-alpha".

Regards,
     Rob Craig
     Rapid Deployment Software
     http://members.aol.com/FilesEu/

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu