Re: Announce: Rakudo Star 2010.12 released
Out of curiosity, is it possible to get Rakukdo to talk to C, C++ or Fortran? On Thu, Dec 30, 2010 at 8:04 PM, Patrick R. Michaud pmich...@pobox.com wrote: On behalf of the Rakudo and Perl 6 development teams, I'm happy to announce the December 2010 release of Rakudo Star, a useful and usable distribution of Perl 6. The tarball for the December 2010 release is available from http://github.com/rakudo/star/downloads. Rakudo Star is aimed at early adopters of Perl 6. We know that it still has some bugs, it is far slower than it ought to be, and there are some advanced pieces of the Perl 6 language specification that aren't implemented yet. But Rakudo Perl 6 in its current form is also proving to be viable (and fun) for developing applications and exploring a great new language. These Star releases are intended to make Perl 6 more widely available to programmers, grow the Perl 6 codebase, and gain additional end-user feedback about the Perl 6 language and Rakudo's implementation of it. In the Perl 6 world, we make a distinction between the language (Perl 6) and specific implementations of the language such as Rakudo Perl. The December 2010 Star release includes release #36 of the Rakudo Perl 6 compiler [1], version 2.11.0 of the Parrot Virtual Machine [2], and various modules, documentation, and other resources collected from the Perl 6 community. This release of Rakudo Star adds the following features over the previous Star release: * New .trans algorithm * Configuration improvements * More bug fixes There are some key features of Perl 6 that Rakudo Star does not yet handle appropriately, although they will appear in upcoming releases. Thus, we do not consider Rakudo Star to be a Perl 6.0.0 or 1.0 release. Some of the not-quite-there features include: * nested package definitions * binary objects, native types, pack and unpack * typed arrays * macros * state variables * threads and concurrency * Unicode strings at levels other than codepoints * pre and post constraints, and some other phasers * interactive readline that understands Unicode * backslash escapes in regex [...] character classes * non-blocking I/O * most of Synopsis 9 * perl6doc or pod manipulation tools In many places we've tried to make Rakudo smart enough to inform the programmer that a given feature isn't implemented, but there are many that we've missed. Bug reports about missing and broken features are welcomed at rakudo...@perl.org. See http://perl6.org/ for links to much more information about Perl 6, including documentation, example code, tutorials, reference materials, specification documents, and other supporting resources. An updated draft of a Perl 6 book is available as docs/UsingPerl6-draft.pdf in the release tarball. The development team thanks all of the contributors and sponsors for making Rakudo Star possible. If you would like to contribute, see http://rakudo.org/how-to-help, ask on the perl6-compi...@perl.org mailing list, or join us on IRC #perl6 on freenode. Starting with the January 2011 release, Rakudo Star releases will be created on a three-month cycle, or as needed in response to important bug fixes or improvements. The next planned release of Rakudo Star will be on January 25, 2011. [1] http://github.com/rakudo/rakudo [2] http://parrot.org/ -- No trees were destroyed in the generation of this email, but a large number of electrons were severely inconvenienced.
Re: Announce: Rakudo Star 2010.12 released
On 12/31/2010 03:31 PM, Daniel Carrera wrote: Out of curiosity, is it possible to get Rakukdo to talk to C, C++ or Fortran? For C, see https://github.com/jnthn/zavolaj Fortran uses the same calling conventions, albeit with weird name mangling rules that depend on the compiler. So you can use Zavolaj for Fortran too, if you're ready to suffer. Cheers, Moritz
Re: Questions for Survey about Perl
On Tue, Dec 28, 2010 at 23:02, Gabor Szabo szab...@gmail.com wrote: We will have questions about usage of Perl 5 and we think there should be also questions about Perl 6. Should Perl 6 be called something else? * No * Yes, not sure what * Yes, [] Maybe a question on perceived benefits for an alternative name. (It's quite apparent this is a very different language at the very least syntactically I'm inclined to join others I've read in saying Yes) Paul
Re: Questions for Survey about Perl
On Fri, Dec 31, 2010 at 7:17 PM, Paul Makepeace pa...@paulm.com wrote: On Tue, Dec 28, 2010 at 23:02, Gabor Szabo szab...@gmail.com wrote: We will have questions about usage of Perl 5 and we think there should be also questions about Perl 6. Should Perl 6 be called something else? * No * Yes, not sure what * Yes, [] Maybe a question on perceived benefits for an alternative name. (It's quite apparent this is a very different language at the very least syntactically I'm inclined to join others I've read in saying Yes) That would suggest that Larry Wall is soliciting ideas for a name change, which is not the case. I would not that it is not unheard of for a language to change significantly but keep the name. If you look Fortran 2008 (just to pick an example I'm familiar with) it looks *nothing* like FORTRAN II. I'm no expert, but I believe KR's original C language was noticeably different from C99. For amusement, below I include the same program in FORTRAN II and Fortran 90. The program uses Heron's formula for finding the area of a triangle (http://en.wikipedia.org/wiki/Heron's_formula): 1) FORTRAN II (note that all the indentations are significant!!!) C READ FROM CARD READER UNIT 5 READ INPUT TAPE 5, 501, IA, IB, IC 501 FORMAT (3I5) C COMPUTE AREA 799 S = FLOATF (IA + IB + IC) / 2.0 AREA = SQRT( S * (S - FLOATF(IA)) * (S - FLOATF(IB)) * + (S - FLOATF(IC))) C OUTPUT TO LINE PRINTER UNIT 6 WRITE OUTPUT TAPE 6, 601, IA, IB, IC, AREA 601 FORMAT (4H A= ,I5,5H B= ,I5,5H C= ,I5,8H AREA= ,F10.2, +13H SQUARE UNITS) STOP END 2) Fortran 90: program heron integer :: a,b,c real :: s, area ! Read from stdin. read (*,*) a,b,c ! Compute the area. s = ( a + b + c)/2 area = sqrt( s * (s-a) * (s-b) * (s-c) ) write (*,*) a,b,c,area end program -- No trees were destroyed in the generation of this email, but a large number of electrons were severely inconvenienced.
Re: Questions for Survey about Perl
In-Reply-To: Message from Daniel Carrera dcarr...@gmail.com of Fri, 31 Dec 2010 20:20:33 +0100. For amusement, below I include the same program in FORTRAN II and Fortran 90. That was delightful -- thanks! --tom
Re: Questions for Survey about Perl
On Sat, Jan 1, 2011 at 1:26 AM, Chas. Owens chas.ow...@gmail.com wrote: On Wed, Dec 29, 2010 at 21:39, Xue, Brian brian@amd.com wrote: I want to adding one more answer about what are people waiting for before they start using Perl 6. There hasn't an official release of PERL6.0, just Rakudo. I'm afraid of Rakudo is cancelled, I don't want to make my product based on an uncertainty matter. snip This shows a fundamental misunderstanding of what Perl 6 is. As far as I know there will never be a release of Perl 6.0 (it definitely won't be PERL6.0). Perl 6 is a specification and a set of tests. Any program that can pass the test suite and conforms to the specification IS a Perl 6. Right now the program that passes the most tests and conforms most closely to the specification is Rakudo. But Xue still has a valid point that even the Perl 6 spec doesn't exist yet. -- No trees were destroyed in the generation of this email, but a large number of electrons were severely inconvenienced.
Re: Questions for Survey about Perl
On 01/01/11 03:41, Daniel Carrera wrote: On Sat, Jan 1, 2011 at 1:26 AM, Chas. Owenschas.ow...@gmail.com wrote: On Wed, Dec 29, 2010 at 21:39, Xue, Brianbrian@amd.com wrote: I want to adding one more answer about what are people waiting for before they start using Perl 6. There hasn't an official release of PERL6.0, just Rakudo. I'm afraid of Rakudo is cancelled, I don't want to make my product based on an uncertainty matter. snip This shows a fundamental misunderstanding of what Perl 6 is. As far as I know there will never be a release of Perl 6.0 (it definitely won't be PERL6.0). Perl 6 is a specification and a set of tests. Any program that can pass the test suite and conforms to the specification IS a Perl 6. Right now the program that passes the most tests and conforms most closely to the specification is Rakudo. But Xue still has a valid point that even the Perl 6 spec doesn't exist yet. Moreover, a survey should be testing perceptions, even if the perceptions contradict what some feel are facts. It sometimes pays to be agnostic about what can be counted as a fact to learn how other people think. Eg., in the real world there are those who perceive as fact the timeline of the history of life as set out in the Old Testament of the Bible, and there are those that look to other mechanisms for testing timeline theories, such as a the geological record. Dont want to start a religious war, just wanting to indicate that a survey can be useful if worded in a value-free manner.