[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

asmutils-0.01: interesting?



This was in the README file:
> This package is great for small Linux distributions (rescue, embedded etc.).
> It contains extreemly small and fast replacements for several unix
> utilities. Usual way for small system is to replace binaries with shell
> scripts to save size, however scripts require more memory and run slower.
> This package provides:
> 
>     1) _binaries_
>     2) _that_do_not_require_libc_
>     3) _that_are_small_as_scripts_
>     4) _that_are_fast_as_kernel_

It is an attempt to rewrite popular linux commands in assembler so they are
smaller and run faster. Here is a directory listing of the progress so far:

$ ls -l ~/asmutils-0.01/bin/
total 7
   1 -rwxr-xr-x   1 edward   edward        132 Jun  5 09:25 bdflush*
   1 -rwxr-xr-x   1 edward   edward        210 Jun  5 09:25 cat*
   1 -rwxr-xr-x   1 edward   edward        190 Jun  5 09:25 hostname*
   1 -rwxr-xr-x   1 edward   edward        190 Jun  5 09:26 mkdir*
   1 -rwxr-xr-x   1 edward   edward        194 Jun  5 09:26 pwd*
   0 lrwxrwxrwx   1 edward   edward          5 Jun 10 09:19 rmdir -> mkdir*
   1 -rwxr-xr-x   1 edward   edward        125 Jun  5 09:26 sync*
   1 -rwxr-xr-x   1 edward   edward        181 Jun  5 10:03 update*
$

And the source is avaliable as well:

$ ls -l ~/asmutils-0.01/src/
total 15
   1 -rw-r--r--   1 edward   edward        274 Jun  5 09:23 Makefile
   1 -rw-r--r--   1 edward   edward        168 Jun  5 09:10 bdflush.asm
   2 -rw-r--r--   1 edward   edward       1175 Jun  7 22:06 cat.asm
   1 -rw-r--r--   1 edward   edward        666 Jun  7 22:07 hang.asm
   1 -rw-r--r--   1 edward   edward        736 Jun  7 22:09 hostname.asm
   1 -rw-r--r--   1 edward   edward        565 Jun  7 22:12 kernel.inc
   1 -rw-r--r--   1 edward   edward        860 Jun  7 22:10 mkdir.asm
   1 -rw-r--r--   1 edward   edward        533 Jun  7 22:11 pwd.asm
   0 lrwxrwxrwx   1 edward   edward          5 Jun 10 09:19 rmdir -> mkdir
   1 -rw-r--r--   1 edward   edward        254 Jun  7 22:11 sync.asm
   4 -rw-r--r--   1 edward   edward       3647 Jun  7 22:12 system.inc
   1 -rw-r--r--   1 edward   edward        485 Jun  5 10:01 update.asm
$

Unfortunately it is i386 only at the moment. Still interesting though.
-- 
I consume, therefore I am

Attachment: pgpljbSbIsSy0.pgp
Description: PGP signature


Reply to: