Re: Linux command-line-oriented programs in Euphoria

new topic     » goto parent     » topic index » view thread      » older message » newer message

ags wrote:
> This sounds good, as like Tom I am interested in using Euphoria for shell
> scripting (I currently use Perl for that if not bash).
> 
> Couldn't you just conditionally test the platform and use the DOS (presumably
> interrupt) positioning code, or curses (*nix) , or crash and warn if
> procedures
> like position() have been used if a 'without curses' or something has been
> issued?

I want to have a version that does not include any dependencies on
ncurses, i.e. that stuff is not compiled in at all. 
It could be used for straightforward standard I/O, file filtering,
scripting, and even CGI programming.

> I would also be concerned about the memory footprint of lots of Euphoria 
> interpreters running.  Perl I think uses a fair amount of position 
> independent shared code via libperl.so, is there any chance of splitting 
> the backend into a shared library and modifying the front end to use the
> shared code?

The Euphoria interpreter, exu, is *much* smaller than Perl or Python.
I do not plan to spin off a separate shared library out of the backend.
It seems to me the O/S could detect that multiple exu's are running,
and only load one copy of the executable code for exu into memory.

Regards,
   Rob Craig
   Rapid Deployment Software
   http://www.RapidEuphoria.com

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu