PageRenderTime 51ms CodeModel.GetById 19ms RepoModel.GetById 0ms app.codeStats 0ms

/docs/announce/2017.04.md

https://github.com/wayland/rakudo
Markdown | 261 lines | 239 code | 22 blank | 0 comment | 0 complexity | b148d31034a2190957b3ab6db5345067 MD5 | raw file
Possible License(s): AGPL-3.0
  1. # Announce: Rakudo Perl 6 compiler, Release #110 (2017.04)
  2. On behalf of the Rakudo development team, Im very happy to announce the
  3. April 2017 release of Rakudo Perl 6 #110. Rakudo is an implementation of
  4. Perl 6 on the Moar Virtual Machine[^1].
  5. This release implements the 6.c version of the Perl 6 specifications.
  6. It includes bugfixes and optimizations on top of
  7. the 2015.12 release of Rakudo, but no new features.
  8. Upcoming releases in 2017 will include new functionality that is not
  9. part of the 6.c specification, available with a lexically scoped
  10. pragma. Our goal is to ensure that anything that is tested as part of the
  11. 6.c specification will continue to work unchanged. There may be incremental
  12. spec releases this year as well.
  13. The tarball for this release is available from <http://rakudo.org/downloads/rakudo/>.
  14. Please note: This announcement is not for the Rakudo Star
  15. distribution[^2] --- its announcing a new release of the compiler
  16. only. For the latest Rakudo Star release, see
  17. <http://rakudo.org/downloads/star/>.
  18. The changes in this release are outlined below:
  19. New in 2017.04:
  20. + SPECIAL NOTES:
  21. + There are two Upgrade Notifications for this release:
  22. - Part 1: http://rakudo.org/2017/04/02/upgrade
  23. - Part 2: http://rakudo.org/2017/04/03/part-2
  24. - Part 3: http://rakudo.org/2017/04/17/final-notes
  25. + Changes for Texas operators listed in this release also apply to their
  26. fancy Unicode alternatives. https://docs.perl6.org/language/unicode_texas.html
  27. + Fixes:
  28. + Fixed infinite loop due to wrong args in many Cool methods [8c88b0c]
  29. + Fixed failure to distinguish rw args in Capture.WHICH [4605d52]
  30. + Fixed regression in .rotor with negative gaps [5917b81]
  31. + Fixed a 1-arg-no-phasers path in .map stopping after 1 value [86dc997]
  32. + Fixed containerization issues in listinfix metaops [16f950b]
  33. + Fixed Inline::Perl5 detection in t/harness6 [b15cd20]
  34. + Fixed incorrect number of tests run in t/harness6 [8766370]
  35. + Fixed t/harness5 incorrectly failing NOTESTS runs [f28c515]
  36. + Fixed crash in S/// and s/// for some combinations of adverbs [43e0902]
  37. + Fixed crash when doing EVAL from multiple threads [218f8c4]
  38. + Fixed errors in concatenations of Hangul script with \r\n in it [a123eb3]
  39. + Fixed case insensitive string compare with synthetics in haystack [e87179d]
  40. + Fixed case insensitive regex with synthetics [666ce35]
  41. + Fixed issues with foreign lang cursor without a name [ffeb896]
  42. + Fixed introspection of attributes with explicitly typed keys [a6ba994]
  43. + Fixed spurious warnings in define_slang [666ce35]
  44. + Fixed issues in :exists with multidimensional hash slice lookup [a758c0b]
  45. + Fixed unwanted overflow when too-large values were *assigned* to native attributes [666ce35]
  46. + Fixed failure to set $/ by matching routines when used in loops [a62b221]
  47. + Fixed handling of Baggy (|) Mixy, Mixy (|) Baggy in dispatch [48619f8]
  48. + Fixed Allocations tab in --profile output [c16cdb2c]
  49. + Made `is equiv` to not propagate operator's `assoc` value [f9f0883]
  50. + Made Code.ACCEPTS pass take its parameter `is raw` [c0eb9bd]
  51. + Fixed SEGV in IO::Pipe.t [3e275dd]
  52. + Made `dynamic` default to False instead of Nil on Scalar/Hash/Array [28a6e80]
  53. + [IO] Fixed wrong results in IO::Path.resolve for paths with combiners on `/` [9d8e391]
  54. + [IO] Fixed a crash when using Whatever limit in in IO::Pipe.lines [0c62815]
  55. + [IO] Fixed crash in smartmatch of Cool ~~ IO::Path for some Cools [c360ac2]
  56. + [IO] Made IO::Path:: subclasses instantiate a subclass, not IO::Path [a0b82ed]
  57. + [IO] Fixed crash when very large files were read with IO::Path.slurp [d0924f1]
  58. + [IO] Ensured IO::Handle.Str coerced .path to Str [1f689a9]
  59. + [IO] Fixed crash when binary slurping large files with &slurp/IO::Path.slurp [756877e]
  60. + [IO] Fixed occasional zero byte read when binary slurping files [756877e]
  61. + [IO] IO::Handle.symlink/.link now take name of the link as argument;
  62. the invocant is the target [8c09c84]
  63. + Various improvements to warnings and error reporting [6a77cda][d90c6bf][f9968b3]
  64. [27f5469][41ac4b4][75c3f29][87fe800][7ba2fc5][093bb89][d3c93ad][6ee71c2][490ffd1][7112a08]
  65. + Additions:
  66. + Gave `Thread` a numeric representation [e5528dd]
  67. + Made Any.maxpairs/.minpairs use `cmp` and return Seq [5927186]
  68. + Made `Parameter` object available in bind error [0f9f000]
  69. + Added typed exception for parameter constraint failure [f1cd8e3]
  70. + Allowed nativesize to be unset in NativeHOW, but still compose [af4aae2][932b59f]
  71. + Made sure that Baggy and Setty handle bare objects [7433947][e660a57]
  72. + Added experimental coverage reporter tool with MoarVM backend (so far works with
  73. reports for core code; more work needed to expand for wider use) [932b59f][d0924f1]
  74. + Made it possible to assign to system dynamic vars on initialization [1b9d53c]
  75. + Broadened acceptance in `(<+)`/`(>+)`: all Quanthashes can be considered Settys
  76. and all Baggys can be considered Mixys [1ebeeb3]
  77. + Implemented `skip-all` option in &plan in Test.pm [14b6d5f]
  78. + Made it possible to use `.head(*-N)` (all but last N) [1fea495]
  79. + Made it possible to use `.tail(*-N)` (all but first N) [188b7b1]
  80. + Allowed `*` and `Inf` args to Array|List.tail [1b34ea6]
  81. + Made .Set, .SetHash, .Mix, .MixHash, .Bag, and .BagHash nodal [189615c][3e412b9][7025050]
  82. + Made `infix:<(&)>` a multi and added basic candidates [e8cb9a2]
  83. + Made `(-)` a multi [495f970]
  84. + Added default descriptions for Test.pm's `like`, `unlike`, and `use-ok` [4b915f7]
  85. + Made `is rw` on optional params throw a typed exception instead of generic one [8370675]
  86. + Made it possible to pass IO::Path to `is native` trait [9984080]
  87. + Implemented bypass of dependency resolution in the Staging repo
  88. via RAKUDO_RERESOLVE_DEPENDENCIES env var [5b862a3][d4d6a99][2a0a2d3]
  89. + Merged Cursor into Match; in preparation of for future removal of Cursor [b7c036c][cdd625b]
  90. + [IO] Added more powerful features to IO::Path.extension [b1e7a01][15a25da]
  91. + [IO] Added IO::Path.add [40217ed][0b5a41b]
  92. + [IO] Implemented IO::Path.sibling [8bacad8]
  93. + [IO] Implemented IO::Handle.lock [214198b]
  94. + [IO] Made IO::Path throw when path contains NUL byte [e681498]
  95. + [IO] Implemented `:completely` param in IO::Path.resolve [6a8d63d][51e4629]
  96. + [IO] Implemented IO::Handle.slurp [f1b4af7]
  97. + [IO] Made IO::Path.dir a `multi` method [fbe7ace]
  98. + [IO] `$*TMPDIR` now has a container, so it's possible to `temp` it [b62d1a7]
  99. + [IO] Allowed IO::Path.z to be called on directories, to mirror .s [b6838ee]
  100. + [IO] Implemented IO::Handle.spurt [a5800a1]
  101. + [IO] Implemented &indir [a0ef2ed][ca1acb7]
  102. + [IO] Implemented IO::Path.concat-with [966a7e3]
  103. + [IO] Made `&*chdir` return new `$*CWD` [5464b82]
  104. + [IO] Expanded accepted arguments from Cool to IO() in &spurt [099512b]
  105. + [IO] Implemented :parent in IO::Spec::Cygwin.canonpath [0c8bef5]
  106. + [IO] Made IO::Path.lines lazy again (reversal from last release) [90da80f]
  107. + [IO] Re-added :close param to IO::Handle.lines (reversal from last release) [90da80f]
  108. + [IO] IO::Handle.lines($limit, :close) now closes the handle when $limit is reached [90da80f]
  109. + [IO] Added IO::Pipe.path and .IO methods to return an IO::Path type object [d46e8df]
  110. + [IO] Made IO::Path.mkdir return invocant on success [c01ebea]
  111. + [IO] IO::Path now `does` role `IO`. This exists solely as a future compatibility feature with
  112. `IO()` coercer type check and provides no new methods [87987c2][c95c4a7][fd503f8]
  113. + [IO] &chdir and IO::Path.chdir now support :r, :w, :d, :x args for
  114. file tests and default to :d test only [a0ef2ed]
  115. + [IO] Changed coercers from Str() to IO() in `&*chdir`, &chdir, IO::Path.chdir, &rename, &move,
  116. &copy to avoid limitations of IO::Path.Str and race conditions with `$*CWD`
  117. [2483d68][a0ef2ed][ff97083]
  118. + [IO] Changed a Capture of remaining args to be passed to the delegate IO::Handle
  119. methods, instead of the internal .open call in IO::Path .lines, .words, .comb,
  120. .spurt, and .split [099512b][90da80f]
  121. + [IO] The following now return Failures instead of throwing: &chdir, `&*chdir`, &spurt,
  122. IO::Path.spurt, IO::Handle.spurt, IO::Path.slurp, &symlink, &link, &rename, &move, &copy
  123. [a0ef2ed][2483d68][5464b82][c13480c][da1dea2][ff97083]
  124. + Removals:
  125. + Removed unused $.pid from Proc [5b8d4c2]
  126. + [IO] Removed &mkdir candidate that creates multiple dirs [0d9ecae]
  127. + [IO] Removed IO::Path.abspath [cb323d5][a432b3d]
  128. + [IO] Made IO::Path.new-from-absolute-path a private method [7f73f92]
  129. + [IO] Removed vestigial IO::Path.pipe [a01d679]
  130. + [IO] Removed unused Capture in signatures of some .IO coercers [0c7e4a0]
  131. + [IO] Removed IO.umask method [87987c2][fd503f8][c95c4a7]
  132. + [IO] Removed :bin argument in IO::Handle.Supply; now uses handle's mode instead [184d499]
  133. + [IO] IO::Handle and IO::Socket no longer `does` role `IO` [87987c2]
  134. + [IO] Removed .chmod, .e, .d, .f, .s, .l, .r, .w, .x, .modifies, .accessed,
  135. .changed, .mode, and .watch methods from IO::Handle [36ad92a][50aea2b]
  136. + [IO] Removed &tmpdir and &homedir
  137. + [IO] :$test param on &chdir and IO::Path.chdir is now deprecated
  138. and will be removed in 6.d language [a0ef2ed]
  139. + Efficiency:
  140. + Made .Set/.SetHash.clone about 250x faster [d673ea7]
  141. + Make Baggy (&) Baggy about 80x faster [e9a3075]
  142. + Made Mixy (&) Mixy about 60x faster [03ef4be]
  143. + Made Str (elem) Map / Map (cont) Str 50x faster [a8c6eca]
  144. + Made Setty (&) Setty about 40x faster [89b5d65]
  145. + Made Setty (-) Setty about 40x faster [49c0ab6]
  146. + Made Baggy (|) Baggy at least 40x faster [4facf10]
  147. + Made Mix.BagHash and Mix.Bag coercions about 28x faster [2d8ac1e][af50e06]
  148. + Made Setty `(<+)`/`(>+)` Setty at least 25x faster [224e40f]
  149. + Made Mix.MixHash coercion about 25x faster [de983bc]
  150. + Made Map (|) Map 15x to 20x faster [9470d1c]
  151. + Made Setty (|) Setty about 25x faster [49807eb]
  152. + Made Object Hash.Set(Hash) coercion 12x faster [fb5d726]
  153. + Made .invert about 10x faster [7ea0f66]
  154. + Made Baggy coercion to Set|SetHash 10x faster [f947a19]
  155. + Made @a.first(Foo) 6x-10x faster (also affects many set operators) [9671ffe]
  156. + Made Iterable (|) Iterable about 9x faster [80062b0]
  157. + Made Set.WHICH about 8x faster for 50 elem Sets [167a0ed]
  158. + Made Set.SetHash coercion 12x faster [2731087]
  159. + Made coercion of Map to Set(|Hash) about 8x faster [4683e83]
  160. + Made Setty coercion to (Bag|Mix)Hash 7x faster [6686abb]
  161. + Made Map (&) Map about 7x faster [605e9e9]
  162. + Made Baggy `(<+)`/`(>+)` Baggy at least 6x faster [928a406][0672082]
  163. + Made Mixy `(<+)`/`(>+)` Mixy at least 5x faster [38b341a][0672082]
  164. + Made (cont)/(elem) 25% to 5x faster for QuantHashes [5b7ef3e]
  165. + Made Setty.hash about 4x faster [10fe02a]
  166. + Made Setty.pick/SetHash.(grab|grabpairs) 4x faster [6c9f31b]
  167. + Made Iterable.Set(|Hash) about 4x faster [f849df3]
  168. + Made m:i// regex matching 1.8x-3.3x faster [3e275dd]
  169. + Made Enum.ACCEPTS(Enum) 2.9x faster [17d34cd]
  170. + Made Iterable (&) Iterable about 2x faster [0fc3751]
  171. + Made internal nqp::index 2x faster, affecting many methods that work with strings [f1fc879]
  172. + Made case-insensitive regex 2x faster [822566f]
  173. + Made Baggy.new-from-pairs 1.5x faster and use less memory [ff52b74]
  174. + Made concatenation with control chars at end 30% faster [027aa54]
  175. + Made Baggy.new, bag(), and mix() about 25% faster [ae3ff5c]
  176. + Made Iterable.flat about 20% faster (also affects `*@foo` slurpy params) [f532f81]
  177. + Made Numeric.ACCEPTS(Any) about 15% faster [89457f8][e0e0800]
  178. + Made Hash.Bag about 15% faster [e7e97c7]
  179. + Made generic handling of `(<+)` and `(>+)` about 15% faster [5ae4549]
  180. + Made Set.new(42) about 8% faster and use less memory [fb60621][1471527]
  181. + Made Set.new-from-pairs about 4% faster for Pairs [213a72c]
  182. + Made Any.unique a few percent faster [6060bd3]
  183. + Streamlined tai/epoch conversion / leap-second check [dcebce4]
  184. + Added fastpath for `infix:<(|)>` with empty list of args [e24980f]
  185. + Made multiple memory use reductions in internals in MoarVM [d0924f1]
  186. + Made Grammars pre-compute their NFAs during precompilation [064b585]
  187. + Improved FSA which gives better multithreading performance [20af51f]
  188. + [IO] Made IO::Spec::Unix.split 36x faster [4fdebc9]
  189. + [IO] Made IO::Spec::Unix.catpath 9x faster [55abc6d]
  190. + [IO] Made IO::Spec::Unix.join 8.5x faster [55abc6d]
  191. + [IO] Made IO::Spec::Unix.is-absolute about 4.4x faster [4eef6db]
  192. + [IO] Made IO::Spec::Unix.catdir 3.9x Faster [0111f10]
  193. + [IO] Made IO::Pipe.lines 3.2x faster [0c62815]
  194. + [IO] Made IO::Spec::Win32!canon-cat 2.3x faster [0e36bb2]
  195. + [IO] Made IO::Path.child 2.1x faster on `*nix` [55abc6d]
  196. + [IO] Made .IO.slurp about 2x as fast [b4d80c0]
  197. + [IO] Made IO::Handle.open 75% faster [4032953]
  198. + [IO] Made IO::Spec::Unix.rel2abs 35% faster [dcf1bb2]
  199. + [IO] Made IO::Path.slurp 12%-35% faster (for small files) [c13480c]
  200. + [IO] Made IO::Path.new 7% faster when creating from Str [ae5e510]
  201. + Assorted internal improvements to CPU/memory use [1132b1a][a123eb3][1bacc61][c3c849e]
  202. [fa9aa47][666ce35][e7e97c7][213a72c][fab9f87][9671ffe][08a9735][8a4df162][b64f210][1277fb5]
  203. [463898a][3f36508][65037c3][e408e47][6ef7b59][a4b30dc][7875eaf][d793e21][bf63719][9a2446c]
  204. [0dbe451][1867099][2694f5d]
  205. The following people contributed to this release:
  206. Zoffix Znet, Elizabeth Mattijsen, Pawel Murias, Larry Wall, Samantha McVey,
  207. Timo Paulssen, Jonathan Worthington, Daniel Green, Christian Bartolomäus,
  208. Tom Browder, Gabor Szabo, Stefan Seifert, Aleks-Daniel Jakimenko-Aleksejev,
  209. Will "Coke" Coleda, Brian S. Julin, Fernando Correa de Oliveira,
  210. David Warring, Fernando Correa, Itsuki Toyota, Wenzel P. P. Peppmeyer,
  211. Moritz Lenz, Julien Simonet, LLFourn, Harrison Chienjo, Cuong Manh Le,
  212. Brad Gilbert, Brian Duggan, dmaestro, Sterling Hanenkamp, Jonathan Stowe,
  213. Jan-Olof Hendig, Lloyd Fournier
  214. as well as
  215. Bart Wiegmans, eater
  216. If you would like to contribute or find out more information, visit
  217. <http://perl6.org>, <http://rakudo.org/how-to-help>, ask on the
  218. <perl6-compiler@perl.org> mailing list, or ask on IRC #perl6 on freenode.
  219. Additionally, we invite you to make a donation to The Perl Foundation
  220. to sponsor Perl 6 development: <https://donate.perlfoundation.org/>
  221. (put "Perl 6 Core Development Fund" in the 'Purpose' text field)
  222. The next release of Rakudo (#111), is tentatively scheduled for 2017-05-20.
  223. A list of the other planned release dates is available in the
  224. docs/release_guide.pod file.
  225. The development team appreciates feedback! If youre using Rakudo, do
  226. get back to us. Questions, comments, suggestions for improvements, cool
  227. discoveries, incredible hacks, or any other feedback -- get in touch with
  228. us through (the above-mentioned) mailing list or IRC channel. Enjoy!
  229. Please note that recent releases have known issues running on the JVM.
  230. We are working to get the JVM backend working again but do not yet have
  231. an estimated delivery date.
  232. [^1]: See <http://moarvm.org/>
  233. [^2]: Whats the difference between the Rakudo compiler and the Rakudo
  234. Star distribution?
  235. The Rakudo compiler is a compiler for the Perl 6 language.
  236. Not much more.
  237. The Rakudo Star distribution is the Rakudo compiler plus a selection
  238. of useful Perl 6 modules, a module installer, Perl 6 introductory documentation,
  239. and other software that can be used with the Rakudo compiler to enhance its utility.