From: "Andrej Borsenkow" <Andrej.Borsenkow@mow.siemens.ru>
To: "Peter Stephenson" <pws@cambridgesiliconradio.com>,
"Zsh hackers list" <zsh-workers@sunsite.auc.dk>
Subject: Use and abuse of dynamic loading RE: Getting dynamic loading to work on cygwin
Date: Fri, 2 Jun 2000 18:11:14 +0400 [thread overview]
Message-ID: <000001bfcc9c$697939a0$21c9ca95@mow.siemens.ru> (raw)
In-Reply-To: <0FVI00DP2XD5AS@la-la.cambridgesiliconradio.com>
This is not directly related to Cygwin; I just use the occasion.
What are plans for dynamic loading future in Zsh? This feature as it
currently is may be interesting, but ...
- it does not save disk space. Modules take up at least the same amount
of disk space (and even more due to symbol tables).
- it does not save memory at runtime. Most modern systems share code in
any case; actually, dynamic loading requires slightly more memory for
houskeeping (and then, this memory really per process)
- it is usually slower because of indirection.
So, the sole advantage IMHO is the ability to extend main program
on-the-fly. Consider Perl or Tcl where you compile and install modules
independently of main program. But this is exactly what Zsh lacks (just
think about autoloading - all information is compiled into main
executable, so if I want another module be autoloaded I need to
recompile zsh).
Sorry, if it obvious, but I thought I ask anyway.
-andrej
next prev parent reply other threads:[~2000-06-02 14:11 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-06-02 11:03 Peter Stephenson
2000-06-02 13:43 ` Peter Stephenson
2000-06-02 14:19 ` Andrej Borsenkow
2000-06-02 15:00 ` Peter Stephenson
2000-06-02 15:16 ` maurice s. barnum
2000-06-02 16:17 ` Peter Stephenson
2000-07-06 10:15 ` Andrej Borsenkow
2000-07-06 11:07 ` Peter Stephenson
2000-06-02 14:11 ` Andrej Borsenkow [this message]
2000-06-02 14:24 ` Use and abuse of dynamic loading " Peter Stephenson
2000-06-02 14:52 ` Use and abuse of dynamic loading RE: Getting dynamic loading towork " Andrej Borsenkow
2000-06-06 21:52 ` Fletch
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='000001bfcc9c$697939a0$21c9ca95@mow.siemens.ru' \
--to=andrej.borsenkow@mow.siemens.ru \
--cc=pws@cambridgesiliconradio.com \
--cc=zsh-workers@sunsite.auc.dk \
/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.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
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).