Alistair Bush
2010-Nov-08 10:23 UTC
[Ironruby-core] Questions around load order of rb files in Libs and StdLib
More questions.
Im assuming that Lib is loaded before StdLib and can therefore override any
implementations in StdLib right?
Also the Readme file states
"complex18.rb and rational18.rb are taken from MRI 1.8.6
- this should be replaced by IronRuby''s own implementation of
Complex
and Rational builtins in future
gem_prelude.rb taked from Ruby 1.9.2 source distribution and adapted
- should be replaced by an implementation in IronRuby.Libraries.dll"
Im kinda assuming that the first question is correct here. but would we be able
to have the complex/rational and gem_prelude files located in the Lib
directory. I would like it if the StdLib is as vanilla as possible
(preferrably 100% minus any *.so if that makes you happy).
The reason I ask is because I plan on not using the StdLib dir from your tree
at all when I package IronRuby. but will instead point it to ruby19''s.
This
will save hd space/maintainance effort and mean we can fix stdlib bugs without
waiting for ironruby upstream releases.
- Alistair.
Tomas Matousek
2010-Nov-08 17:43 UTC
[Ironruby-core] Questions around load order of rb files in Libs and StdLib
There are currently some small changes in the StdLib to work around IronRuby
bugs. So those need to be fixed first.
Will your IronRuby package require CRuby to be installed first?
Tomas
-----Original Message-----
From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at
rubyforge.org] On Behalf Of Alistair Bush
Sent: Monday, November 08, 2010 2:24 AM
To: ironruby-core at rubyforge.org
Subject: [Ironruby-core] Questions around load order of rb files in Libs and
StdLib
More questions.
Im assuming that Lib is loaded before StdLib and can therefore override any
implementations in StdLib right?
Also the Readme file states
"complex18.rb and rational18.rb are taken from MRI 1.8.6
- this should be replaced by IronRuby''s own implementation of
Complex and Rational builtins in future
gem_prelude.rb taked from Ruby 1.9.2 source distribution and adapted
- should be replaced by an implementation in IronRuby.Libraries.dll"
Im kinda assuming that the first question is correct here. but would we be able
to have the complex/rational and gem_prelude files located in the Lib directory.
I would like it if the StdLib is as vanilla as possible (preferrably 100% minus
any *.so if that makes you happy).
The reason I ask is because I plan on not using the StdLib dir from your tree at
all when I package IronRuby. but will instead point it to ruby19''s.
This will save hd space/maintainance effort and mean we can fix stdlib bugs
without waiting for ironruby upstream releases.
- Alistair.
_______________________________________________
Ironruby-core mailing list
Ironruby-core at rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core
Alistair Bush
2010-Nov-09 07:18 UTC
[Ironruby-core] Questions around load order of rb files in Libs and StdLib
> There are currently some small changes in the StdLib to work around > IronRuby bugs. So those need to be fixed first. > > Will your IronRuby package require CRuby to be installed first? >Initially probably yes.> Tomas > > -----Original Message----- > From: ironruby-core-bounces at rubyforge.org > [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Alistair Bush > Sent: Monday, November 08, 2010 2:24 AM > To: ironruby-core at rubyforge.org > Subject: [Ironruby-core] Questions around load order of rb files in Libs > and StdLib > > More questions. > > Im assuming that Lib is loaded before StdLib and can therefore override any > implementations in StdLib right? > > Also the Readme file states > > "complex18.rb and rational18.rb are taken from MRI 1.8.6 > - this should be replaced by IronRuby''s own implementation of Complex > and Rational builtins in future > > gem_prelude.rb taked from Ruby 1.9.2 source distribution and adapted > - should be replaced by an implementation in IronRuby.Libraries.dll" > > Im kinda assuming that the first question is correct here. but would we be > able to have the complex/rational and gem_prelude files located in the Lib > directory. I would like it if the StdLib is as vanilla as possible > (preferrably 100% minus any *.so if that makes you happy). > > The reason I ask is because I plan on not using the StdLib dir from your > tree at all when I package IronRuby. but will instead point it to > ruby19''s. This will save hd space/maintainance effort and mean we can fix > stdlib bugs without waiting for ironruby upstream releases. > > - Alistair. > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core
Tomas Matousek
2010-Nov-09 17:15 UTC
[Ironruby-core] Questions around load order of rb files in Libs and StdLib
I don''t think it''s good idea to introduce such a dependency. Why would I need to install CRuby if I just wanted to program in Ruby on Mono/.NET? CRuby would not be useful for me and it''s additional 12MB to download and 30MB on disk. Besides JRuby also ships with the standard library. In fact both 1.8 and 1.9 std libs are included. Tomas -----Original Message----- From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Alistair Bush Sent: Monday, November 08, 2010 11:19 PM To: ironruby-core at rubyforge.org Subject: Re: [Ironruby-core] Questions around load order of rb files in Libs and StdLib> There are currently some small changes in the StdLib to work around > IronRuby bugs. So those need to be fixed first. > > Will your IronRuby package require CRuby to be installed first? >Initially probably yes.> Tomas > > -----Original Message----- > From: ironruby-core-bounces at rubyforge.org > [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Alistair > Bush > Sent: Monday, November 08, 2010 2:24 AM > To: ironruby-core at rubyforge.org > Subject: [Ironruby-core] Questions around load order of rb files in > Libs and StdLib > > More questions. > > Im assuming that Lib is loaded before StdLib and can therefore > override any implementations in StdLib right? > > Also the Readme file states > > "complex18.rb and rational18.rb are taken from MRI 1.8.6 > - this should be replaced by IronRuby''s own implementation of > Complex and Rational builtins in future > > gem_prelude.rb taked from Ruby 1.9.2 source distribution and adapted > - should be replaced by an implementation in IronRuby.Libraries.dll" > > Im kinda assuming that the first question is correct here. but would > we be able to have the complex/rational and gem_prelude files located > in the Lib directory. I would like it if the StdLib is as vanilla as > possible (preferrably 100% minus any *.so if that makes you happy). > > The reason I ask is because I plan on not using the StdLib dir from > your tree at all when I package IronRuby. but will instead point it > to ruby19''s. This will save hd space/maintainance effort and mean we > can fix stdlib bugs without waiting for ironruby upstream releases. > > - Alistair. > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core_______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core