public inbox for guile-gtk@sourceware.org
 help / color / mirror / Atom feed
From: Jim Blandy <jimb@red-bean.com>
To: Marius Vollmer <mvo@zagadka.ping.de>
Cc: Miroslav Silovic <silovic@zesoi.fer.hr>,
	Ariel Rios <jarios@usa.net>,
	guile-gtk@sourceware.cygnus.com
Subject: Re: Towards guile-gtk 0.18
Date: Sat, 30 Oct 1999 23:05:00 -0000	[thread overview]
Message-ID: <m3wvs412vq.fsf@savonarola.red-bean.com> (raw)
In-Reply-To: <87iu3v49vx.fsf@zagadka.ping.de>

> I'm a bit worried about the size of gtk-glue.c, too.  Does it need to
> be that big?  Is the compiled code too bloated, too?  Maybe it would
> be acceptable to just generate some table for each function and then
> have one generic glue function that peruses this information.  Maybe
> this wouldn't work for all of them, but for the majority.

Some historical perspective: people used to make fun of the Mach
microkernel because it wasn't very "micro" --- it was bigger than a
BSD kernel on the same machine.  And it didn't even have filesystems,
networking stacks, and so on.

It turns out that a full half of the executable was due to
automatically generated RPC stubs.  The whole thing was based on
message-passing; even system calls were done by having the process
send a message to the kernel.  They used MiG (the Mach Interface
Generator) to describe the interfaces and generate client and server
messaging stubs; the kernel had lots of server stubs linked into it.
And the stubs were really big.

I'm not sure if this helps you solve your present problem, but I guess
it's worth noticing that this "Gosh, our automatically generated
interface adapter stubs are kind of big!" scene has been played out
before.  Many more times than once, I'd guess.  So some genuinely
clever thinking is required here.

  parent reply	other threads:[~1999-10-30 23:05 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-10-24 13:14 Ariel Rios
1999-10-25  7:46 ` Miroslav Silovic
1999-10-25 10:55   ` Marius Vollmer
1999-10-25 14:45     ` Miroslav Silovic
1999-10-30 23:05     ` Jim Blandy [this message]
1999-10-31  4:34       ` Miroslav Silovic
1999-10-31  5:14       ` Marius Vollmer
1999-10-31  9:54         ` Keith Wright
1999-11-01  6:37           ` Jim Blandy
1999-11-02 21:42             ` Keith Wright
1999-11-13  7:42 ` Towards guile-gtk x.xx Daniel Skarda

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=m3wvs412vq.fsf@savonarola.red-bean.com \
    --to=jimb@red-bean.com \
    --cc=guile-gtk@sourceware.cygnus.com \
    --cc=jarios@usa.net \
    --cc=mvo@zagadka.ping.de \
    --cc=silovic@zesoi.fer.hr \
    /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 read-only IMAP folder(s) and NNTP newsgroup(s).