Speeding up object creation
Jonathan Worthington explains how the recent Perl 6 object creation speed improvements actually came about. In short, a combination of bug fixes in multi-dispatch cache, implementing some things that were planned but simply not implemented yet, a closer look at how the
BUILDALL method is generated, and a lot of speshialization fixes.
A future for
Bart Wiegmans describes his work on making it possible to use
fork() (again) in Perl 6 on the MoarVM backend on systems that support POSIX semantics. An impressive effort to make a heavily threaded system dance to the prerequisites that
Math::Matrix (part 4)
But even mathematics has its history and culture and for instance an
adjugate matrixcan also be called
classical adjointor sometimes
adjunct. In that case I went with adjugate because it’s a recently used term, it’s short and I sensed the least potential for ambiguity with other existing methods.
Robert Lemmen has another benchmark running based on monthly Rakudo compiler releases. Yours truly is looking forward to the results of the 2018.10 compiler release due in a few weeks. Meanwhile, there appears to be one benchmark he’s soliciting assistance on. Any takers?
My first Perl 6 program
bobthecimmerian describes how he created his first Perl 6 program in only a few days from having no experience with Perl 6 at all.
Having it both ways
Michael Stevenson has published an interesting article about the history of Perl titled “Having it both ways: Larry Wall, Perl and the technology and culture of the early web. This brings back memories for yours truly, but is also an interesting read for anybody who would like to know more about those early times of the Web (Twitter, Reddit comments).
A Perl 6 introduction for the curious
With a very understated tweet, Victor Borisov announced the availability of a Russian 80-page introduction to Perl 6 “for the curious”. Yours truly just loves it when Perl 6 related things appear on the web “out of nowhere”. It proves that Perl 6 is getting out of the echo chamber!
A Language Name Alias
Zoffix Znet posted a blog titled “A Request to Larry Wall to Create a Language Name Alias for Perl 6” in which he compiled his argumentation for the need of a marketing alias for Perl 6 (/r/perl, /r/perl6, /r/programmingcirclejerk, blogs.perl.org, and Twitter comments: 1, 2, 3, 4, 5. This excludes two extensive discussions on FaceBook that have unfortunately been removed by the original posters).
- Ticket status of past week.
- Bart Wiegmans fixed a problem in the JIT with regards to PHI nodes with labels.
- Jonathan Worthington fixed a problem in call optimization and a leak in spesh.
- Jeremy Studer reverted a problematic optimization for bit shift operations.
- Timo Paulsen made
CArrayreturn a container so you can assign to it.
- Elizabeth Mattijsen fixed an issue with type constrained hashes that wouldn’t correctly type check.
- And many other smaller fixes and improvements.
Meanwhile on Twitter
- Of course by JJ Merelo.
- On WSL by Joelle Maslak.
- Nice answer by brian d foy.
- That time of the month by JJ Merelo.
- Wanna win? by Zoffix Znet.
- Jealous of hardcover by brian d foy.
- Who told them? by Danny McClanahan.
- Command line editing broken by Broken Code Bot.
- October 2014 by Patrick Spek.
- Not true for Perl 6 yet by Joelle Maslak.
- Fun project by Timo Paulsen.
- Counting columns by Winfred Raj.
- Pod6 tutorial by Bart Ortiz.
- Submitted for LPW / FOSDEM by JJ Merelo.
- Perl 6 Rocks by Dr. B.Beaufils.
- What remains to be faster still by Jonathan Worthington.
- No Problem by JJ Merelo.
- Squashathon Over by JJ Merelo.
- Modules done right by Danny McClanahan.
- Encouraging news by brian d foy.
- Baroque knowledge by Stewart Russell.
?? !!tighter than assignment by こたつがめ.
Meanwhile on FaceBook
- 19% faster by Joelle Maslak.
- Best practices publishing Perl 6 modules by Helmut Wollmersdorfer.
- Your first programming language by Andrew Shitov.
- Perl 6 in production by Fritz Zaucker.
- A test-t recap by Wendy van Dijk.
- Looking back to 2006 by Andrew Shitov.
Questions about Perl 6
Although StackOverflow is probably the best place to ask specific questions about Perl 6, sometimes people ask them at other places such as Reddit as well. Yours truly will now put these together into a Questions about Perl 6 section from now on.
- Catching exception of a
shellcommand by Eugene Barsky.
- Why are the source file names not human readable? by Matthias Krull.
- Binding of private attributes:
:=by Vadim Belman.
- Why does command after if False produce an empty list in
REPL? by Eugene Barsky.
- Multiple components in an array slice – equivalent to perl5:
@a[0..1,3]by Richard J. Acton.
- Can you write Perl 6 scripts using an encoding that is not utf8? by JJ Merelo.
- Translating single quote using
transby JJ Merelo.
- Compiles to different targets by jsor.
- Generics, and associated type declarations by bobthecimmerian.
- Exporting regexes from grammars by JJ Merelo.
- Private attribute in class makes typed public attributes undefined by Ben Davies.
- Printing objects by Eugene Barsky.
Meanwhile on perl6-users
Although there have been a lot of Perl 6 questions of late on the perl6-users mailinglist, the format doesn’t lend itself to browsing for answers very well. So yours truly is keeping these separate, hoping for either a better place to view mail threads, or people moving to StackOverflow to ask their questions:
- What are the official names? by ToddAndMargo.
- Need doc help with
- A regex that tickles me by ToddAndMargo.
- Bitwise paper? by ToddAndMargo.
- Landing page for Documentation by Richard Hainsworth.
- Routine declaration line question by ToddAndMargo.
- Bitwise or? by ToddAndMargo.
- Thank you by Todd Chester.
- Flatten? by ToddAndMargo.
- What is the syntax of a reference pointer in Perl 6? by ToddAndMargo.
ctrl-j? by ToddAndMargo.
- Websearches on “perl6” by Joseph Brenner.
slurpso many? by ToddAndMargo.
- How do I address bytes in a
Buf/binary variable? by ToddAndMargo.
Perl 6 in comments
- BOM with new insights by Merijn H. Brand.
- Refreshing to hear interest in Perl by Ralph Mellor.
- Game library? by Alihusejn.
- Perl 6? by wean_irdeh.
- Increasing speed by Daniel.
- Why I love using Perl 6 by mclehman.
- Bag eqv Bag by Elizabeth Mattijsen.
- Sigils make it easier by Ralph Mellor.
Perl 6 Modules
- WriteOnceHash, Map::Agnostic, Map::Ordered by Elizabeth Mattijsen.
- DB::Migration::Simple by Matthias Bloch.
- SDL2 by Ahmad M. Zawawi.
- Oddmuse by Alex Schroeder.
- File::XML::DMARC::Google, File::Zip by Patrick Spek.
- JSON::Schema by Jonathan Worthington.
- Terminal::Spinners by ryn1x.
- App::Mi6, App::Platform by Shoichi Kaji.
- Getopt::Advance by araraloren.
- P5getpriority, Hash::Agnostic by Elizabeth Mattijsen.
- Sparrowdo::VSTS::YAML::Cordova, Sparrowdo::VSTS::YAML::Build::Assembly::Patch by Alexey Melezhik.
- PDF::Class by David Warring.
- SDL2::Raw by Timo Paulsen.
- App::Tasks by Joelle Maslak.
Again, a busy week with a lot happening. Please check in again next week for more Perl 6 news!