# Ruby 1.9.3 preview1 released

**URL:** <https://www.ruby-forum.com/t/ruby-1-9-3-preview1-released/210123>\
**Category:** Ruby\
**Created:** [July 31, 2011, 4:50pm UTC](https://www.ruby-forum.com/t/ruby-1-9-3-preview1-released/210123 "2011-07-31T16:50:24Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![luislavena](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/0ea827/32.png) [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Post date:** [July 31, 2011, 4:50pm UTC](https://www.ruby-forum.com/t/ruby-1-9-3-preview1-released/210123/1 "2011-07-31T16:50:24Z")

</div>

-----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-preview1.tar.bz2](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](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](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](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](http://svn.ruby-lang.org/repos/ruby/tags/v1_9_3_preview1/ChangeLog)

* * *

Yuki S. (Yugui)  
removed\_email\_address@domain.invalid

> **[世界線航跡蔵](https://blog.yugui.jp/)**
>
> 世界線航跡蔵

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

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

---

<div class="post-metadata">

**Author:** ![Yuki\_SSSYugui](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/y/e9a140/32.png) [@Yuki\_SSSYugui](https://www.ruby-forum.com/u/Yuki_SSSYugui)\
**Post date:** [August 2, 2011, 10:30pm UTC](https://www.ruby-forum.com/t/ruby-1-9-3-preview1-released/210123/2 "2011-08-02T22:30:00Z")

</div>

> - The locking strategy in VM changed.

What’s the new locking strategy?

---

<div class="post-metadata">

**Author:** ![Yuki\_SSSYugui](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/y/e9a140/32.png) [@Yuki\_SSSYugui](https://www.ruby-forum.com/u/Yuki_SSSYugui)\
**Post date:** [August 3, 2011, 2:35pm UTC](https://www.ruby-forum.com/t/ruby-1-9-3-preview1-released/210123/3 "2011-08-03T14:35:20Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![Yuki\_SSSYugui](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/y/e9a140/32.png) [@Yuki\_SSSYugui](https://www.ruby-forum.com/u/Yuki_SSSYugui)\
**Post date:** [August 3, 2011, 3:28pm UTC](https://www.ruby-forum.com/t/ruby-1-9-3-preview1-released/210123/4 "2011-08-03T15:28:34Z")

</div>

readline question: against what version is 1.9.3 builded?

---

<div class="post-metadata">

**Author:** ![Yuki\_SSSYugui](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/y/e9a140/32.png) [@Yuki\_SSSYugui](https://www.ruby-forum.com/u/Yuki_SSSYugui)\
**Post date:** [August 4, 2011, 2:39am UTC](https://www.ruby-forum.com/t/ruby-1-9-3-preview1-released/210123/5 "2011-08-04T02:39:06Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Yuki\_SSSYugui](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/y/e9a140/32.png) [@Yuki\_SSSYugui](https://www.ruby-forum.com/u/Yuki_SSSYugui)\
**Post date:** [August 4, 2011, 7:08am UTC](https://www.ruby-forum.com/t/ruby-1-9-3-preview1-released/210123/6 "2011-08-04T07:08:27Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![Yuki\_SSSYugui](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/y/e9a140/32.png) [@Yuki\_SSSYugui](https://www.ruby-forum.com/u/Yuki_SSSYugui)\
**Post date:** [August 8, 2011, 5:01am UTC](https://www.ruby-forum.com/t/ruby-1-9-3-preview1-released/210123/7 "2011-08-08T05:01:56Z")

</div>

Roger P. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) 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.

---

<div class="post-metadata">

**Author:** ![Yuki\_SSSYugui](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/y/e9a140/32.png) [@Yuki\_SSSYugui](https://www.ruby-forum.com/u/Yuki_SSSYugui)\
**Post date:** [August 4, 2011, 5:52pm UTC](https://www.ruby-forum.com/t/ruby-1-9-3-preview1-released/210123/8 "2011-08-04T17:52:44Z")

</div>

On Aug 3, 2011, at 22:08, Hans M. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) 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.
