develooper Front page | perl.perl5.porters | Postings from September 2013

Re: [perl #114494] [PATCH] Clean up microperl slightly

Thread Previous
Nicholas Clark
September 10, 2013 12:20
Re: [perl #114494] [PATCH] Clean up microperl slightly
Message ID:
On Sat, Aug 18, 2012 at 09:57:12AM -0700, David Leadbeater wrote:

> A patch series of various cleanups for microperl. Nicholas's recent
> mail made me have a look to see what would be stripped out if
> microperl went, and I noticed a few targets for cleanups while
> looking. The main "big" part of microperl remaining is the wholesale
> removal of signals.

Which I'm not convinced is sane. microperl assumes ANSI C89 plus some stuff,
and ANSI C89 does provide several signal handing functions, so pragmatically
microperl could assume the minimal C89 functions and behaviour are present.

Which would make the amount of special-casing for microperl drop further.
Which would be good.

I *think* that the whole "special case" concept of microperl could be
eliminated if HAS_GROUP and a couple of other defines declared in unixish.h
became controlled via a and config.h. Eliminate all PERL_MICRO,
and simply use the correct "canned" to compile perl, to get the
same end product.

Both of these thoughts probably belong in new tickets.

> I also noticed the list of requirements in README.micro is somewhat
> outdated, e.g. at least fork() and execl() are linked now, so
> microperl is only really going to work on a Unix system.

I had not noticed this.

On Sat, Sep 07, 2013 at 07:26:54PM -0700, James E Keenan via RT wrote:

> dgl submitted these patches slightly over a year ago, but no one has
> commented on or evaluated them.
> Is there anyone who could do so?

Sorry about the delay. I looked at them and liked them, so I pushed them.
(For the usual value of "liked" which included a clean build and all tests

Nicholas Clark

Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About