home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.unix.misc:3306 alt.religion.computers:487
- Newsgroups: comp.unix.misc,alt.religion.computers
- Path: sparky!uunet!gatech!destroyer!ncar!news.miami.edu!cybernet!pineal.sci.fau.edu!spc
- From: spc@pineal.sci.fau.edu (Sean 'Captain Napalm' Conner)
- Subject: Re: The need for an assembler (was: Favorite CPU)
- Message-ID: <1992Aug20.182825.20401@cybernet.cse.fau.edu>
- Sender: news@cybernet.cse.fau.edu
- Organization: Florida Atlantic University, but who cares?
- References: <id.2PCS._X2@ferranti.com> <1992Aug17.185447.2408@cybernet.cse.fau.edu> <1992Aug19.103347.733@acme.gen.nz>
- Date: Thu, 20 Aug 1992 18:28:25 GMT
- Lines: 40
-
- In article <1992Aug19.103347.733@acme.gen.nz> kilroy@acme.gen.nz (earthbound misfit, I) writes:
- >spc@pineal.sci.fau.edu (Sean 'Captain Napalm' Conner) writes:
- >
- >> peter@ferranti.com (Peter da Silva) writes:
- >>
- >> >spc@pineal.sci.fau.edu (Sean 'Captain Napalm' Conner) writes:
- >> >> -spc (Unix philosophy:
- >> >> 1. Write cryptic and highly customizable code.
- >> >
- >> >Write simple code. Write small modules that hang together well. Write your
- >> >code as generically as possible... one day you'll have to port it.
- >>
- >> And find is simple? dd is small? Gee, I'd like to have your Unix system
- >> at work 8-) 8-) (add many many more if needed)
- >
- >All find does is apply a series of tests to all files in a given directory
- >branch. And you even have to specify those tests as *whole words*. Sounds
- >pretty simple to me.
- >
- Yes, but it flies in the face of the syntax MOST Unix commands use by using
- full words as apposed to cryptic case-sensitive single letters 8-). That really
- threw me the first time I had to use it.
-
- >As for dd:
- >
- > $ ls -l /bin/dd
- > -r-x--x--x 1 bin bin 9676 Wed Aug 5 20:41 /bin/dd
- > $
- >
- >10k sounds small enough to me.
- >
- Ah, but for what system? On my SGI system (MIPS R3000 CPU) it's 20528 in size.
- Not that bad for this system (where a simple #include <stdio.h> main(){printf("hello world\n");}
- compiles to about 40K in size (using cc -o hello hello.c).
-
- (Of course, if I use cc -O3 -o hello hello.c -lc_s -s, then it drops down to about 8K 8-)
-
- -spc (Anyone want a 168 byte Unix EXECUTABLE file? 8-)
-
-
-