[#25936] [Bug:1.9] [rubygems] $LOAD_PATH includes bin directory — Nobuyoshi Nakada <nobu@...>

Hi,

10 messages 2009/10/05

[#25943] Disabling tainting — Tony Arcieri <tony@...>

Would it make sense to have a flag passed to the interpreter on startup that

16 messages 2009/10/05

[#26028] [Bug #2189] Math.atanh(1) & Math.atanh(-1) should not raise an error — Marc-Andre Lafortune <redmine@...>

Bug #2189: Math.atanh(1) & Math.atanh(-1) should not raise an error

14 messages 2009/10/10

[#26222] [Bug #2250] IO::for_fd() objects' finalization dangerously closes underlying fds — Mike Pomraning <redmine@...>

Bug #2250: IO::for_fd() objects' finalization dangerously closes underlying fds

11 messages 2009/10/22

[#26244] [Bug #2258] Kernel#require inside rb_require() inside rb_protect() inside SysV context fails — Suraj Kurapati <redmine@...>

Bug #2258: Kernel#require inside rb_require() inside rb_protect() inside SysV context fails

24 messages 2009/10/22

[#26361] [Feature #2294] [PATCH] ruby_bind_stack() to embed Ruby in coroutine — Suraj Kurapati <redmine@...>

Feature #2294: [PATCH] ruby_bind_stack() to embed Ruby in coroutine

42 messages 2009/10/27

[#26371] [Bug #2295] segmentation faults — tomer doron <redmine@...>

Bug #2295: segmentation faults

16 messages 2009/10/27

[ruby-core:26002] Re: Disabling tainting

From: Aaron Patterson <aaron@...>
Date: 2009-10-07 20:38:11 UTC
List: ruby-core #26002
On Oct 7, 2009, at 7:59 AM, Kornelius Kalnbach wrote:

> Tony Arcieri wrote:
>> That's fine, but 99.9% of Ruby programs out there don't use it and it
>> impacts performance, so isn't making it an on-by-default
>> configurable option a good idea?
> I would find it confusing to have Ruby versions with different  
> features.
> code that works on one Ruby would no longer work on the
> Ruby-w/o-tainting version, or the other way round. it's complictaed
> enough to have Ruby 1.8.6, 1.8.7, and 1.9.1 for now.
>
> so, no, in my view it would not be a good idea to use a compile-time
> switch that make Rubys with different feature sets.
>
> but it would still be very interesting to measure the performance  
> impact
> of some features :)
>
> does JRuby have such a switch?

No.  JRuby just doesn't implement $SAFE.

     [apatterson@higgins ~]$ ~/Downloads/jruby-1.3.1/bin/jruby - 
e'$SAFE = 1'
     -e:1 warning: SAFE levels are not supported in JRuby
     [apatterson@higgins ~]$

---
Aaron Patterson
http://tenderlovemaking.com





In This Thread