[#23231] What do you think about changing the return value of Kernel#require and Kernel#load to the source encoding of the required file? — =?ISO-8859-15?Q?Wolfgang_N=E1dasi-Donner?= <ed.odanow@...>

Dear Ruby developers and users!

8 messages 2009/04/17

[#23318] [Feature #1408] 0.1.to_r not equal to (1/10) — Heesob Park <redmine@...>

Feature #1408: 0.1.to_r not equal to (1/10)

19 messages 2009/04/26

[ruby-core:23102] [Bug #1342] signal handling on HP-UX

From: Graham Agnew <redmine@...>
Date: 2009-04-01 23:15:03 UTC
List: ruby-core #23102
Issue #1342 has been updated by Graham Agnew.


Hi Nakada-san,

The only other environment I've tried so far is AIX and I haven't seen this issue there at all.  (But you probably knew that since you responded to my other issue on the Ruby forum. :) )  This problem only happens on HP-UX/Itanium, not AIX.

Just as a bit of background, I am looking to integrate Ruby with a product sold by my company, so eventually I will also be compiling for HP-UX/PA-RISC and Solaris/SPARC.  The product is 64-bit only on the Unix server side and 32-bit on the Windows client side.  Hopefully I won't see this issue there.

In the HP-UX articles referenced above, The following comment is made in the second paper with regard to the assembly code included in the first paper:

> While the assembly code is useful for performance sensitive implementations, it is not portable to 
> other architectures and requires a significant understanding of the Itanium calling conventions. This 
> document extends the previous paper and the man pages by providing example HP-UX C-level source 
> code to implement user level thread switching with the context library routines. These routines are 
> more portable among releases of HP-UX and can be employed by software engineers.

If performance is an issue, then perhaps the assembly from the first paper is useful.  Otherwise, getcontext/setcontext would seem more portable.

Cheers,
Gra.
----------------------------------------
http://redmine.ruby-lang.org/issues/show/1342

----------------------------------------
http://redmine.ruby-lang.org

In This Thread