General

Profile

HfCloud (Xiangyu Shi)

  • Login: HfCloud
  • Registered on: 01/20/2018
  • Last sign in: 11/19/2022

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 1 1 2

Activity

05/29/2018

03:12 PM Ruby Feature #14792: Multiple RubyVM in one process to make real multi-threading.
Ksec (Ed Chick) wrote:
> HfCloud (Xiangyu Shi) wrote:
> ...
Sorry for so late my reply...
I do not know mruby very much, I saw the examples using it in C language, It looks nice, according to its interfaces I think it can realize mult...
HfCloud (Xiangyu Shi)
05:56 AM Ruby Feature #14792: Multiple RubyVM in one process to make real multi-threading.
shyouhei (Shyouhei Urabe) wrote:
> HfCloud (Xiangyu Shi) wrote:
> ...
Oh...I have seen the relative issues and know you are trying making it. Appreciate your work!.
It's really a lesson indicating that don't abuse global variables ...
HfCloud (Xiangyu Shi)
05:28 AM Ruby Feature #14792: Multiple RubyVM in one process to make real multi-threading.
shyouhei (Shyouhei Urabe) wrote:
> This is what we call the MVM feature. There has been rich amount of efforts to make it possible and still not available in a production-ready manner.
Is there any system API, which can divide threa...
HfCloud (Xiangyu Shi)
05:11 AM Ruby Feature #14792 (Closed): Multiple RubyVM in one process to make real multi-threading.
This is an old problem, maybe running multiple RubyVM is a good way, which can really run ruby code in parallel in one process (Each thread runs a RubyVM)and be compatible with old codes(If some codes depend on the GIL, they can still ... HfCloud (Xiangyu Shi)

01/20/2018

12:01 PM Ruby Feature #14378: Increase Fixnum range on Windows from 31 bits to 63 bits
nobu (Nobuyoshi Nakada) wrote:
> To "fix" this, or relax this limitation, we have to replace tons of `long` in the source code.
Oh...I tried just now. The codes uses so large amount of '#define' to alias types' names, it makes the wo...
HfCloud (Xiangyu Shi)
11:29 AM Ruby Feature #14378: Increase Fixnum range on Windows from 31 bits to 63 bits
I'm using vs2017 and embed ruby interpreter in my game engine. In certain situation I need to use Fixnum to pass values of pointers(64-bits pointers). So ruby will use big integer to pass the pointer's values, what may cause unsatisfying... HfCloud (Xiangyu Shi)
10:24 AM Ruby Feature #14378 (Open): Increase Fixnum range on Windows from 31 bits to 63 bits
On windows, start an IRB of a 64-bits ruby, enter these code:
~~~ruby
(1<<29).equal?(1<<29)
#=>true
(1<<30).equal?(1<<30)
#=>false
~~~
So, it is that FIXNUM of the 64-bits ruby is a 32-bits data?
But my friend try these co...
HfCloud (Xiangyu Shi)

Also available in: Atom