On Mon, 31 May 2010 09:59:00 -0600, Chad Perrin <per...@apotheon.com> wrote:
>> Vim is much smaller than Emacs but it still a few MB's here:
>>
>>   keram...@kobe:/usr/ports/packages/All$ ls -ld vim*
>>   -rw-r--r--  1 root  wheel  - 5757731  1 Απρ 17:11 vim-lite-7.2.344.tbz
>
> Does Vim install more than the binary?  I've got this:
>
>     > ls -l /usr/local/bin/vim
>     -rwxr-xr-x  1 root  wheel  1650340 Apr 18 12:20 /usr/local/bin/vim

Yes, it does: help files; syntax highlighting rules; manpages; around 14
binaries in /usr/local/bin; including more than a thousand files in
/usr/local/share.

> I don't think the size of the installation tarball is necessarily
> representative of the final size.

For modern editors like Vim and Emacs the binary is pretty much a basic
'scripting engine' that loads plugins, scripts and other data files to
present an editing user interface to the user.  The last Emacs binary I
compiled is 13 MB:

  keram...@kobe:/opt/emacs/bin$ ls -ld emacs-*
  -rwxr-xr-t  2 root  wheel  - 13395130 31 Μαϊ 20:13 emacs-24.0.50

The full Emacs installation in /opt/emacs is more than 110 MB:

  keram...@kobe:/opt/emacs$ du -sk .
  113298  .

The binary itself is a small part of the installation; almost 1/10 of
the full size of GNU Emacs.

Attachment: pgpQO2501u1dl.pgp
Description: PGP signature

Reply via email to