[#86520] [Ruby trunk Bug#14681] `syswrite': stream closed in another thread (IOError) — samuel@...
Issue #14681 has been reported by ioquatix (Samuel Williams).
3 messages
2018/04/12
[#86755] [Ruby trunk Feature#14723] [WIP] sleepy GC — normalperson@...
Issue #14723 has been reported by normalperson (Eric Wong).
6 messages
2018/04/29
[ruby-core:86533] Re: & unary operator for block-proc conversion
From:
Koichi Sasada <ko1@...>
Date:
2018-04-12 20:10:34 UTC
List:
ruby-core #86533
Hi Liam, For general, you can check https://github.com/ko1/rubyhackchallenge (our lecture materials for first step Ruby internal hacking. This activity is named Ruby Hack Challenge). But they don't explain about "How blcok-proc conversion works" because it is a very deep topic. http://patshaughnessy.net/ruby-under-a-microscope is the best book to understand how the internal works. But it is some old (it is based on Ruby 2.0). But it will help you the basic of MRI internals (VM). Now a day, the conversion C-function is `rb_vm_bh_to_procval()` in vm_insnhelper.c, but to read this function, you need to understand how to represent these data structures. They are very complicated. On 2018/04/09 10:57, Liam wrote: > 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? For me it's obvious that a method on > object would exist in object.c, but for syntax-related features such > as the & operator, it's less clear. > > Apologies if this isn't an approved use of the core mailing list, feel > free to tell me if this is the case. > > Thanks, > Liam > > Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe> > <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core> > -- // SASADA Koichi at atdot dot net Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>