NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
Extensions (Score:3, Interesting)
Re:Extensions (Score:1)
Re:Extensions (Score:1)
I think it needs to be addressed in the Perl 6 design and not just left to the geeks in the trenches.
-sam
Re:Extensions (Score:1)
Re:Extensions (Score:1)
-sam
Re:Extensions (Score:1)
Reply to This
Parent
Re:Extensions (Score:2, Informative)
It's possible to build "plain" Perl 5 modules too, but who would want to? XS exists to make programming Perl 5 modules in C easier. Is there good reason to think that Perl 6 won't need something similar?
-sam
Re:Extensions (Score:2, Interesting)
Don't forget that the same standard also needs to be there for any other language hosted on Parrot--a C extension should look the same for Perl as it does for Ruby, Python, Scheme, or BASIC. That puts the responsibility of how it looks and works on the shoulders of the Parrot folks, not the Perl language design folks.
Re:Extensions (Score:1)
Is there a design spec that can back up this statement? I've heard this said before but I fear that simply wishing won't make it so. In particular, I wonder if the register architecture will be difficult to manipulate at a low level. Stack machines have their faults but they do generally win in accessibility.
Re:Extensions (Score:1)
As for perl special stuff at the XS level... there isn't much. In fact, there's almost nothing at all. (I'd say nothing, as I can't think of anything perl specific, but there may be something small that I'm missing) Variables, stashes, calling conventions, methods, and all that stuff are la
Re:Extensions (Score:1)
-sam
Re:Extensions (Score:2, Interesting)
Should have a preliminary spec within a week, I think.