[#79914] [Ruby trunk Bug#13282] opt_str_freeze does not always dedupe — normalperson@...
Issue #13282 has been reported by Eric Wong.
4 messages
2017/03/05
[#80140] [Ruby trunk Feature#13295] [PATCH] compile.c: apply opt_str_freeze to String#-@ (uminus) — shyouhei@...
Issue #13295 has been updated by shyouhei (Shyouhei Urabe).
5 messages
2017/03/13
[#80362] Re: [Ruby trunk Feature#13295] [PATCH] compile.c: apply opt_str_freeze to String#-@ (uminus)
— Eric Wong <normalperson@...>
2017/03/26
shyouhei@ruby-lang.org wrote:
[#80368] Re: [Ruby trunk Feature#13295] [PATCH] compile.c: apply opt_str_freeze to String#-@ (uminus)
— SASADA Koichi <ko1@...>
2017/03/27
On 2017/03/26 15:16, Eric Wong wrote:
[#80205] Re: [ruby-cvs:65166] duerst:r58000 (trunk): clarifiy 'codepoint' in documentation of String#each_codepoint — Eric Wong <normalperson@...>
duerst@ruby-lang.org wrote:
4 messages
2017/03/17
[#80213] Re: [ruby-cvs:65166] duerst:r58000 (trunk): clarifiy 'codepoint' in documentation of String#each_codepoint
— Martin J. Dürst <duerst@...>
2017/03/17
Hello Eric,
[#80290] [Ruby trunk Feature#13355] [PATCH] compile.c: optimize literal String range in case/when dispatch — normalperson@...
Issue #13355 has been reported by normalperson (Eric Wong).
4 messages
2017/03/23
[#80410] Re: [Ruby trunk Feature#13355] [PATCH] compile.c: optimize literal String range in case/when dispatch
— Eric Wong <normalperson@...>
2017/03/27
normalperson@yhbt.net wrote:
[#80415] [Ruby trunk Feature#12589] VM performance improvement proposal — vmakarov@...
Issue #12589 has been updated by vmakarov (Vladimir Makarov).
5 messages
2017/03/28
[#80488] [Ruby trunk Feature#12589] VM performance improvement proposal — vmakarov@...
Issue #12589 has been updated by vmakarov (Vladimir Makarov).
4 messages
2017/03/29
[ruby-core:80491] Re: [Ruby trunk Feature#12589] VM performance improvement proposal
From:
Matthew Gaudet <magaudet@...>
Date:
2017-03-29 20:36:21 UTC
List:
ruby-core #80491
Hi Vladimir, First and foremost, let me join in with others in thanking you for opening up your experimentation. I suspect that you'd be one of the 'secret' Ruby JITs Chris Seaton was talking about [1]. One more secret JIT to go :) > I believe that implementing JIT in MRI should be more evolutional to be successful. > > [...] > > Another thing is to avoid a work duplication. So far, evolutionary approaches have heavily dominated the work we've done with Ruby+OMR as well. I also recently wrote an article about what needs to happen with Ruby+OMR [2]. One thing in that article I want to call out is my belief that those of us working on JIT compilers for MRI have many opportunities to share ideas, implementation and features. My hope is that we can all keep each other in mind when working on things. I haven't had a huge amount of time to go through your patches, though, I have gone through some of it. One comment I would make is that it seems you've got two very separate projects here: One is a re-design of YARV as an RTL machine, and the other is MJIT, your JIT that takes advantage of the structure of the RTL instructions. In my opinion, it is worth considering these two projects separately. My (offhand) guess would be that I could adapt Ruby+OMR to consume the RTL instructions in a couple of weeks, and other (secret) JITs may be in a similar place. Your approach to MJIT certainly seems interesting. I was quite impressed with the compile times you mentioned -- when I was first thinking about your approach I had thought they would be quite a bit higher. One question I have (and this is largely for the Ruby community to answer) is about how to measure impacts from JITs on non-performance metrics. In this case for example, should MJIT's dynamic memory footprint be computed as the total of the Ruby process and GCC, or can we maybe ignore the GCC costs -- at a cost to compilation time you could do the compiles elsewhere, and you have a clear path to Ahead-of-Time compilation in your mind. My recollection is that one of the reasons rujit was abandoned was because its memory footprint was considered unacceptable, but, I don't don't know how that conclusion was drawn. > At least my investigation of Oracle Graal and IBM OMR was very helpful. Glad we could help. One small note: The project is called Eclipse OMR, not IBM OMR. While IBM is the largest contributor right now, we're trying to build a community around the project, and it is run through the Eclipse foundation. [1]: https://twitter.com/ChrisGSeaton/status/811303853488488448 [2]: https://developer.ibm.com/open/2017/03/01/ruby-omr-jit-compiler-whats-next/ Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>