DevHeads.net

Core

Call for entries for Ruby biz Grand prix 2018

Hello,

This is Shugo Maeda from the Ruby biz Grand prix 2018 executive committee.

We started invitation to the fourth contest Ruby biz Grand prix 2018.
This Grand prix is to make honorable recognition of services and products that create innovative new values of the programing language Ruby by utilizing it in the field of business.
Why don't you advertise your business or services by applying for this Grand prix?

[Exemplification of expected technical areas]
・Web application
・IoT (edge computing, sensor devices etc.), machine control
・Infrastructure
・Data analysis/utilization

We widely pro

undefined symbol: mjit_init_p

I pulled Ruby trunk on 3 Jul and am now getting errors similar to the
following:

MJIT warning: failure in loading code from
'/tmp/_ruby_mjit_p20781u0.so': /tmp/_ruby_mjit_p20781u0.so: undefined
symbol: mjit_init_p

The pull before that was 4 June and I didn't get the errors.

timer thread [was Re: [ruby-alerts:7905] failure alert on trunk-asserts@silicon-docker (NG (r63844))]

Many CI failures are caused by pthread_create failing for timer.

I will try using POSIX timers API (timer_create/timer_settime/...)
on such platforms to eliminate timer thread (at least for
single-threaded code).

not getting redmine or ruby-cvs mails...

Is the list working at all?

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

Yes idiom to shorten a long regex

Hello,

I have some data that I would like to parse with a regex.

Ruby 2.6.0-preview2 Released

We are pleased to announce the release of Ruby 2.6.0-preview2.

Ruby 2.6.0-preview2 is the first preview toward Ruby 2.6.0.
This preview2 is released earlier than usual because it includes an
important new feature, JIT.

## JIT

Ruby 2.6 introduces an initial implementation of JIT (Just-in-time) compiler.

JIT compiler aims to improve performance of any Ruby program execution.
Unlike ordinary JIT compilers for other languages, Ruby's JIT compiler
does JIT compilation in a unique way, which prints C code to a disk
and spawns common C compiler process to generate native cod e.
See also: https://

WIP - Userspace RCU for ubf and thread_destruct_lock

Intended as a foot-in-the-door patch to start using URCU
in a similar fashion to GMP (both are LGPL).

Only working with the slow "bp" (bulletproof) Userspace-RCU
implementation, for now.

Rails Ruby Bench: recent results

As I was investigating the performance of Eric Wong's Sleepy GC patches (
<a href="https://bugs.ruby-lang.org/issues/14723" title="https://bugs.ruby-lang.org/issues/14723">https://bugs.ruby-lang.org/issues/14723</a>) I saw some regression in early
April Ruby head-of-master. I mentioned that I'd seen it, and Koichi
suggested I email Ruby Core.

The speed regression I saw was pretty small, and I re-ran the benchmarks to
make sure. A large parallel run of Discourse can have very noisy data.

RubyKaigi "Ruby Committers vs the World" sponsored by Cookpad (travel support)

Hi Ruby core committers,

Cookpad Inc. supports Ruby committers who can attend "Ruby Committers vs
the World" session at this RubyKaigi2018.

cross-thread IO#close semantics

