Message from discussion
Bytecode metadata
Newsgroups: perl.perl6.internals
Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.perl.org
Return-Path: <mdupont...@yahoo.com>
Mailing-List: contact perl6-internals-h...@perl.org; run by ezmlm
Delivered-To: mailing list perl6-intern...@perl.org
Message-ID: <20030123212111.58965.qmail@web41504.mail.yahoo.com>
Date: Thu, 23 Jan 2003 13:21:11 -0800 (PST)
Subject: Re: Bytecode metadata
To: Dave Mitchell <da...@fdgroup.com>, Juergen Boemmels <boemm...@physik.uni-kl.de>
Cc: Dan Sugalski <d...@sidhe.org>, perl6-intern...@perl.org
In-Reply-To: <20030123203921.B8696@fdgroup.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-SMTPD: qpsmtpd/0.20, http://develooper.com/code/qpsmtpd/
Approved: n...@nntp.perl.org
From: mdupont...@yahoo.com (James Michael Dupont)
References: <20030123203921.B8696@fdgroup.com>
Lines: 42
--- Dave Mitchell <da...@fdgroup.com> wrote:
> On Thu, Jan 23, 2003 at 09:21:45PM +0100, Juergen Boemmels wrote:
> > My current idea for the in memory format of the bytecode is this:
>
> I would strongly urge any file-based byte-code format to arranged
> in such a way that it (or most of it) can simply be mmap-ed in (RO),
> analogously to executables.
>
> This means that a Perl server that relies on a lot of modules, and
> which
> forks for each connection (imagine a Perl-based web server), doesn't
> consume acres of swap space just to have an in-memory image per Perl
> process, of all the modules.
sounds good.
could that be seen as similar to shared memory communication with the
compile,
via mem-mapped file interfaces?
mike
> This is a real problem that's hitting me hard with Perl 5 in my day
> job.
>
> Dave.
>
> --
> Any [programming] language that doesn't occasionally surprise the
> novice will pay for it by continually surprising the expert.
> - Larry Wall
=====
James Michael DuPont
http://introspector.sourceforge.net/
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com