[ANN] Ruby 1.9.3 preview1 released

Hi Rubyists,

I have just released Ruby 1.9.3 preview1.
This is the first preview of Ruby 1.9.3 releases.

I know there are still minor known issues on 1.9.3 but I believe it will
be fixed before the release of Ruby 1.9.3-p0.
Let's try it out. If you have any trouble on it, please let us know it.

== Location
* http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-preview1.tar.bz2
  SIZE: 9507455 bytes
  MD5: 7d93dc773c5824f05c6e6630d8c4bf9b
  SHA256: a15d7924d74a45ffe48d5421c5fc4ff83b7009676054fa5952b890711afef6fc

* http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-preview1.tar.gz
  SIZE: 12186410 bytes
  MD5: 0f0220be4cc7c51a82c1bd8f6a0969f3
  SHA256: 75c2dd57cabd67d8078a61db4ae86b22dc6f262b84460e5b95a0d8a327b36642

* http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-preview1.zip
  SIZE: 13696708 bytes
  MD5: 960e08b2dc866c9987f17d0480de63a1
  SHA256: 249483f88156b4ae65cd45742c6f6316660f793b78739657596c63b86f76aaeb

== Changes since 1.9.2
License:
* Ruby has been released under GPLv2 and "Ruby's" license. Ruby 1.9.3
  is released under 2-clause BSDL and "Ruby's" license.

Encodings:
* SJIS used to be an alias of Shift_JIS in Ruby 1.9.[0-2]. Now it is
  an alias of Windows-31J.

Libraries:
* io/console: new library
* openssl: Got active maintainers. It is getting much better.
* test/unit: Supports parallel running.

Implementation:
* pathname library and date library were reimplemented in C.
  It improves performance.
* The locking strategy in VM changed.

See [*1] and [*2] for more details.

*1: http://svn.ruby-lang.org/repos/ruby/tags/v1_9_3_preview1/NEWS
*2: http://svn.ruby-lang.org/repos/ruby/tags/v1_9_3_preview1/ChangeLog

- --
Yuki Sonoda (Yugui)
yugui@yugui.jp

* The locking strategy in VM changed.

What's the new locking strategy?

···

--
Posted via http://www.ruby-forum.com/\.

Yuki Sonoda (Yugui) wrote in post #1013984:

I have just released Ruby 1.9.3 preview1.
This is the first preview of Ruby 1.9.3 releases.

Good news!

== Changes since 1.9.2
License:
* Ruby has been released under GPLv2 and "Ruby's" license. Ruby 1.9.3
  is released under 2-clause BSDL and "Ruby's" license.

That is even more good news, thanks for the decision!

···

--
Posted via http://www.ruby-forum.com/\.

readline question: against what version is 1.9.3 builded?

···

--
Posted via http://www.ruby-forum.com/.

you do not understand it. readline as a gpl2 and a gpl3 version.
in old days it was only allowed to build against gpl2, had this changed?

···

--
Posted via http://www.ruby-forum.com/.

Whichever version you have installed.

readline is preferred over editline if you have both installed and don't choose one.

···

On Aug 3, 2011, at 6:28 AM, Hans Mackowiak wrote:

readline question: against what version is 1.9.3 builded?

you do not understand it. readline as a gpl2 and a gpl3 version. in old days it was only allowed to build against gpl2, had this changed?

As far as my understanding of these things goes, yes due to this from the announcement:

== Changes since 1.9.2
License:
* Ruby has been released under GPLv2 and "Ruby's" license. Ruby 1.9.3 is released under 2-clause BSDL and "Ruby's" license.

Of course, you're talking about legal matters, so you should probably contact a lawyer or stop using GPL code that has onerous restrictions.

PS: please quote the context when you reply to emails on this list. It can get confusing when you don't.

···

On Aug 3, 2011, at 22:08, Hans Mackowiak <hanmac@gmx.de> wrote:

1.9.2 used a simple mutex for the GVL, 1.9.3 uses a queueing GVL. The
latter is more complex, but fairer and avoids starvation that is a
problem with simple locks.

Simple mutex locks are good for fine-grained use with minimal
contention. The queueing GVL in 1.9.3 actually uses a (simple) mutex in
a fine-grained manner, but condition variables to do longer
sleeps/waiting/wakeups when there is GVL contention.

···

Roger Pack <rogerpack2005@gmail.com> wrote:

> * The locking strategy in VM changed.

What's the new locking strategy?

--
Eric Wong