8 ms·
Perl 5 + Perl 6 = Perl 11
- ronreiter 13y agoperl, please die()
- gamache 13y agoAh, go eat a bag of barewords.
- adamnemecek 13y agoThe name made me think that it was some subtle satire but judging by the github repo it seems real.
- darkchasma 13y agoSince it'll take over 20 years to go from perl 5 to perl 6, I'm sure they're safe using 11.
- adamnemecek 13y agoI'm not really concerned about name clashes more about the fact that it's a pretty confusing and illogical name.
- kamaal 13y agoI think Perl 6, especially Rakudo is aiming for a production release couple of years from now. Having said that it would be pointless to go simply rewrite existing Perl 5 code to Perl 6. A good deal of Perl 5 libraries will be ported to Perl 6. And then Perl 6 will be well suited for a lot of big projects. Perl 6 has a very nice type system, packed with all the goodies of a enterprise object oriented language,it has powerful functional programming features, and with all that it stays true to its scripting roots. The right way to look at it is, Perl 5 and 6 will co exist for much of their individual lifetimes.
- collyw 13y agoWhere do you get the information about aiming for release in a couple of years? I gave up trying to find out a while ago.
- sharyanto 13y agoProbably from raiph. I saw that he mentioned that several times on Reddit. Also see the comments on my blog post: http://blogs.perl.org/users/steven_haryanto/2013/03/dont-wait-for-perl-6-to-build-your-product-on.html http://blogs.perl.org/users/steven_haryanto/2013/03/dont-wai... (18 months).
- signed0 13y agoAh, they are using the Winamp versioning system.
- fennecfoxen 13y agoNext step: Nullsoft-esque llama jokes about Llarry Wall. (see also: http://books.google.com/books/about/Learning_Perl.html?id=va1PSgaO4xIC http://books.google.com/books/about/Learning_Perl.html?id=va... )
- thejosh 13y agoSome say that Perl really whips the llamas ass.
- brokenparser 13y agoPerl. It really whips the camel's ass. FTFY
- kbd 13y agoUpvoted for the lulz. This is ridiculous.
- emiliobumachar 13y agoIf this survives until perl actually reaches version 11...
- mden 13y agoI thought Perl was stuck at 5.x since they can't use 6?
- Moto7451 13y agoIt's analogous to Python 2/3 except Perl 6 has lacked the progress to allow Perl to live in a two branch world. It kinda sucks from a PR standpoint since Perl 5 has been under active development the entire time and had been importing a lot of the good ideas from Perl 6.
- rhubarbquid 13y agoWhat do you mean "can't use 6"? Perl 6 is using 6...
- latk 13y agoThe parent post meant: “The Perl5 language can never increment its major version to 6, as the Perl6 name is already taken” – which is silly, as Perl5 is currently at version 18.
- Sheepshow 13y agoCool, I look forward to the next version (17) and the one after that too (28). This is the first Fibonacci version number scheme I've seen, maybe in the spirit of how TeX keeps adding digits of pi.
- telephonetemp 13y agoNot really a Fibonacci version number system since v(n + 1) = v(n) + n + 5, v(-1) = 0. It doesn't depend on v(n - 1), so while it's a recurrence relation it isn't a Fibonacci-type sequence. The next version should be 5 + 6 + 7 = 18, not 17.
- mden 13y agov(0) = 5 v(1) = 6 v(2) = 11 v(3) = v(1) + v(2) = 17 In general sequences, especially short ones, can have many ways to be generated, but I imagine this is the one the GP meant.
- telephonetemp 13y agoAh, I see. Unfortunately, this seems to imply that after the present version the project will stop incorporating new mainline releases of Perl (Perl 7 and on) and will instead focus on recombining the previous releases of itself.
- collyw 13y agowith the time that Perl 6 is taking, I think the may have ended before Perl 7
- DrJokepu 13y agoWinamp 5 came after Winamp 3, which came after Winamp 2. Wow, Winamp.
- deleted 13y ago[deleted]
- logicallee 13y agoyes, but keep in mind that Perl 11 could also just end up being Perl 4 + Perl 4 + Perl 3
- claudius 13y agoIs Perl 4 + Perl 4 a way to achieve threading/parallel code execution?
- ginko 13y agoI recently was looking for something like this for Python so I could use Python 2 modules in Python 3.
- pekk 13y agoWhat modules? Your idea is probably the wrong way to approach the problem. You could look at execnet if you just need to run hopelessly old unmaintained stuff that you can't push to get ported.
- davvid 13y agoThere are mountains of Python 2.x code (particularly inside companies) that are well-maintained and have no plans to port to Python 3 at the moment. My approach has generally been to make the code compatible across 2 and 3, though it requires great vigilance.
- zeckalpha 13y agoYeah this is the approach I try to take, too. Is there a good write up on the intersection of 2 and 3? I mean more than "Here's some things to look out for when you are writing for both." I mean more along the lines of the Python standard documentation, but excluding all of the incompatibilities.
- sp332 13y agoThis is sort of the opposite of what you asked for: it's the list of all "fixers" that the 2to3 program will attempt to automatically fix when converting from 2 to 3. http://docs.python.org/2/library/2to3.html#to3-fixers http://docs.python.org/2/library/2to3.html#to3-fixers If you avoid any issues not on the list, you'll have a higher chance of 2to3 being successful.
- ginko 13y agoGoogle Protocol Buffers. I want to use those for exporting scene information from Blender. Blender uses Python 3 for scripting and the protobuf code generator and libraries only support Python 2.x. The same for Apache Thrift. Both are very well maintained, they are just not planning to move to Py3 any time soon.
- zokier 13y agoDo I understand correctly, the point here being to allow perl5 and perl6 code to interoperate? The page is bit low on details how this will affect endusers.
- kanatohodets 13y agoIt's a list of projects all loosely oriented around untying Perl 5 the language from perl the runtime. Perl 6 has already done this, with several (Parrot, JVM, Mono/.NET) VMs currently working fairly successfully, if a tad slowly still. Personally I'm most excited about perlito (which features perl 5 compiled to javascript, among other things) and p2, which promises to be a super-speedy rendition of Perl 5 based on why the lucky stiff's last public project, the Potion language/VM. The idea, as I understand it, is that if both Perl 5 and Perl 6 are running on the same VM, they can share library code on the level of that VM's bytecode. All of that said, perl the runtime remains actively maintained and improved. End Perl users are just going to have some choices, much as Ruby users have had for a while (JRuby vs MRI, for example).
- deleted 13y ago[deleted]
- vacri 13y agoFirst project on the Perl 11 page is p2. Perl may be great at manipulating text, but it looks like it's awful at manipulating numbers.
- rurban 13y agop2 because of perl11: 1+1=2 And 2 as the next perl, because it should solve the p5 problem, being not extendable and improvable. And the p6 vm problem being not fast enough, and being tied to inadequate vm's and mops. This is the idea at least.
- vacri 13y agoI did get all that, I was just commenting on the crazy numbering scheme. It's just as silly as the third XBox being called the XBox One. Even though it's a perl project and not perl itself, making it sound like version numbers can only serve to confuse things further, when Perl is already suffering problems from version numbers.
- rurban 13y agoYes, the crazy numbering numbering scheme is an inside joke. First we had the endless perl7 discussion just skipping over 6 and show some artifical progress in 5. Next came the moe folks (p5-mop in a new vm) who registered perl8.org as domain pointing to scala. Then came Ingy with the 5+6=11 idea.
- pasbesoin 13y agoI thought we'd already done Perl three. Waiting on Perl100... And maybe I'll even be able to run something under Perl101. And some people still claim we're stuck at Perl10... P.S. I love Perl. Above said with affection.
- kanatohodets 13y agoJudging by the ample supply of version number rimshots, some clarification might be helpful: this isn't a Perl release, nor is it a new Perl version. It's the name of a general project in the Perl community to try to decouple Perl 5 the language from perl the runtime, and hopefully achieve interoperability between Perl 5 and Perl 6 code in the process. Perl 5 and 6 are distinct languages in the same family, much like (for example) Common Lisp vs Racket Scheme, which is why interop is an interesting and worthwhile goal. There are some really cool things happening in the specific projects on the linked page, if you're into compilers and VMs.
- theOnliest 13y agoIt would be nice if it actually said this on the page. I had to poke around for several minutes to figure out what this project actually was, and I'm a Perl person myself.
- chubot 13y agoI'm not sure I get the motivation. Isn't Perl a Unix-y language? You can get "interop" by using pipes or other IPC. This seems like a heavy, Java-esque solution. 50 lines of Perl does a lot, let alone 1000. Not sure I want to see 20,000 lines of mixed Perl 5 and Perl 6.
- kanatohodets 13y agoWell, the goal is to make sure that the plentiful modules on the CPAN (all in Perl 5) are usable for everybody involved. You're right, directly mixing Perl 5 and Perl 6 isn't likely to be a common usage - at least, doesn't seem that way to me.
- rurban 13y agoThe p2 goal is to use as much non-conflicting p6 syntax within p5, and mark conflicting parts in special lexically scoped syntax blocks. But data and methods should be shared, the ast, compiler, vm, threads and event model ditto. Syntax blocks also allow easier ffi and sql interaction, { use syntax "C"; c declarations ... } being a nice FFI language, compared to "extern { c decls; ... }", which is also nice. We want to use efficient signatures, methods, classes, tasks, coros, promises, hyper operators, types, lazy lists and so in perl, regardless if you call it p5, p6 or p2.
- debacle 13y agoAnyone else in Perl 5 land, having tried Perl 6, just not that interested? Seems like a lot of trendy changes that weren't needed to the language. There are some great changes (especially in the OO realm), but also a lot of weak ones.
- kamaal 13y agoIts like a trade off. While OO interests you a lot, there are a good deal of people who like functional stuff. Some people like both(See scala popularity these days). Some people want all of that with strong scripting support. The design of Perl 6 is to ensure you can incrementally evolve the language to be whatever the trends are at that time.
- debacle 13y agoOh, I like the functional stuff too, but the regex changes and grammars and some of the operator overloading - I feel like I'm getting to a point with the functionality where Perl's syntax will start to get in the way, which is not the point of the language.
- arnsholt 13y agoWhat happens in other parts of the code doesn't have the same impact on your code it does in Perl 5, though. In Perl 5 it's very easy to globally change the behaviour of code, while in Perl 6 it's a lot since harder since almost everything is lexically scoped.
- collyw 13y agoI think Perl 5´s syntax got in the road too much for some people.
- awwaiid 13y agoWell a lot of the normal stuff is still normal. But that's no fun to show off, so instead lots of Perl6 examples are full of edge cases. When I translated small examples from Perl5 to Perl6 I found them to be pretty similar, though with more obvious OO and cleaning some of the array/hashref sigils visuals.
- drakaal 13y agoShould be like Raid. 5+6 = 56.