I need to develop some kind of schedule for getting Felix up again, 
this email is a brief discussion of the issues/options. Apologies to anyone who
mailed either group hoping for a response whilst I was away sailing 
in Papua New Guinea.

There are numerous cleanups to be done. 

One I can remember off hand is
that a statically linked executable doesn't behave the same way as a 
program run from "flx" because "flx" uses "cut and paste string operations"
to build a command line and execute it using the shell (via system() function).

The reason this is important is that if you run a command with weird characters
in it the required quoting is different. The reason that matters "right now" is 
that
the general file copy command I have written uses Perl regexps (via Google's
Go2 library). And the reason that matters is that I want to use these programs
(and the underlying libraries) to start writing a new build system (in Felix).

The reason for THAT is that the current build system author and maintainer,
Erick, is no longer able to continue to maintain the build scripts and the 
system
is too sophisticated for me to do it.

The *right* (TM) way to run a process is by using posix_spawn/waitpid.
Exec* family isn't useful because it terminates the calling process.
Using fork/exec is pretty ugly.

Related to this: the flx_cp command dies an ugly death if it has to search
the root file system. This is because this stores a copy of the whole file 
system
tree in memory, then filters by regexp. The gc just doesn't cope with this: the 
gc
needs to be upgraded to use a more sane tuning system.




--
john skaller
skal...@users.sourceforge.net





------------------------------------------------------------------------------
Get your Android app more play: Bring it to the BlackBerry PlayBook 
in minutes. BlackBerry App World™ now supports Android™ Apps 
for the BlackBerry® PlayBook™. Discover just how easy and simple 
it is! http://p.sf.net/sfu/android-dev2dev
_______________________________________________
Felix-language mailing list
Felix-language@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to