[#80531] Re: [ruby-cvs:65407] normal:r58236 (trunk): thread.c: comments on M:N threading [ci skip] โ€” Eric Wong <normalperson@...>

SASADA Koichi <ko1@ruby-lang.org> wrote:

24 messages 2017/04/02
[#80532] Re: [ruby-cvs:65407] normal:r58236 (trunk): thread.c: comments on M:N threading [ci skip] โ€” SASADA Koichi <ko1@...> 2017/04/02

On 2017/04/02 11:35, Eric Wong wrote:

[#80540] Re: [ruby-cvs:65407] normal:r58236 (trunk): thread.c: comments on M:N threading [ci skip] โ€” Eric Wong <normalperson@...> 2017/04/03

SASADA Koichi <ko1@atdot.net> wrote:

[#81027] Re: [ruby-cvs:65407] normal:r58236 (trunk): thread.c: comments on M:N threading [ci skip] โ€” Eric Wong <normalperson@...> 2017/05/08

Eric Wong <normalperson@yhbt.net> wrote:

[#81028] Re: [ruby-cvs:65407] normal:r58236 (trunk): thread.c: comments on M:N threading [ci skip] โ€” SASADA Koichi <ko1@...> 2017/05/08

On 2017/05/08 9:33, Eric Wong wrote:

[#81029] Re: [ruby-cvs:65407] normal:r58236 (trunk): thread.c: comments on M:N threading [ci skip] โ€” SASADA Koichi <ko1@...> 2017/05/08

On 2017/05/08 10:53, SASADA Koichi wrote:

[#81031] Re: [ruby-cvs:65407] normal:r58236 (trunk): thread.c: comments on M:N threading [ci skip] โ€” Eric Wong <normalperson@...> 2017/05/08

SASADA Koichi <ko1@atdot.net> wrote:

[#81033] Re: [ruby-cvs:65407] normal:r58236 (trunk): thread.c: comments on M:N threading [ci skip] โ€” SASADA Koichi <ko1@...> 2017/05/08

On 2017/05/08 12:01, Eric Wong wrote:

[#81035] Re: [ruby-cvs:65407] normal:r58236 (trunk): thread.c: comments on M:N threading [ci skip] โ€” Eric Wong <normalperson@...> 2017/05/08

SASADA Koichi <ko1@atdot.net> wrote:

[#81042] Re: [ruby-cvs:65407] normal:r58236 (trunk): thread.c: comments on M:N threading [ci skip] โ€” SASADA Koichi <ko1@...> 2017/05/09

On 2017/05/08 15:36, Eric Wong wrote:

[#81044] Re: [ruby-cvs:65407] normal:r58236 (trunk): thread.c: comments on M:N threading [ci skip] โ€” Eric Wong <normalperson@...> 2017/05/09

SASADA Koichi <ko1@atdot.net> wrote:

[#81045] Re: [ruby-cvs:65407] normal:r58236 (trunk): thread.c: comments on M:N threading [ci skip] โ€” SASADA Koichi <ko1@...> 2017/05/09

On 2017/05/09 12:38, Eric Wong wrote:

[#81047] Re: [ruby-cvs:65407] normal:r58236 (trunk): thread.c: comments on M:N threading [ci skip] โ€” Eric Wong <normalperson@...> 2017/05/09

SASADA Koichi <ko1@atdot.net> wrote:

[#80892] [Ruby trunk Misc#13514] [PATCH] thread_pthread.c (native_sleep): preserve old unblock function โ€” ko1@...

Issue #13514 has been updated by ko1 (Koichi Sasada).

8 messages 2017/04/26

[ruby-core:80804] [Ruby trunk Feature#10169] It might be better to make Mathn class deprecated

From: hsbt@...
Date: 2017-04-20 08:38:27 UTC
List: ruby-core #80804
Issue #10169 has been updated by hsbt (Hiroshi SHIBATA).


Note: We need to remove Math mode from irb before unbundling mathn. So it uses mathn library.

After that, We can remove mathn from ruby core. and ship rubygems.

I will do it.

----------------------------------------
Feature #10169: It might be better to make Mathn class deprecated
https://bugs.ruby-lang.org/issues/10169#change-64400

* Author: gogotanaka (Kazuki Tanaka)
* Status: Assigned
* Priority: Normal
* Assignee: hsbt (Hiroshi SHIBATA)
* Target version: 2.5
----------------------------------------
#English

As I mentioned in https://bugs.ruby-lang.org/issues/10086#change-48156,

1. Now that we are able to hundle complex exponents without mathn.

2. And overriding `\` with `quo` has too much side effect. I suppose we should not implement such a thing in ruby standard library.

3. Requiring and integrating other standard libraries doesn't make sense.

This is why I think it might be better to make Mathn class deprecated and disabled in the future.

#ๆ—ฅๆœฌ่ชž๏ผˆใ™ใฟใพใ›ใ‚“ใพใ ่‹ฑ่ชžใŒๆ‹™ใใ€ๆ„ๅ›ณใ‚’ใ‚ˆใ‚Šๆญฃ็ขบใซใŠไผใˆใ™ใ‚‹ใŸใ‚ๆ—ฅๆœฌ่ชžใ‚‚่จ˜่ผ‰ใ•ใ›ใฆ้ ‚ใใพใ™๏ผ‰

ๅƒ•ใŒใ“ใกใ‚‰ใฎissueใง่ฟฐในใ•ใ›ใฆ้ ‚ใ„ใŸ้€šใ‚Šใ€https://bugs.ruby-lang.org/issues/10086#change-48156

1. `mathn` ใงๅฎŸ่ฃ…ใ•ใ‚Œใฆใ„ใ‚‹ๅ†ชไน—ๆผ”็ฎ—ใฏ `mathn` ใ‚’็”จใ„ใšใจใ‚‚็พๅœจใฏๅฎŸ็พใ•ใ‚Œใฆใ„ใ‚‹ไบ‹

2. `mathn` ๅ†…ใง่กŒใ‚ใ‚Œใฆใ„ใ‚‹ `\` ใ‚’ `quo` ใงใ‚ชใƒผใƒใƒผใƒฉใ‚คใƒ‰ใ™ใ‚‹ไบ‹ใฏๅ‰ฏไฝœ็”จใŒๅผทใใ€ใพใŸใ“ใฎ็จฎใฎใ‚ชใƒผใƒใƒผใƒฉใ‚คใƒ‰ใŒๅฟ…่ฆใชๅ ด้ขใฏๅคšใใชใใ€ๅฟ…่ฆใชๅ ดๅˆใงใ‚‚่‡ชใ‚‰ๅฎŸ่ฃ…ใ™ใ‚‹ไบ‹ใŒๅคšใ„ใจๆŽจๆธฌใ•ใ‚Œใ‚‹ไบ‹

3. ๅ„็จฎๆ•ฐๅญฆ้–ข้€ฃใฎใƒขใ‚ธใƒฅใƒผใƒซใ‚’requireใ™ใ‚‹ๆฉŸ่ƒฝใ‚‚ใ‚ใพใ‚Šๆ„ๅ‘ณใ‚’ๆŒใŸใชใ„ไบ‹



ไปฅไธŠใฎ็†็”ฑใ‚ˆใ‚Šใ€ใจใ‚Šใ‚ใ‘Rubyใฎๆจ™ๆบ–ใƒฉใ‚คใƒ–ใƒฉใƒชใƒผใง็พๅœจใฎ`mathn` ใ‚’ๆไพ›ใ™ใ‚‹ๅฟ…่ฆใ‚’ๆ„Ÿใ˜ใพใ›ใ‚“.

ใ‚ˆใฃใฆ`mathn`ใ‚’้žๆŽจๅฅจใซใ€ใ‚†ใใ‚†ใใฏๅปƒๆญขใ—ใฆใ—ใพใ†ใฎใŒ่‰ฏใ„ใจ่€ƒใˆใฆใ„ใพใ™.



-- 
https://bugs.ruby-lang.org/

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

In This Thread

Prev Next