programming-idioms icon indicating copy to clipboard operation
programming-idioms copied to clipboard

Add language Raku (Perl 6)

Open ghost opened this issue 6 years ago • 6 comments

  • http://perl6.org
  • http://rosettacode.org/wiki/Category:Perl_6

ghost avatar Jun 16 '19 13:06 ghost

It is now called Raku, but yes, that sounds great!

AlexDaniel avatar Apr 29 '20 23:04 AlexDaniel

now http://raku.org/

coke avatar Apr 30 '20 02:04 coke

fwiw I am totally against including raku on this area

librasteve avatar Jan 17 '23 22:01 librasteve

Thanks @p6steve, what's wrong about including Raku?

Deleplace avatar Jan 18 '23 09:01 Deleplace

I refuse to join any club that would have me as a member.

Groucho Marx

librasteve avatar Jan 18 '23 10:01 librasteve

I'm not much of an advocate, but I think there are good reasons for inclusion. First, it's not similar to any of the supported languages. Raku's only common thing with PERL is the community - that's an exaggeration, but not by much. There are some syntactic and semantic similarities, but they're of "spiritual successor" level at most. Second, Raku includes a breadth of language features that is unmatched by anything, save for maybe Oz or Racket (if taken to the extreme with all the #langs available as packages). Despite this, it manages to stay practical, which is nice, but more importantly, its idiomatic ways of doing things are very often completely unlike that of any other language. In other words, including Raku will directly make PI more interesting to read :)

There's a FAQ entry with a list of interesting features of the language: link

To be fair: the community is dedicated but not very large. You'll find that some things from language spec are not yet implemented or, sometimes, implemented but not optimized enough to be of actual use. The "batteries included" stdlib has a few batteries missing, and the number of community packages is obviously way lower than in Python or JS ecosystems. Some things are still being designed, for example, syntactic macros. Some others are rough around the edges or un(der)documented, like the nqp IR-like thing in the Rakudo compiler. All this is normal for younger languages, though, including the big ones in their youth.

In any case: my vote is in favor of Raku on this if that's worth anything :)

piotrklibert avatar Jan 18 '23 12:01 piotrklibert