[BusyBox] builtin echo for ash

Rob Landley rob at landley.net
Sun Aug 7 03:33:16 UTC 2005

On Saturday 06 August 2005 17:26, Shaun Jackman wrote:
> I'd guess the primary reason for the performance difference here is
> the fork(2) call.
> The typical solution in *nix was to provide a shell built-in as Paul
> has done. Busybox is in the unique position of being able to provide
> another solution, namely
> optionally providing a bb_fork() via longjmp implementation.

I realise you think that's the greatest thing since sliced bread, but what 
I've cared about for a while is that it should be possible for the 
"standalone shell" to just call applets as functions (which they are) and 
have them return sanely.  (And _that_ is why I care about the cleanup stuff.)

The setjmp/longjmp stuff there is completely unnecessary complication and a 
hack for systems that have had lobotomies in the name of space.


More information about the busybox mailing list