Ruby 1.9.3 preview1 released

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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

== 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 S. (Yugui)
[email protected]

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk41a4AACgkQOXzH5JLb/AUKRgCeNpcaZ5DGDo5ZzB0pjqEA3PNU
g7sAn2j6ANzIoyXOcE7b+o6rlF8lP+5D
=Stoe
-----END PGP SIGNATURE-----

  • The locking strategy in VM changed.

What’s the new locking strategy?

Yuki S. (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!

readline question: against what version is 1.9.3 builded?

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

readline question: against what version is 1.9.3 builded?

Whichever version you have installed.

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

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?

Roger P. [email protected] wrote:

  • The locking strategy in VM changed.

What’s the new locking strategy?

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.

On Aug 3, 2011, at 22:08, Hans M. [email protected] wrote:

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.