This Week on Perl 6, Week Ending 2004-05-09

Ooh look. Stuff's been happening in perl6-internals again. Will wonders never cease?

Building NCI by default

Bernhard Schmalhofer posted a patch to turn on building libnci.so by default so that the tests in t/pmc/nci.t would get run on more builds by default. Leo Tötsch applied them and sat back to see what broke. He, Nicholas Clark and Andrew Dougherty went on to have a discussion about when dynamic loading may not be available (Did you know that Crays don't do dynamic loading?) or desirable.

Various OSes broke, and appropriate patches were created and applied.

http://groups.google.com/groups?selm=rt-3.0.9-29257-86491.15.10015674031@perl.org

MMD and bytecode implementations

There was some debate on how register saving should be handled when doing multi method dispatch to operators that end up with an implementation in bytecode. I was involved in this discussion and I'm still busy arguing my corner. So, rather than abuse this particular soapbox with a partial (as in 'not impartial') summary, I'm just going to point you at the root message of the thread.

http://groups.google.com/groups?selm=a06100502bcb7f7775cfc@[10.0.1.3]

Embedding and the stack

Dan ruled on PMCs that live outside parrot, and on calling into parrot from the outside. Brent Royal-Gordon implemented a 'proof of concept' that got applied pretty quickly. Nicholas Clark wasn't entirely convinced that everything in the garden was lovely, but we're currently in 'suck it and see' mode.

http://groups.google.com/groups?selm=a06100501bcbc0a646eeb@[10.0.1.3]

The ongoing saga of cygwin

Cygwin had all sorts of problems this week, with ICU, with NCI and (no surprise really) garbage collection. Joshua Gatcomb acted as Leo's eyes and hands during an extended bug hunt which ended with all tests passing and parrot running pleasingly quickly on the cygwin platform.

http://groups.google.com/groups?selm=a06100503bcbc137c9093@[10.0.1.3]

http://groups.google.com/groups?selm=3hdzmvl8344r$.1hkuxsnjge3es.dlg@40tude.net

http://groups.google.com/groups?selm=20040504135510.85073.qmail@web60801.mail.yahoo.com

http://groups.google.com/groups?selm=20040506162006.90350.qmail@web60806.mail.yahoo.com

http://groups.google.com/groups?selm=20040507160212.6232.qmail@web60802.mail.yahoo.com

http://groups.google.com/groups?selm=20040507161245.99916.qmail@web60810.mail.yahoo.com

NCI Nested struct access broken

Leo on chromatic tracked down a bug with accessing nested structs when using the Native Call Interface.

http://groups.google.com/groups?selm=rt-3.0.9-29333-86684.19.0522834728947@perl.org

Async IO notes

Dan dropped a few notes on how Parrot's asynchronous IO was going to work.

http://groups.google.com/groups?selm=a06100502bcbd6e4574bc@[172.24.18.98]

The linker TODO

In another of his TODO tasks for the interested, Dan asked for someone to tidy up the parrot link stages so that the various parrot libraries were rather less promiscuous about exporting symbols. The problem's not solved yet, but it's being worked on.

http://groups.google.com/groups?selm=a06100500bcbd3cf3e5d8@[10.0.1.3]

Towards a final events design

Dan's working on the design Parrot's event and IO system and he had a question about dealing with external events. Discussion ensued. Some of it related to Dan's question.

http://groups.google.com/groups?selm=a06100501bcbd45b4f30c@[10.0.1.3]

Return Continuations

Dan was about to implement the previously discussed return continuation register, but Leo argued that it should be done gradually and, I think, carried the day.

http://groups.google.com/groups?selm=a06100502bcbec5bb0498@[172.24.18.98]

NCI sub call syntax in PIR

Leo's rejigged IMCC so that making an NCI call is a little easier.

http://groups.google.com/groups?selm=4099E558.7090302@toetsch.at

Documentation on writing PMCs

Nicholas Clark asked after documentation on how to write a PMC. It turns out there isn't any in the distribution, but Mike Scott has some useful stuff on his Wiki. It seems that Real Men use the source. Hopefully this will change eventually (soon?).

http://groups.google.com/groups?selm=20040507160319.GF7052@plum.flirble.org

http://www.vendian.org/parrot/wiki/bin/view.cgi/Main/ParrotDiagramsPMC

Ponie's performing pants

Nicholas Clark reported that, now that ponie is using PMCs to handle Perl scalars, Ponie's performance is now 'pants'. It turned out to be a problem with Garbage Collection. The initial fix gave a massive performance increase, but there are still issues to address.

http://groups.google.com/groups?selm=20040507161600.GM7078@plum.flirble.org

Meanwhile, in perl6-language

Returning from rules

Larry ruled on Luke Palmer's rule return proposal. Essentially the proposal as it stood was rejected in favour of a possible new succeed keyword/macro.

http://groups.google.com/groups?selm=20040419070629.GA32185%luke@luqui.org

Required named parameters never go away do they?

Dov Wasserman chimed in on the subject of required named parameters. Larry was unconvinced by his proposal.

http://groups.google.com/groups?selm=20040504085308.43740.qmail@onion.perl.org

Specifying class interfaces with AUTOMETH

Austin Hastings had some questions about AUTOMETH and AUTOMETHDEF. It appears from Larry's answers that Austin had the wrong end of that particular stick.

http://groups.google.com/groups?selm=ICELKKFHGNOHCNCCCBKFEEEGCMAA.Austin_Hastings@Yahoo.com

Named parameters vs. slurpy hash syntax

Dov Wasserman worries that named parameters and slurpy hash arguments don't get on very well. Others disagreed.

http://groups.google.com/groups?selm=20040506023628.60840.qmail@onion.perl.org

is rw trait's effect on signature

Aaron Sherman pointed to an issue with the is rw trait and wondered if he was making a fool of himself. For some reason the responses turned into a discussion of the difference between 'isa' and 'does' relationships. In response to Aaron's question, Dan implied that Aaron was expecting rather too much to happen at compile time.

http://groups.google.com/groups?selm=1083865176.4985.88.camel@pps

Apologies, Announcements, Acknowledgements

If you find these summaries useful or enjoyable, please consider contributing to the Perl Foundation to help support the development of Perl. You might also like to send me feedback at mailto:pdcawley@bofh.org.uk

http://donate.perl-foundation.org/ -- The Perl Foundation

http://dev.perl.org/perl6/ -- Perl 6 Development site

Visit the home of the Perl programming language: Perl.org

Sponsored by

Monthly Archives

Powered by Movable Type 5.13-en