Ruby 2.7.0 Preview 1 Released— The “preview” stage of 2.7.0 is upon us and is now in good shape to be tested by the wider community. Features include: |
- Heap compaction in the garbage collector (a win for long-running and multithreaded apps).
- Pattern matching.
- Multi-line editing support and
rdoc integration in irb . - The
.: method reference operator. Enumerable#tally for counting the occurrence of elements in an enumerable.- Beginless ranges, numbered parameters, JIT imrovements, and more.
The final version of Ruby 2.7 is due, as ever, on Christmas Day. |
![]() Produce High-Quality Code More Efficiently with RubyMine— With smart code completion, dozens of refactorings, and support for popular frameworks, all working out of the box, RubyMine is an IDE that makes development easier and more enjoyable. Try the new RubyMine 2019.1. JetBrains sponsor |
Direct Instruction Marking in Ruby 2.6— GitHub upgraded to Ruby 2.6 and saw a 3 percent decrease in post boot memory usage. Aaron explains how the optimization works at a technical level. Aaron Patterson (GitHub) |
macOS to Remove Having Ruby Installed by Default— The next version of macOS (10.15) is deprecating having ‘scripting language runtimes’ (which includes Ruby) installed by default, though it seems they might not disappear until 10.16. In related news, macOS will also be switching from bash to zsh . Apple Developer Documentation |
Rails 6 Boot Sequence— If you’ve never walked through how Rails starts up, it’s a good exercise that highlights the design of Rails and how it uses things like Rack and Bundler. Younes Serraj |
|