From fd241a16abac0b304c176b78b9ad27f1424d1fdc Mon Sep 17 00:00:00 2001 From: Peter W Smith Date: Apr 24 2021 13:56:10 +0000 Subject: Ruby 3.0 release notes --- diff --git a/modules/release-notes/pages/developers/Development_Ruby.adoc b/modules/release-notes/pages/developers/Development_Ruby.adoc index 1d3d853..d049604 100644 --- a/modules/release-notes/pages/developers/Development_Ruby.adoc +++ b/modules/release-notes/pages/developers/Development_Ruby.adoc @@ -2,3 +2,16 @@ include::{partialsdir}/entities.adoc[] [[sect-ruby]] = Ruby + +== Ruby 3.0 + +Fedora 34 provides Ruby 3.0, the latest version of the https://www.ruby-lang.org/[Ruby language]. +Notable features of Ruby 3.0, compared to previous versions: + +* The ability to run concurrently is updated with regards to Ruby 2.7, with `Fiber Scheduler` and the preliminary addition of `Ractor`. +* Static typing: `RBS` provides a foundation for allowing programs written in Ruby to define types. Ruby remains a dynamically typed language by default, but `RBS` acts as an additional (foundation) layer of a program to provide static type functionality and gain some of the benefits of a statically typed language. +* `IRB` gains some performance advantages: it is quicker, and now one can measure the execution time using the `measure` command. +* Standard libraries are updated. +* Pattern matching is now a stable feature. + +See the https://www.ruby-lang.org/en/news/2020/12/25/ruby-3-0-0-released/[release notes] for more information.