Related to the discussion on [Bug #14681]

I found an old Ruby 1.8 installation, and the following code
exits after 100ms with: [IOError, "stream closed"]
1.9 and later hangs forever:

r, w = IO.pipe
th = Thread.new do
begin
IO.select([r])
rescue => e
warn [ e.class, e.message ].inspect
end
end
sleep 0.1
r.close
th.join

Of course I know why: it's not implemented in 1.9+;
rb_thread_io_blocking_region only cares for operations on the
single FD case, multiplexing functions like select aren't
supported.

& unary operator for block-proc conversion

I'm trying to understand ruby more from an implementers perspective in
the hopes that I can one day contribute a patch. My first step into
this arena is learning how the unary & operator works, although I
can't find out where in the ruby source this is implemented. Also,
does anyone have any tips on finding where in the ruby source these
kinds of things are implemented?

Ruby 2.5.1, 2.4.4, 2.3.7 and 2.2.10 Released!

Hi, all

We've just released Ruby 2.5.1, 2.4.4, 2.3.7 and 2.2.10.
How to download and details:

* [Ruby 2.5.1 Released](<a href="https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-5-1-released/" title="https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-5-1-released/">https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-5-1-released/</a>)
* [Ruby 2.4.4 Released](<a href="https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-4-4-released/" title="https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-4-4-released/">https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-4-4-released/</a>)
* [Ruby 2.3.7 Released](<a href="https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-3-7-released/" title="https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-3-7-released/">https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-3-7-released/</a>)
* [Ruby 2.2.10 Released](<a href="https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-2-10-released/" title="https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-2-10-released/">https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-2-10-released/</a>)

These releases include several security fixes.
You can check details:

* [CVE-2017-17742: HTTP response splitting in WEBrick](<a href="https://ww" title="https://ww">https://ww</a>

idle lazy sweeping + stack depth tracking

Hey all, I wonder if these ideas have been proposed, yet:

1) idle lazy sweeping

Typical Ruby processes spend a fair amount of time waiting for
I/O.

Ruby 2.6.0-preview1 Released

We are pleased to announce the release of Ruby 2.6.0-preview1.

Ruby 2.6.0-preview1 is the first preview toward Ruby 2.6.0.
This preview1 is released earlier than usual because it includes an
important new feature, JIT.

## JIT

Ruby 2.6 introduces an initial implementation of JIT (Just-in-time) compiler.

JIT compiler aims to improve performance of any Ruby program execution.
Unlike ordinary JIT compilers for other languages, Ruby's JIT compiler
does JIT compilation in a unique way, which prints C code to a disk
and spawns common C compiler process to generate native code.
See also: <a href="https://g" title="https://g">https://g</a>

Why require autoconf 2.67+

Please pardon the intrusion; I am new to Ruby and like to pull the
development version of Ruby to compile and code with.

On 8 Feb 18 (US/Eastern) I pulled the code from GitHub and Ruby
2018-02-09 trunk 62326 compiled fine and all tests except for some
timezone ones passed.

Today I pulled the source again.

Invitation to RubyKaigi 2018

Hi, Ruby developers!

Let me happily announce that RubyKaigi 2018 tickets are available now!
<a href="https://rubykaigi.doorkeeper.jp/events/70498" title="https://rubykaigi.doorkeeper.jp/events/70498">https://rubykaigi.doorkeeper.jp/events/70498</a>

The Kaigi this year is going to be held in Sendai in May - June. Please
check our official web site for more details.

Cross-Compiling Ruby gems with Native Extensions

Hi all,

I am interested in using Ruby and some gems (some of them with native
extensions) for a project here at my University.

As we are doing for teaching purposes, we are going to use embedded
architectures and thus the need for cross compiling arises.

I delved into mkmf.rb lib file and as of my understanding, the generation
of makefiles uses build-time configure settings.

My question is: how to generate makefiles using mkmf (for gems) with
cross-compiler targets?

Server maintenance on 2018-01-24

Hello,

Mail services on ruby-lang.org will be unavailable for server
maintenance between 09:00-11:00 on 2018-01-24 (UTC).

Thanks for you understanding.

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

Ruby 2.5.0 Released

We are pleased to announce the release of the Ruby 2.5.0.

Ruby 2.5.0 is the first stable release of the Ruby 2.5 series. It
introduces many new features and performance improvements. The notable
changes are as follows:

## New Features
- `rescue`/`else`/`ensure` are now allowed to be used directly with
`do`/`end` blocks. [&#x5b;Feature
#12906&#x5d;](<a href="https://bugs.ruby-lang.org/issues/12906" title="https://bugs.ruby-lang.org/issues/12906">https://bugs.ruby-lang.org/issues/12906</a>)
- Add `yield_self` to yield given block in its context. Unlike `tap`,
it returns the result of the block.

Ruby 2.5.0-rc1 Released

We are pleased to announce the release of Ruby 2.5.0-rc1.

Ruby 2.5.0-rc1 is the first preview release toward Ruby 2.5.0.
It introduces some new features and performance improvements, for example:

## New Features

* Print backtrace and error message in reverse order if STDERR is
unchanged and a tty.
[Feature #8661] [experimental]

* Top-level constant look-up is removed. [Feature #11547]

* rescue/else/ensure are allowed inside do/end blocks.

getpwnam and friends + GVL

A lot of these functions in Etc and also used for $HOME
resolution require opening /etc/passwd or /etc/group, so

Basically the same problem as readdir(3) I wrote about in
<a href="http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/83808" title="http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/83808">http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/83808</a>

(My /etc/ is on a slow rotating disk)

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

DevelopersMeeting20171129Japan

Hi there Time for next developer meeting is coming... And this could
perhaps be the last one before 2.5.

This time we are going to have it at Nov. 29th, 14:00 - 19:00 JST in Tokyo.

If you want to join us, please proceed to the wiki page as usual to sign-up.

<a href="https://bugs.ruby-lang.org/projects/ruby/wiki/DevelopersMeeting20171129Japan" title="https://bugs.ruby-lang.org/projects/ruby/wiki/DevelopersMeeting20171129Japan">https://bugs.ruby-lang.org/projects/ruby/wiki/DevelopersMeeting20171129J...</a>

Also if you have some agenda to discuss there, write it to the wiki page please.

Note however that this meeting is *NOT* a decision making place.
Discussions are logged.

Refinements in block issue?

Is the following example of `using` within a block a scoping bug? I tried
this on 2.3.4 and 2.4.1.

class Example
def test
puts "Example#test"
end
end

module M1
refine Example do
def test
puts "Example#test in M1"
end
end
end

module M2
refine Example do
def test
puts "Example#test in M2"
end
end
end

e = Example.new
[M1, M2].each { |r|
e.test
using r
e.test
}

# Prints
Example#test
Example#test in M1
Example#test in M1
Example#test in M2

I would expect this to print:
Example#test
Example#test in M1
Example#test
Example#test in M2

Alias Enumerable#include? to Enumerable#includes?

Hello,

this was mentioned at Euruko's conference by Bozhidar Batsov and fully
resonated with my own personal experience using Ruby. As I tweeted after
the conference I would like to contribute to make Ruby better, and
aliasing Enumerable#include? with Enumerable#includes? would be a great
start. I simply can't remember how many times I have written includes?
instead of include? Last Saturday I definitely confirmed that I'm not the
only one. What do you think?

If possible I offer me volunteer to write and submit the patch myself.

Thanks!
Alberto

File.setuid? on IO (Re: [ruby-cvs:67289] normal:r60108 (trunk): file.c: release GVL in File.{setuid?, setgid?, sticky?})

On 2017/10/04 8:47, <a href="mailto:normal@ruby-lang.org">normal@ruby-lang.org</a> wrote:
These methods now accept an `IO` instance, not only a path name.
Is this intentional?

```
$ ./ruby -v -e 'p File.setuid?(STDIN)'
ruby 2.5.0dev (2017-10-03 trunk 60115) [x86_64-darwin15]
Traceback (most recent call last):
1: from -e:1:in `<main>'
-e:1:i

DevelopersMeeting20171019Japan

Hello,

Next month, we are going to have a developer meeting.
It will be at October 19th, 14:00 - 18:00 JST in Tokyo.

If you want to join us, please proceed to the following wiki pages as usual to sign-up

<a href="https://bugs.ruby-lang.org/projects/ruby/wiki/DevelopersMeeting20171019Japan" title="https://bugs.ruby-lang.org/projects/ruby/wiki/DevelopersMeeting20171019Japan">https://bugs.ruby-lang.org/projects/ruby/wiki/DevelopersMeeting20171019J...</a>

Also if you have some agenda to discuss there, write it to the wiki page please.

Note however that this meeting is *NOT* a decision making place.
Discussions are logged.  Will share you the log afterwards.

Regards,
Kenta Murata

FFI and so versioned files

hi,

is there any reason why the ffi library doesn't support loading
shared libraries with their versioned names?

currently on linux distributions that means installing the development
packages for the libraries. the python code for the nacl bindings e.g.
tries multiple version numbers in an attempt to load the correct
library which feels wrong as well.

darix

Exposing rb_iseq_load as a ruby method?

RubyVM::InstructionSequence is great, it's great that you can compile code
and disassemble. But for my current project (which is currently a toy, but
this may have other useful applications), what I'd really like is to feed
an instruction sequence constructed in Ruby into the iseq assembler. On the
C level, such a function exists and it works, namely, rb_iseq_load, but
it's not exposed on the Ruby level.

RubyKaigi "Ruby Committers vs the World" sponsored by Cookpad (travel support)

Hi ruby committers,

Cookpad Inc. is "Ruby Committers Sponsor" on RubyKaigi2017.
<http://rubykaigi.org/2017/sponsors#committers>

And we want to support Ruby committer's travel to attend RubyKaigi (only
transportation fee, no hotel rooms).

Unfortunately we don't have enough budget to invite all of committers
from outside of Japan. We can offer Japan domestic travel fee but not
sure flight tickets from foreign countries (depends on the number of
people who want to use this support).

Regulation:
* You are a commiter of MRI.

RubyPrize recommendation request for core committers

Hi,

To those who are not committers,

We are going to request recommendation of RubyPrize nominees later.
Stay tuned.

To Ruby core committers,

It has been decided to hold the Ruby Prize2017, to recognize
the efforts of New members to the Ruby community.

This "Ruby Prize" will hold meetings by the executive committee
comprised of three parties, which is Ruby Association,
Nihon Ruby no Kai and Matsue city.

Ruby Prize Award Winner and nominees(1-2 people) will receive an
award at the RubyWorld Conference 2017, to be held in Matsue, Shimane
Prefecture November 1st & 2nd

It should be no

DevelopersMeeting20170714Japan

Hi,

We will hold dev-meeting at 2017/07/14 (Fri) 14:00-1?:00 JST at Tokyo,
Japan (Tomorrow! sorry for announcement just before meeting).

Please sign-up if you want to join this meeting. See the following wiki
page for details.

Please add your concerning tickets in agenda at wiki page if you have,
with some explanations.

Note that this meeting is *NOT* decision making place. All of conclusion
will be filed in the bug tracker.

Thanks,
Koichi

Wiki page:
<a href="https://bugs.ruby-lang.org/projects/ruby/wiki/DevelopersMeeting20170714Japan" title="https://bugs.ruby-lang.org/projects/ruby/wiki/DevelopersMeeting20170714Japan">https://bugs.ruby-lang.org/projects/ruby/wiki/DevelopersMeeting20170714J...</a>

ruby-dev (Japanese) list archive mirror

Hello, I have enabled <a href="https://public-inbox.org/ruby-dev/" title="https://public-inbox.org/ruby-dev/">https://public-inbox.org/ruby-dev/</a> for
mirroring the (mostly) Japanese dev list.

ruby-core archive mirror [was: mirroring ruby-core archives off blade.nagaokaut.ac.jp]

Eric Wong < ... at yhbt dot net> wrote:
Actually, there were a number of changes needed for all that;
including implementing address obfuscation(*) since I assume
people here are conditioned to expect that from blade and gmane :<

So without further adieu: <a href="https://public-inbox.org/ruby-core/" title="https://public-inbox.org/ruby-core/">https://public-inbox.org/ruby-core/</a> and
<a href="http://ou63pmih66umazou.onion/ruby-core/" title="http://ou63pmih66umazou.onion/ruby-core/">http://ou63pmih66umazou.onion/ruby-core/</a> (for T

DevelopersMeeting20170616Japan

Hello.

This week we are going to have a developer meeting at June 16th, 14:00
- 19:00 JST in Tokyo.

If you want to join this, please proceed to the wiki page as usual to sign-up.

<a href="https://bugs.ruby-lang.org/projects/ruby/wiki/DevelopersMeeting20170616Japan" title="https://bugs.ruby-lang.org/projects/ruby/wiki/DevelopersMeeting20170616Japan">https://bugs.ruby-lang.org/projects/ruby/wiki/DevelopersMeeting20170616J...</a>

Also if you have some agenda to discuss there, write it to the wiki page please.

Note however that this meeting is *NOT* a decision making place.
Discussions are logged.

Invitation to RubyKaigi 2017

Hi, Ruby developers!
Let me proudly announce that RubyKaigi 2017 tickets are available now!
<a href="https://rubykaigi.doorkeeper.jp/events/61062" title="https://rubykaigi.doorkeeper.jp/events/61062">https://rubykaigi.doorkeeper.jp/events/61062</a>

The Kaigi this year is going to be held in Hiroshima on September.
Please take a look at our official web site for more details.
<a href="http://rubykaigi.org/2017" title="http://rubykaigi.org/2017">http://rubykaigi.org/2017</a>

All Ruby core committers (who has a direct commit access to the SVN repo)
are invited to the conference with a free ticket.
Please input the promotional code "SHAMOJI" at the ticketing site
(the "Enter promotional code" link can be found at the bottom of the page
right before the payment page).

We're rea

mirroring ruby-core archives off blade.nagaokaut.ac.jp

Hi all, just wanted to let you folks know I'm pulling the
raw mail files and importing into a public-inbox instance.

Hopefully I don't get banned :x

I will also need to make some tweaks in the public-inbox code to
add an option to change the default reply-to-all behavior of the
archives; and also to synchronize NNTP article numbers with the
article numbers generated by lists.ruby-lang.org...

The most notable public-inbox instance is the one I host for
the git project:

<a href="https://public-inbox.org/git/" title="https://public-inbox.org/git/">https://public-inbox.org/git/</a> < ... at vger dot kernel.org>
nntp://news.public-inbox.org/inbox.comp.version-control.git

All the

DevelopersMeeting20170519Japan

Hello,

In this week, we are going to have a developer meeting.
It will be at May 19th, 14:00 - 19:00 JST in Tokyo.

If you want to join us, please proceed to the following wiki page as usual to sign-up.

<a href="https://bugs.ruby-lang.org/projects/ruby/wiki/DevelopersMeeting20170519Japan" title="https://bugs.ruby-lang.org/projects/ruby/wiki/DevelopersMeeting20170519Japan">https://bugs.ruby-lang.org/projects/ruby/wiki/DevelopersMeeting20170519J...</a>

Also if you have some agenda to discuss there, write it to the wiki page, please.

Note however that this meeting is *NOT* a decision making place.  Discussions are logged.  Will share you the log afterwards.

Regards,
Kenta Murata

rapid CI service for MRI trunk

Hi,

I setup alternative CI server which aim to report rapid error detection.

Features
(1) Got test results in minimum 2 min just after commit.
(2) Repeat tests many times.
(3) Sending alert mail

Of course, RubyCI <http://rubyci.org/> is convenient because it shows
readable results.

Ensuring a de-referenceable method definition

Hi Ruby-core: I was hoping someone familiar with
rb_callable_method_entry could help me figure out what the rules are
for de-referencing the contained rb_method_definition_struct 'def'.

I'm looking for a target instruction sequence to inline by peeking
inside of the CALL_CACHE.

DevelopersMeeting20170417Japan

Hello.

This month, we are going to have a developer meeting next week.
It will be at April 17th, 14:00 - 19:00 JST in Tokyo.

If you want to join us, please proceed to the following wiki page as usual to sign-up.

<a href="https://bugs.ruby-lang.org/projects/ruby/wiki/DevelopersMeeting20170417Japan" title="https://bugs.ruby-lang.org/projects/ruby/wiki/DevelopersMeeting20170417Japan">https://bugs.ruby-lang.org/projects/ruby/wiki/DevelopersMeeting20170417J...</a>

Also if you have some agenda to discuss there, write it to the wiki page please.

Note however that this meeting is *NOT* a decision making place. Discussions are logged.

About stable branch maintainers

Hi, all

As a result of ending normal maintenance phase of Ruby 2.2
and EOL of Ruby 2.1 [*1], we stable branch maintainers decided
to slide the branches in our charge.

[*1] <a href="http://www.ruby-lang.org/en/news/2017/04/01/support-of-ruby-2-1-has-ended/" title="http://www.ruby-lang.org/en/news/2017/04/01/support-of-ruby-2-1-has-ended/">http://www.ruby-lang.org/en/news/2017/04/01/support-of-ruby-2-1-has-ended/</a>

Ruby 2.5 (trunk)
Status: developing to 2.5
Release manager: naruse

Ruby 2.4 (ruby_2_4)
Status: In normal maintenance phase
Branch maintainer: naruse -> nagachika

Ruby 2.3 (ruby_2_3)
Status: In normal maintenance phase
Branch maintainer: nagachika -> usa (with Ruby Association)

Ruby 2.2 (ruby_2_2)
Status: In security maintenance ph

should IO#close across threads cause IOError (instead of EBADF)?

I started working on the patch at the bottom of this message,
but can't reproduce what I think is expected behavior:
IOError should be raised on cross thread close, and Errno::EBADF
should be avoided from leaking to Ruby code.

Initially, it seems r57422 / 61701ae1675f790ee3f59207283642dbe64c2d37
("io.c: close before wait") was causing this, but reverting
that did not seem to help my new test, below.

Regardless of whether the test I wrote passes, I think the
changes made to ext/socket below to reload fptr->fd in between
blocking states are definitely preferable.

Patch below also at:
https

Ruby 2.4.1 Released

We are pleased to announce the release of Ruby 2.4.1.
This is the first TEENY version release of the stable 2.4 series.

See [commit logs](<a href="https://github.com/ruby/ruby/compare/v2_4_0...v2_4_1" title="https://github.com/ruby/ruby/compare/v2_4_0...v2_4_1">https://github.com/ruby/ruby/compare/v2_4_0...v2_4_1</a>)
for details.

## Download

* <https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.1.tar.bz2>

SIZE: 12571597 bytes
SHA1: b0bec75c260dcb81ca386fafef27bd718f8c28ad
SHA256: ccfb2d0a61e2a9c374d51e099b0d833b09241ee78fc17e1fe38e3b282160237c
SHA512: 1c80d4c30ecb51758a193b26b76802a06d214de7f15570f1e85b5fae4cec81bda7237f086b81f6f2b5767f2e93d347ad1fa3f49d7b5c2e084d5f57c419503f74

* <https

DevelopersMeeting20170313Japan

Hello.

We are going to have a developer meeting next Monday at May 13th, 14:00 - 19:00 JST in Tokyo.

If you want to join this, please proceed to the wiki page as usual to sign-up.

<a href="https://bugs.ruby-lang.org/projects/ruby/wiki/DevelopersMeeting20170313Japan" title="https://bugs.ruby-lang.org/projects/ruby/wiki/DevelopersMeeting20170313Japan">https://bugs.ruby-lang.org/projects/ruby/wiki/DevelopersMeeting20170313J...</a>

Also if you have some agenda to discuss there, write it to the wiki page please.

Note however that this meeting is *NOT* a decision making place. Discussions are logged.

Ruby+OMR: Status update, and future collaboration

Hi ruby-core!

I'm writing to share some updates about Ruby+OMR [1], and to start
discussing how we can collaborate a bit going forward.

Since last time I emailed, we've

* Rebased the JIT compiler to build on top of the ruby_2_4 tag [2].
* Populated the Ruby+OMR preview issue tracker, and labelled issues to
help people navigate.
* Blogged about how the JIT compiler works [3]
* Given a talk in the Ruby DevRoom at FOSDEM 2017 [4], where we
summarized the state of the world, and where we are going next.
* Crossed the 1000 commit threshold on the Eclipse OMR project [5], a
nice mileston

DevelopersMeeting20170222Japan

Hello and sorry for this last-minute announcement.

We are going to have a developer meeting YOMORROW at Feb. 22nd, 2017 (Thu), 14:00 - 19:00 JST in Tokyo.

If you want to join this (and it's possible for you), please proceed to the wiki page as usual to sign-up.

<a href="https://bugs.ruby-lang.org/projects/ruby/wiki/DevelopersMeeting20170222Japan" title="https://bugs.ruby-lang.org/projects/ruby/wiki/DevelopersMeeting20170222Japan">https://bugs.ruby-lang.org/projects/ruby/wiki/DevelopersMeeting20170222J...</a>

Also if you have some agenda to discuss there, write it to the wiki page please.

Note however that this meeting is *NOT* a decision making place. Discussions are logged.

Immutable Strings vs Symbols

Hi,

I would like to ask ruby core members the following question if it is possible:

With the advent of Immutable Strings in ruby 3 what will be the
difference between Immutable Strings and Symbols?

Performance wise will Immutable Strings be similar to Symbols?

If we put the hypothesis of removing Symbols from ruby would that have
any negative impact on performance?

What other side effects could we envision?

Thanks,

Daniel

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

(no subject)

Ruby 2.4.0 Released

We are pleased to announce the release of Ruby 2.4.0.

Ruby 2.4.0 is the first stable release of the Ruby 2.4 series.
It introduces many new features, for example:

## [Introduce hash table improvement (by Vladimir
Makarov)](<a href="https://bugs.ruby-lang.org/issues/12142" title="https://bugs.ruby-lang.org/issues/12142">https://bugs.ruby-lang.org/issues/12142</a>)

Improve the internal structure of hash table (st_table) by introducing
open addressing
and an inclusion order array.
This improvement has been discussed with many people, especially with
Yura Sokolov.

## Binding#irb: Start a REPL session similar to `binding.pry`

While you are debugging, you may often use `p` to see the value of v

DeveloperMeeting20161221Japan

Hello,

Because Koichi is not attending this time, I'm announcing instead.

We are going to have a developer meeting at Dec. 21, 2016 (Wed), 14:00 - 19:00 JST in Tokyo.

If you want to join this meeting, please proceed to the wiki page as usual to sign-up.

<a href="https://bugs.ruby-lang.org/projects/ruby/wiki/DevelopersMeeting20161221Japan" title="https://bugs.ruby-lang.org/projects/ruby/wiki/DevelopersMeeting20161221Japan">https://bugs.ruby-lang.org/projects/ruby/wiki/DevelopersMeeting20161221J...</a>

Also if you have some agenda to discuss there, write it to the wiki page please.

Note however that this meeting is *NOT* a decision making place. Discussions are logged.

ruby/spec needs help from CRuby committers

Currently, ruby/spec is maintained mostly by individuals and enjoys the
contribution of a few CRuby committers.
Unfortunately, the task of making specs for all the new features and
changes in MRI is a huge task and too much for these people.
If you look at specs for changes in Ruby 2.3, they were finally completed
around 1 year after 2.3.0 was out.

Ruby 2.4.0-rc1 Released

We are pleased to announce the release of Ruby 2.4.0-rc1.

Ruby 2.4.0-rc1 is the first release candidate of Ruby 2.4.0.
This rc1 is released to get feedback from the community.
Feel free to
[send feedback](<a href="https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport" title="https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport">https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport</a>)
since you can still fix the features.

## [Introduce hash table improvement (by Vladimir
Makarov)](<a href="https://bugs.ruby-lang.org/issues/12142" title="https://bugs.ruby-lang.org/issues/12142">https://bugs.ruby-lang.org/issues/12142</a>)

Improve the internal structure of hash table (st_table) by introducing
open addressing
and an inclusion order array.
This improvement has been discussed with many people, especially with
Yura So

Improving Ruby Bitwise Operations

There is a ruby gem for bitwise operations, by Kenn Ejima, although it
has not been updated in 4 years.

<a href="https://rubygems.org/gems/bitwise" title="https://rubygems.org/gems/bitwise">https://rubygems.org/gems/bitwise</a>
<a href="https://github.com/kenn/bitwise" title="https://github.com/kenn/bitwise">https://github.com/kenn/bitwise</a>

I believe that the better approach for Ruby Bitwise Operations is to
"dust-off" this "bitwise" gem and add whatever functionality is needed.
That might include a ".mask" method, which returns true (if any
resulting bit is 1) or false (if all resulting bits are 0).

Deserialization & const_missing

Hi,

I'm finding an issue with deserializing (Marshal, YAML) objects whose
classes are lazily loaded.

Here's a demo: (run with argument 'store' and then with argument 'load')

module C

def self.const_missing(name)

const_set name, Struct.new(:x, :y)

end

end

case ARGV[0]

when 'store'

lazy = C::Lazy.new(1, 2)

open('test.marshal', 'w') { |f| Marshal.dump(lazy, f) }

when 'load'

lazy = open('test.marshal') { |f| Marshal.load(f) }

p lazy

else

abort "need argument: load or store"

end

I saw this was discussed a few months ago in the Developers' Meeting.

Ruby 2.4.0-preview3 Released

We are pleased to announce the release of Ruby 2.4.0-preview3.

Ruby 2.4.0-preview3 is the third preview of Ruby 2.4.0.
This preview3 is released to get feedback from the community.
Feel free to
[send feedback](<a href="https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport" title="https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport">https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport</a>)
since you can still influence the features.

## [Introduce hash table improvement by Vladimir
Makarov](<a href="https://bugs.ruby-lang.org/issues/12142" title="https://bugs.ruby-lang.org/issues/12142">https://bugs.ruby-lang.org/issues/12142</a>)

Improve the internal structure of hash table (st_table) with
introducing open addressing
and inclusion order array.
This improvement is discussed with many people, especially with Yura

DevelopersMeeting20161125Japan

Hi,

We will hold dev-meeting at 2016/11/25 (Fri) 14:00-19:00 JST at Tokyo,
Japan.

Please sign-up if you want to join this meeting. See the following wiki
page for details.

Please add your concerning tickets in agenda at wiki page if you have,
with some explanations.

Note that this meeting is *NOT* decision making place. All of conclusion
will be filed in the bug tracker.

Thanks,
Koichi

Wiki page:
<a href="https://bugs.ruby-lang.org/projects/ruby/wiki/DevelopersMeeting20161125Japan" title="https://bugs.ruby-lang.org/projects/ruby/wiki/DevelopersMeeting20161125Japan">https://bugs.ruby-lang.org/projects/ruby/wiki/DevelopersMeeting20161125J...</a>

ruby callback issue (no implicit conversion of nil into String)

Hi all,

The following code was working with swig 3.0 and with ruby < 2.3. So
probably the problem is on the ruby interpreter. However, because I just
swig to wrap the classes may be is something wrong on the definition or I
miss something. I got the error "no implicit conversion of nil into String
(TypeError)" from the callback parameter but if I access from a new
instance, works. This have been working in old versions of ruby.

Some tests with the OMR Ruby interpreter

The folks at IBM recently open-sourced the Ruby OMR preview. Matthew
Gaudet posted to this list about it. I was curious about relative
memory use compared to MRI, so I've run a few tests on them
side-by-side. These are my preliminary impressions and results -- I'd
love any comments on them.

The OMR tools have been tested with Ruby 2.2, but not yet updated to
any later Ruby. Not every test passes. Some of this seems to be test
rot from old code (e.g.

Ruby+OMR Preview JIT sources are available!

Hi ruby-core

I am excited to announce that we have recently released the sources to the
JIT compiler that powered the Ruby+OMR Preview released last year [1].

Syndicate content