Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Jim Cochrane
May 2, 2008, 7:40 am
rate this thread
It sounds to me like one could think of perl 6 as a different language
(which happens to have a very similar name) than perl 5, but with features
(described above) for compatibility with this other language (perl 5).
So perhaps it's helpful to think of p6 as a different language altogether,
designed in such a way as to be easily learnable by perl 5 programmers,
but whose design is better (especially in making it easier to use OO
features) than perl 5. In other words, switching to p6 would be a
language change (not a language/compiler/version upgrade) - similar to
switching from C++ to Java, although the difference would not be as large.
That's how I'm currently thinking of it, anyway.
Why would people want to make that change? Well, perhaps for similar
reasons that many people/organizations switched from C++ to Java?
(E.g., better productivity, maintainability, etc.)
Re: Will Perl 6 be usable as a procedure language?
I'm not sure I have a choice. Development of my OS goes at a fearsome pace,
and if I wait too long, I will end up with an orphaned system. Soon or
later the OS will move to Perl 6. And sooner or later I will have to
upgrade to maintain the ability to install applications (easily). Meanwhile
I have tons of stuff in Perl (much of it original to avoid OO modules).
If Perl 6 will lock me in to OO, then I need to start rewriting the perl in
shell scripts (sed, awk, etc.) now.
Lars Eighner <http://larseighner.com/ firstname.lastname@example.org
Countdown: 263 days to go.
Rakudo (was: Will Perl 6 be usable as a procedure language?)
For now it's only the name of an interpreter, not the name of the
language, AFAIK. But speaking of Rakudo: Has anyone had success actually
using it? parrot-0.6.1 compiles on my machine but fails some tests, and
even for very simple scripts (such as trying to access the elements of an
array in a loop) it either complains that something unimplemented or
crashes with a segfault.