[#30589] [Bug #3391] Use single exclamation mark instead of double exclamation mark for IRB — Diego Viola <redmine@...>

Bug #3391: Use single exclamation mark instead of double exclamation mark for IRB

10 messages 2010/06/04

[#30672] [Bug #3411] Time.local 1916,5,1 #=> 1916-04-30 23:00:00 +0100 — Benoit Daloze <redmine@...>

Bug #3411: Time.local 1916,5,1 #=> 1916-04-30 23:00:00 +0100

12 messages 2010/06/08

[#30699] [Bug #3419] 1.9.2-preview3 possible bug with Rails 3 active_record sqlite_adapter — Joe Sak <redmine@...>

Bug #3419: 1.9.2-preview3 possible bug with Rails 3 active_record sqlite_adapter

9 messages 2010/06/09

[#30734] [Bug #3428] ri outputs ansi escape sequences even when stdout is not a tty — caleb clausen <redmine@...>

Bug #3428: ri outputs ansi escape sequences even when stdout is not a tty

11 messages 2010/06/11

[#30756] [Feature #3436] Spawn the timer thread lazily — Maximilian Gass <redmine@...>

Feature #3436: Spawn the timer thread lazily

15 messages 2010/06/13
[#32686] [Ruby 1.9-Feature#3436] Spawn the timer thread lazily — Mark Somerville <redmine@...> 2010/10/04

Issue #3436 has been updated by Mark Somerville.

[ruby-core:30975] Re: [Feature #1478] Ruby archive

From: Urabe Shyouhei <shyouhei@...>
Date: 2010-06-30 11:03:08 UTC
List: ruby-core #30975
Headius, I'm not against for the idea of archiving itself, and I don't think
compressions being evil.  I'm just doubtful on it.

(2010/06/30 18:59), Charles Oliver Nutter wrote:
> On Sat, May 22, 2010 at 1:21 PM, Urabe Shyouhei <shyouhei@ruby-lang.org> wrote:
>> That's what I'm in doubt.  At the time of its appearance jar needed compression
>> because java aimed to be network-oriented.  But definitely our browser don't
>> run ruby.
> 
> We have users running JRuby in applets in browsers with jar-compressed
> scripts. It's pretty easy to do, and very handy to distribute a single
> compressed file.

That's because you're on Java.  Not all the ruby impls can do that.

> We also have folks starting to use JRuby on Android, where we also
> support loading scripts out of compressed jar files (since that is
> again the format for all Android application archives).

You mean a Ruby's archive format should be targeted to Android?  I don't think
so.  The archiving format's main users should be a normal Ruby user.

# No, I'm not ignoring Android.  I just think that's too platform-specific.
# If compression is vital to Android you can take strategy like tar.gz.

> And JRuby's "jruby-complete.jar" is all of JRuby plus the Ruby
> standard library in a single 10-11MB file, where JRuby alone is about
> 8-9MB of that. It would be closer to 18-19MB if we could not compress
> stdlib into the jar file, and the "complete" jar's execution makes
> heavy use of loading scripts out of the jar itself, similar to what
> the new Ruby archive format could enable. The "complete" jar is used
> in many prepackaged JRuby applications that need a single distribution
> file.

Yes, something like it should be handy.  But the question: should it be
compressed?  You might not be aware of the decompression cost of such archive
because you all JVM users are blinded by the VM's quite sloooooooow startup,
but when it gets more faster than it is now like YARV does today, that can
potentially be a problem.

> The use of jars and compressed jars is a very common, very useful tool
> for JRuby users, and we've supported it for over four years. If Ruby
> is going to adopt a standard archive format, it would seem rather
> strange to ignore what we've done (and what users are doing) in JRuby
> today.

I agree with this sentence.  JRuby should be studied in detail.

Attachments (1)

signature.asc (260 Bytes, application/pgp-signature)

In This Thread