9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Richard Miller <9fans@hamnavoe.com>
To: 9fans@9fans.net
Subject: Re: [9fans] automatic page sharing
Date: Fri, 30 Oct 2009 10:11:25 +0000	[thread overview]
Message-ID: <fb5413c23119d2324bc122299cee4b3f@hamnavoe.com> (raw)
In-Reply-To: <406a097d4b6bb7f34f9644b111926f6c@yyc.orthanc.ca>

> #include <u.h>
> #include<libc.h>
> int main(void){exits(nil);}
>
> is 3317 bytes on my atom box.

Bloatware!  A quick visit to 6th edition Unix (on 32-bit Interdata)
via the SIMH time machine produces this:

# cat >t.c
int main() {exit(0);}
# cc t.c
# ls -l a.out
-rwxrwxrwx  1 root      164 Jun  4 15:53 a.out
# date
Mon Jun  4 15:53:30 EST 1979

To put this into context:

# ls -l /bin/exit /bin/cat /bin/sh
-rwxr-xr-x  1 root     1436 Nov 13  1978 /bin/cat
-rwxr-xr-x  1 root      192 Nov 13  1978 /bin/exit
-rwxr-xr-x  1 root     8316 Nov 13  1978 /bin/sh




  reply	other threads:[~2009-10-30 10:11 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <<20091029232535.af075d27.eekee57@fastmail.fm>
2009-10-30  0:22 ` erik quanstrom
2009-10-30  0:39   ` Lyndon Nerenberg (VE6BBM/VE7TFX)
2009-10-30 10:11     ` Richard Miller [this message]
     [not found] <<599f06db0910300257v4fef540eid5626e2ba7c798ec@mail.gmail.com>
2009-10-30 14:14 ` erik quanstrom
2009-04-18 17:05 Enrico Weigelt
2009-04-18 17:46 ` tlaronde
2009-04-28 22:19 ` Russ Cox
2009-10-29 20:25   ` Enrico Weigelt
2009-10-29 23:25     ` Ethan Grammatikidis
2009-10-30  9:57       ` Gorka Guardiola

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=fb5413c23119d2324bc122299cee4b3f@hamnavoe.com \
    --to=9fans@hamnavoe.com \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).