Forum: Ruby Ruby 1.9.3 preview1 released

Posted by Yuki Sonoda (Yugui) (Guest)
on 2011-07-31 16:50
(Received via mailing list)
-----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
* http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p...
  SIZE:   9507455 bytes
  MD5:    7d93dc773c5824f05c6e6630d8c4bf9b
  SHA256: 
a15d7924d74a45ffe48d5421c5fc4ff83b7009676054fa5952b890711afef6fc

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

* http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p...
  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_pr...
*2: http://svn.ruby-lang.org/repos/ruby/tags/v1_9_3_pr...

- --
Yuki Sonoda (Yugui)
yugui@yugui.jp
http://yugui.jp
-----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-----
Posted by Roger Pack (rogerdpack)
on 2011-08-02 22:30
> * The locking strategy in VM changed.

What's the new locking strategy?
Posted by Ollivier Robert (keltia)
on 2011-08-03 14:35
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 by Hans Mackowiak (hanmac)
on 2011-08-03 15:28
readline question: against what version is 1.9.3 builded?
Posted by Eric Hodel (Guest)
on 2011-08-04 02:39
(Received via mailing list)
On Aug 3, 2011, at 6:28 AM, Hans Mackowiak 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.
Posted by Hans Mackowiak (hanmac)
on 2011-08-04 07:08
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 by Eric Hodel (Guest)
on 2011-08-04 17:52
(Received via mailing list)
On Aug 3, 2011, at 22:08, Hans Mackowiak <hanmac@gmx.de> 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.
Posted by Eric Wong (Guest)
on 2011-08-08 05:01
(Received via mailing list)
Roger Pack <rogerpack2005@gmail.com> 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.
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.