Re: Perl 6 - I hope it won't take a decade
by dragonchild (Archbishop) on Jan 18, 2006 at 15:04 UTC
|
There's at least three separate and (somewhat) unrelated projects going on here, all under the banner of "Perl6".
- The design of the Perl6 language
This is taking place primarily on perl6-language and Freenode#perl6 and is probably going to take about another year to fully complete. The vast majority of the language has been specced out and you can use a lot of it right now in Perl5.
- Pugs
This is the testbed for Perl6 language design. It's the place that two very important things are taking place:
- Language features are being tested
- Tests are being written for language features
The goal is that the test suite written for Pugs will be test suite for Perl6. That's a huge development effort that needs to happen that's happening right now.
Another rather neat side-effect of Pugs is that multiple VMs are targetable by Pugs, including Parrot. This is demonstrating a rather interesting feature of separating language from implementation which no Perl version has ever had.
- Parrot
Parrot is the primary VM target for Perl6. This is probably going to take at least another 2-3 years for a stable Parrot to come out. But, it's arguably the most ambitious F/OSS project ever undertaken. The idea that a group of (mostly) volunteers can create a VM that will be able to run nearly every language ever designed on nearly any OS ever deployed and do so with good performance characteristics is still being laughed at. Yet, it's becoming a reality. Ten years for something like that isn't too long to wait, imho.
Did I forget to mention that you will be able to run a program in one language and use libraries from another, so long as all the languages run on Parrot? That smells like a .Net killer, to me ...
- PGE
The Perl Grammar Engine. This is what will let you redefine Perl6 syntax within a given scope. This should take about another year or so. (It would go quicker if Patrick didn't have to write it in PIR, which is a glorified assembly language.)
Personally, the most interesting aspect of this is taking the ideas generated on P6l and port them to Perl5. There's a ton of things that can be brought over to making our lives easier.
My criteria for good software:
- Does it work?
- Can someone else come in, make a change, and be reasonably certain no bugs were introduced?
| [reply] |
|
|
Me too. If it's any comfort, just think of the design of Perl 6 as
a genetic algorithm running on a set of distributed wetware CPUs.
We'll just keep mutating our ideas till they prove themselves adaptive
+.
- Larry Wall in p6l, "Re: Adding linear interpolation to an array"
It may seem sucidal at first sight to keep the doors open to further enhancements and changes in the basic syntax and semantics while there's an implementation being written -albeit an "unofficial" one-, but so far there's not been evidence of any major issue related to this. So I'm very positive about future developements! | [reply] [d/l] |
|
|
| [reply] [d/l] |
|
|
Anything that explicitly uses a Perl6-like syntax tends to live there. However, not everything that's been inspired by Perl6 is in the Perl6 TLN. For example, in Re: Using perl 6 roles in perl 5, I list four different implementations of roles in P5. Even though I wrote Perl6::Roles, it's arguable that Class::Trait (written by stvn and maintained by ovid) is going to be closer to the final P6 roles than my implementation (even though half the tests for mine were written by stvn).
This is most true in the OO-space. Since the OO metamodel for P6 is still being designed (in large part by stvn), the P5 playthings for this aren't in the Perl6 TLN. They're primarily in the Class TLN. Look for distros written by Luke Palmer and Stevan Little, among others.
My criteria for good software:
- Does it work?
- Can someone else come in, make a change, and be reasonably certain no bugs were introduced?
| [reply] |
|
|
The Perl Grammar Engine. This is what will let you redefine Perl6 syntax within a given scope. This should take about another year or so. (It would go quicker if Patrick didn't have to write it in PIR, which is a glorified assembly language.)
Are you serious? About the PIR bit? Also I did a search on PGE and didnt get a lot of useful hits on google (I have terrible google-fu tho), I'd like to look into this to see if I feel up to contributing, but I have to admit I dont see anything I can start with. Where can I get an overview of the status and design of PGE?
---
$world=~s/war/peace/g
| [reply] |
|
|
| [reply] |
|
|
|
|
|
|
|
|
|
|
|
|
| [reply] [d/l] |
Re: Perl 6 - I hope it won't take a decade
by blazar (Canon) on Jan 18, 2006 at 14:44 UTC
|
It's been more than five years since the project started. A long time indeed. Between then and now, many world events have taken place: the Asian tsunami, the London bombing, the 2004 Olympics, the emergence of blogsphere, AJAX, etc, etc.
A good and relatively new starting point to learn more: http://planetsix.perl.org.
I hope the team is not aiming for a perfect language, because that'll take too long to attain or is simply unattainable.
No, that's Perl 7. Perl 6 is being designed as a development basis for it, thought to evolve naturally into it...
I know there's Pugs, but until an official implementation is launched, Perl 6 is still vapourware.
The future of Pugs is uncertain, and not necessarily in a negative acceptation of the term. AIUI, now it is indeed an unofficial implementation, but even if it is optimized for fun, it is a concrete basis for Perl 6.
And thanks to Pugs Perl 6 is here today. It's only a
$ sudo apt-get install pugs
or
$ sudo prt-get depinst p6-pugs
away, to anonymously name two osen/distros I'm somewhat familiar with: YMMV, but not too much!
Would it be too much to be hope for a first release by the end of 2006?
For 6.0?!? AFAICT, yes, it would be too much. But then what I can tell is not much. No big harm done, as I wrote and most of us already know, Perl 6 is Here Today. | [reply] [d/l] [select] |
Re: Perl 6 - I hope it won't take a decade
by john_oshea (Priest) on Jan 18, 2006 at 14:09 UTC
|
I may be misreading your comments, but your tone implies a degree of dissatisfaction with the Perl 6 development process. I'm wondering why exactly?
- You've invested a lot of money / time in the Perl 6 development process and you think the Perl 6 development team are a bunch of stoopid good-for-nothing slackers?
- There is something that only Perl 6 can do, and your income / well-being / success with your gender of choice depends solely on a pre-2007 release? Of a programming language, no less...
- You are, in fact, Larry Wall and feel like having an anonymous whinge?
- ...something else?
| [reply] |
|
|
I remember this incident...
Jon showed up to the meeting late and found us talking about the community and started throwing things to express his discontent with how perl itself was stagnating, possibly even
dying, and that we should be talking about reviving Perl.
I believe in momentum. If it takes too long, it will wear down the very people working on it and diminish the interest and expectations of those eagerly awaiting its release.
| [reply] |
|
|
| [reply] [d/l] |
|
|
|
|
|
|
|
|
|
|
|
I believe in momentum. If it takes too long, it will wear down the very people working on it and diminish the interest and expectations of those eagerly awaiting its reease.
I believe in FSM. "And the earth brought forth grass, and herb yielding seed (...) and camels and parrots and finally a creature called Perl 6!"
Now, it happens that in recent times FSM gave me a sign: evidence is that people is not being worn down and that on the contrary we're living a period of renewed interest and intense development that doesn't give the slightest sign of slowing down. That's since Pugs appeared...
Update: s/FMS/FSM/ as per Nude Reaper's remark - in case you wonder, even though it was repeated twice, it was a typo, of course.
| [reply] [d/l] |
|
|
Re: Perl 6 - I hope it won't take a decade
by zentara (Cardinal) on Jan 18, 2006 at 14:32 UTC
|
The most beautiful flowers usually take the longest to blossom.
I'm not really a human, but I play one on earth.
flash japh
| [reply] |
|
|
| [reply] [d/l] |
|
|
I thought it was a pretty good analogy myself. I was talking about beautiful flowers as the first criteria, not length of time. Your example uses length of time as first criteria, and I have to agree that if Perl6 takes 200 years to blossom, it will probably smell bad. :-)
I'm not really a human, but I play one on earth.
flash japh
| [reply] |
|
|
| [reply] |
Re: Perl 6 - I hope it won't take a decade
by jesuashok (Curate) on Jan 18, 2006 at 13:51 UTC
|
Hi
Please go through the belo link which will summarise some important details about perl 6
http://dev.perl.org/perl6/list-summaries/2006/p6summary.2006-01-11.html
"Keep pouring your ideas"
| [reply] |
Re: Perl 6 - I hope it won't take a decade
by TomDLux (Vicar) on Jan 20, 2006 at 17:22 UTC
|
Yes, it would be to much to hope for.
--
TTTATCGGTCGTTATATAGATGTTTGCA
| [reply] |