[ruby-core:83767] Re: [ruby-trunk - Feature #10328] [PATCH] make OPT_SUPPORT_JOKE a proper VM option

From: Eric Wong <normalperson@...>
Date: 2017-11-14 19:10:00 UTC
List: ruby-core #83767
ko1@atdot.net wrote:
> BTW, we provide "bitblt" and "answer" insturctions as a official (joke) instructions without enabling SUPPORT_JOKE flag.
> People can use them by assembling YARV codes (with some tricks) manually.

OK, since we remove "trace" instruction which breaks ISeq
compatibility anyways; I think we can remove "bitblt" and
"answer" to make the VM smaller.

> With your measurement, we paid 736 bytes for this kind of humor.
> Personally, I hope that Ruby can understand humor.
> 736 byte is not expensive *for me*.
> 
> However, I also agree Ruby is now a serious language.

Every byte counts to me; that's 12 cache lines on most CPUs.

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

In This Thread