General

Profile

jjyr (Jinyang Jiang)

Issues

Activity

10/03/2018

03:16 AM Ruby trunk Feature #15192: Introduce a new "shortcut assigning" syntax to convenient setup instance variables
I am surprised this syntax has been repeatedly requested and rejected since 7 years ago.
Write assigning code mayb...

10/02/2018

04:54 AM Ruby trunk Feature #15192 (Open): Introduce a new "shortcut assigning" syntax to convenient setup instance variables
Motivation:
Introduce a new syntax for convenient setup instance variables for objects.
The problem:
Current...

08/16/2018

09:02 PM Ruby trunk Feature #14982: Improve namespace system in ruby to avoiding top-level names chaos
Propose new syntax for https://bugs.ruby-lang.org/issues/14982#note-5 (The core idea is not changing)
``` ruby
# ...

08/13/2018

07:05 AM Ruby trunk Feature #14982: Improve namespace system in ruby to avoiding top-level names chaos
I can imagine how hard to implement the "requiring into isolated binding" correct in VM.
If we want to maintain th...
06:40 AM Ruby trunk Feature #14982: Improve namespace system in ruby to avoiding top-level names chaos
shyouhei (Shyouhei Urabe) wrote:
> I like this idea in general. I too want to have "requiring into isolated Binding"...

08/12/2018

09:12 AM Ruby trunk Feature #14982: Improve namespace system in ruby to avoiding top-level names chaos
I believe namespace can reduce the complexity of organizing codes in large projects.
Recently I write rust code i...

08/11/2018

04:26 AM Ruby trunk Feature #14982 (Open): Improve namespace system in ruby to avoiding top-level names chaos
Updated: https://bugs.ruby-lang.org/issues/14982#note-5
## Why
Ruby has evaluation all class/module names i...

02/21/2018

02:55 PM Ruby trunk Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
Pass a new arg to create GreenThread maybe introduce more problems.
For example:
```
g_thr = Thread.create(green...
02:41 PM Ruby trunk Feature #3187: Allow dynamic Fiber stack size
How about
``` ruby
Thread.with_configure(stack_size: 1024).new(a: 1, b: 2){}
# or
Thread::Config.new(stack_s...

02/04/2018

06:14 AM Ruby trunk Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
Excited to see this awesome feature! I'm implemented fiber-auto-schedule at ruby userland([light](https://github.com/...

Also available in: Atom