General

Profile

matz (Yukihiro Matsumoto)

  • Email: matz@ruby.or.jp
  • Registered on: 05/09/2008
  • Last connection: 07/11/2019

Issues

Projects

Activity

07/16/2019

06:42 AM Ruby master Feature #16006 (Rejected): String count and alignment that consider multibyte characters
The display width of a string cannot be calculated without rendering information, which Ruby usually does not have.
...
matz (Yukihiro Matsumoto)

07/12/2019

03:06 PM Ruby master Feature #15940: Coerce symbols internal fstrings in UTF8 rather than ASCII to better share memory with string literals
> UTF-8 is a strict super set of ASCII. Any valid ASCII is valid UTF-8.
So is EUC-JP (or Shift_JIS or many other e...
matz (Yukihiro Matsumoto)
01:46 PM Ruby master Feature #15940: Coerce symbols internal fstrings in UTF8 rather than ASCII to better share memory with string literals
If I understand your patch correctly:
```ruby
# encoding: euc-jp
#old behavior
p "foo".encoding # => "euc-j...
matz (Yukihiro Matsumoto)
02:27 PM Ruby master Feature #15998 (Feedback): Allow String#-@ to deduplicate tainted string, but return an untainted one
`taint` states will be removed from the language in the near future, along with `$SAFE`.
I am not positive to change...
matz (Yukihiro Matsumoto)

07/11/2019

03:58 PM Ruby master Bug #15987: Let `exception` option in `Kernel#Complex`, `Kernel#Float`, `Kernel#Integer`, `Kernel#Rational` be falsy vs. truthy
Options are:
* accept normal truthy/falsey value for boolean (using `RTEST()`)
* accept `true`/`false` for boolea...
matz (Yukihiro Matsumoto)
07:30 AM Ruby master Bug #15987: Let `exception` option in `Kernel#Complex`, `Kernel#Float`, `Kernel#Integer`, `Kernel#Rational` be falsy vs. truthy
It's a bug. It should be fixed.
Matz.
matz (Yukihiro Matsumoto)
03:17 PM Ruby master Feature #15940: Coerce symbols internal fstrings in UTF8 rather than ASCII to better share memory with string literals
That's why I said **experiment**. We need to measure in the real-world application to ensure the change will reduce m... matz (Yukihiro Matsumoto)
07:18 AM Ruby master Feature #15940: Coerce symbols internal fstrings in UTF8 rather than ASCII to better share memory with string literals
First of all, this pull-request itself breaks non UTF-8 programs. It should be the source encoding instead of direct ... matz (Yukihiro Matsumoto)
08:18 AM Ruby master Feature #15973: Make it so Kernel#lambda always return a lambda
In my opinion, `lambda` should return `lambda` object as a principle. We need to keep the discussion.
Maybe we can g...
matz (Yukihiro Matsumoto)
06:50 AM Ruby master Feature #15966 (Rejected): Introducing experimental features behind a flag, disabled by default
I am against adding experimental flags. The proposed benefits are:
* Stable release: Users can test new features b...
matz (Yukihiro Matsumoto)

Also available in: Atom