Shri Borde
2010-Feb-24 20:20 UTC
[Ironruby-core] Anyone interested in implementing Etc module for Mono?
http://ironruby.codeplex.com/WorkItem/View.aspx?WorkItemId=3543 blocks using RubyGems on *nix. It should be fairly easy to implement Etc.rb as pure Ruby code using the File functionality. The spec for Etc is at http://www.ruby-doc.org/stdlib/libdoc/etc/rdoc/classes/Etc.html. RubyGems just seems to need Etc.getpwuid. Anyone interested in tackling this problem? Shri -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20100224/9946ae77/attachment.html>
Ryan Riley
2010-Feb-25 16:27 UTC
[Ironruby-core] Anyone interested in implementing Etc module for Mono?
If no one has done this by the time I''m moved and have a machine again, I''ll be happy to do it. Ryan Riley Email: ryan.riley at panesofglass.org LinkedIn: http://www.linkedin.com/in/ryanriley Blog: http://wizardsofsmart.net/ Twitter: @panesofglass Website: http://panesofglass.org/ On Wed, Feb 24, 2010 at 2:20 PM, Shri Borde <Shri.Borde at microsoft.com>wrote:> http://ironruby.codeplex.com/WorkItem/View.aspx?WorkItemId=3543 blocks > using RubyGems on *nix. It should be fairly easy to implement Etc.rb as pure > Ruby code using the File functionality. The spec for Etc is at > http://www.ruby-doc.org/stdlib/libdoc/etc/rdoc/classes/Etc.html. RubyGems > just seems to need Etc.getpwuid. > > > > Anyone interested in tackling this problem? > > > > Shri > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20100225/841fda78/attachment.html>
Shri Borde
2010-Feb-25 18:26 UTC
[Ironruby-core] Anyone interested in implementing Etc module for Mono?
Cool! Let us know if you have any questions. From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Ryan Riley Sent: Thursday, February 25, 2010 8:27 AM To: ironruby-core at rubyforge.org Subject: Re: [Ironruby-core] Anyone interested in implementing Etc module for Mono? If no one has done this by the time I''m moved and have a machine again, I''ll be happy to do it. Ryan Riley Email: ryan.riley at panesofglass.org<mailto:ryan.riley at panesofglass.org> LinkedIn: http://www.linkedin.com/in/ryanriley Blog: http://wizardsofsmart.net/ Twitter: @panesofglass Website: http://panesofglass.org/ On Wed, Feb 24, 2010 at 2:20 PM, Shri Borde <Shri.Borde at microsoft.com<mailto:Shri.Borde at microsoft.com>> wrote: http://ironruby.codeplex.com/WorkItem/View.aspx?WorkItemId=3543 blocks using RubyGems on *nix. It should be fairly easy to implement Etc.rb as pure Ruby code using the File functionality. The spec for Etc is at http://www.ruby-doc.org/stdlib/libdoc/etc/rdoc/classes/Etc.html. RubyGems just seems to need Etc.getpwuid. Anyone interested in tackling this problem? Shri _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org<mailto:Ironruby-core at rubyforge.org> http://rubyforge.org/mailman/listinfo/ironruby-core -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20100225/fa00fd8e/attachment.html>
Ryan Riley
2010-Feb-25 20:28 UTC
[Ironruby-core] Anyone interested in implementing Etc module for Mono?
Looks like Rubinius already has a Ruby impl. of Etc for FFI. It''s licensed with BSD. Is that problematic? If so, I''ll start from the specs. Ryan Riley Email: ryan.riley at panesofglass.org LinkedIn: http://www.linkedin.com/in/ryanriley Blog: http://wizardsofsmart.net/ Twitter: @panesofglass Website: http://panesofglass.org/ On Thu, Feb 25, 2010 at 12:26 PM, Shri Borde <Shri.Borde at microsoft.com>wrote:> Cool! Let us know if you have any questions. > > > > *From:* ironruby-core-bounces at rubyforge.org [mailto: > ironruby-core-bounces at rubyforge.org] *On Behalf Of *Ryan Riley > *Sent:* Thursday, February 25, 2010 8:27 AM > *To:* ironruby-core at rubyforge.org > *Subject:* Re: [Ironruby-core] Anyone interested in implementing Etc > module for Mono? > > > > If no one has done this by the time I''m moved and have a machine again, > I''ll be happy to do it. > > > Ryan Riley > > Email: ryan.riley at panesofglass.org > LinkedIn: http://www.linkedin.com/in/ryanriley > Blog: http://wizardsofsmart.net/ > Twitter: @panesofglass > Website: http://panesofglass.org/ > > On Wed, Feb 24, 2010 at 2:20 PM, Shri Borde <Shri.Borde at microsoft.com> > wrote: > > http://ironruby.codeplex.com/WorkItem/View.aspx?WorkItemId=3543 blocks > using RubyGems on *nix. It should be fairly easy to implement Etc.rb as pure > Ruby code using the File functionality. The spec for Etc is at > http://www.ruby-doc.org/stdlib/libdoc/etc/rdoc/classes/Etc.html. RubyGems > just seems to need Etc.getpwuid. > > > > Anyone interested in tackling this problem? > > > > Shri > > > _______________________________________________ > 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 > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20100225/53b7c13e/attachment-0001.html>
Ryan Riley
2010-Feb-25 20:28 UTC
[Ironruby-core] Anyone interested in implementing Etc module for Mono?
Sorry, link: http://github.com/evanphx/rubinius/blob/master/lib/etc.rb.ffi Ryan Riley Email: ryan.riley at panesofglass.org LinkedIn: http://www.linkedin.com/in/ryanriley Blog: http://wizardsofsmart.net/ Twitter: @panesofglass Website: http://panesofglass.org/ On Thu, Feb 25, 2010 at 2:28 PM, Ryan Riley <ryan.riley at panesofglass.org>wrote:> Looks like Rubinius already has a Ruby impl. of Etc for FFI. It''s licensed > with BSD. Is that problematic? If so, I''ll start from the specs. > > Ryan Riley > > Email: ryan.riley at panesofglass.org > LinkedIn: http://www.linkedin.com/in/ryanriley > Blog: http://wizardsofsmart.net/ > Twitter: @panesofglass > Website: http://panesofglass.org/ > > > On Thu, Feb 25, 2010 at 12:26 PM, Shri Borde <Shri.Borde at microsoft.com>wrote: > >> Cool! Let us know if you have any questions. >> >> >> >> *From:* ironruby-core-bounces at rubyforge.org [mailto: >> ironruby-core-bounces at rubyforge.org] *On Behalf Of *Ryan Riley >> *Sent:* Thursday, February 25, 2010 8:27 AM >> *To:* ironruby-core at rubyforge.org >> *Subject:* Re: [Ironruby-core] Anyone interested in implementing Etc >> module for Mono? >> >> >> >> If no one has done this by the time I''m moved and have a machine again, >> I''ll be happy to do it. >> >> >> Ryan Riley >> >> Email: ryan.riley at panesofglass.org >> LinkedIn: http://www.linkedin.com/in/ryanriley >> Blog: http://wizardsofsmart.net/ >> Twitter: @panesofglass >> Website: http://panesofglass.org/ >> >> On Wed, Feb 24, 2010 at 2:20 PM, Shri Borde <Shri.Borde at microsoft.com> >> wrote: >> >> http://ironruby.codeplex.com/WorkItem/View.aspx?WorkItemId=3543 blocks >> using RubyGems on *nix. It should be fairly easy to implement Etc.rb as pure >> Ruby code using the File functionality. The spec for Etc is at >> http://www.ruby-doc.org/stdlib/libdoc/etc/rdoc/classes/Etc.html. RubyGems >> just seems to need Etc.getpwuid. >> >> >> >> Anyone interested in tackling this problem? >> >> >> >> Shri >> >> >> _______________________________________________ >> 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 >> >> >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20100225/d95d0926/attachment.html>
Shri Borde
2010-Feb-25 20:42 UTC
[Ironruby-core] Anyone interested in implementing Etc module for Mono?
I think we should be able to use it. I shall double-check and let you know. In the meantime, would it be possible to manually copy the file into the lib folder try to run igem on *nix to see if there are other blocking issues? From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Ryan Riley Sent: Thursday, February 25, 2010 12:29 PM To: ironruby-core at rubyforge.org Subject: Re: [Ironruby-core] Anyone interested in implementing Etc module for Mono? Sorry, link: http://github.com/evanphx/rubinius/blob/master/lib/etc.rb.ffi Ryan Riley Email: ryan.riley at panesofglass.org<mailto:ryan.riley at panesofglass.org> LinkedIn: http://www.linkedin.com/in/ryanriley Blog: http://wizardsofsmart.net/ Twitter: @panesofglass Website: http://panesofglass.org/ On Thu, Feb 25, 2010 at 2:28 PM, Ryan Riley <ryan.riley at panesofglass.org<mailto:ryan.riley at panesofglass.org>> wrote: Looks like Rubinius already has a Ruby impl. of Etc for FFI. It''s licensed with BSD. Is that problematic? If so, I''ll start from the specs. Ryan Riley Email: ryan.riley at panesofglass.org<mailto:ryan.riley at panesofglass.org> LinkedIn: http://www.linkedin.com/in/ryanriley Blog: http://wizardsofsmart.net/ Twitter: @panesofglass Website: http://panesofglass.org/ On Thu, Feb 25, 2010 at 12:26 PM, Shri Borde <Shri.Borde at microsoft.com<mailto:Shri.Borde at microsoft.com>> wrote: Cool! Let us know if you have any questions. From: ironruby-core-bounces at rubyforge.org<mailto:ironruby-core-bounces at rubyforge.org> [mailto:ironruby-core-bounces at rubyforge.org<mailto:ironruby-core-bounces at rubyforge.org>] On Behalf Of Ryan Riley Sent: Thursday, February 25, 2010 8:27 AM To: ironruby-core at rubyforge.org<mailto:ironruby-core at rubyforge.org> Subject: Re: [Ironruby-core] Anyone interested in implementing Etc module for Mono? If no one has done this by the time I''m moved and have a machine again, I''ll be happy to do it. Ryan Riley Email: ryan.riley at panesofglass.org<mailto:ryan.riley at panesofglass.org> LinkedIn: http://www.linkedin.com/in/ryanriley Blog: http://wizardsofsmart.net/ Twitter: @panesofglass Website: http://panesofglass.org/ On Wed, Feb 24, 2010 at 2:20 PM, Shri Borde <Shri.Borde at microsoft.com<mailto:Shri.Borde at microsoft.com>> wrote: http://ironruby.codeplex.com/WorkItem/View.aspx?WorkItemId=3543 blocks using RubyGems on *nix. It should be fairly easy to implement Etc.rb as pure Ruby code using the File functionality. The spec for Etc is at http://www.ruby-doc.org/stdlib/libdoc/etc/rdoc/classes/Etc.html. RubyGems just seems to need Etc.getpwuid. Anyone interested in tackling this problem? Shri _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org<mailto:Ironruby-core at rubyforge.org> http://rubyforge.org/mailman/listinfo/ironruby-core _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org<mailto:Ironruby-core at rubyforge.org> http://rubyforge.org/mailman/listinfo/ironruby-core -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20100225/83cc15f6/attachment-0001.html>
Ryan Riley
2010-Feb-25 21:28 UTC
[Ironruby-core] Anyone interested in implementing Etc module for Mono?
I can try it next week once I have my machine set up again. I''m unable to try it until then, unfortunately. Also, I noticed that JRuby is sharing the same implementation (or similar), but both are based on FFI, not straight up Ruby. Has anyone started working on an IronRuby FFI impl? If not, would it be better to start working on this and get Etc working with FFI? Ryan Riley Email: ryan.riley at panesofglass.org LinkedIn: http://www.linkedin.com/in/ryanriley Blog: http://wizardsofsmart.net/ Twitter: @panesofglass Website: http://panesofglass.org/ On Thu, Feb 25, 2010 at 2:42 PM, Shri Borde <Shri.Borde at microsoft.com>wrote:> I think we should be able to use it. I shall double-check and let you > know. > > > > In the meantime, would it be possible to manually copy the file into the > lib folder try to run igem on *nix to see if there are other blocking > issues? > > > > *From:* ironruby-core-bounces at rubyforge.org [mailto: > ironruby-core-bounces at rubyforge.org] *On Behalf Of *Ryan Riley > *Sent:* Thursday, February 25, 2010 12:29 PM > > *To:* ironruby-core at rubyforge.org > *Subject:* Re: [Ironruby-core] Anyone interested in implementing Etc > module for Mono? > > > > Sorry, link: http://github.com/evanphx/rubinius/blob/master/lib/etc.rb.ffi > > > Ryan Riley > > Email: ryan.riley at panesofglass.org > LinkedIn: http://www.linkedin.com/in/ryanriley > Blog: http://wizardsofsmart.net/ > Twitter: @panesofglass > Website: http://panesofglass.org/ > > On Thu, Feb 25, 2010 at 2:28 PM, Ryan Riley <ryan.riley at panesofglass.org> > wrote: > > Looks like Rubinius already has a Ruby impl. of Etc for FFI. It''s licensed > with BSD. Is that problematic? If so, I''ll start from the specs. > > > Ryan Riley > > Email: ryan.riley at panesofglass.org > LinkedIn: http://www.linkedin.com/in/ryanriley > Blog: http://wizardsofsmart.net/ > Twitter: @panesofglass > Website: http://panesofglass.org/ > > On Thu, Feb 25, 2010 at 12:26 PM, Shri Borde <Shri.Borde at microsoft.com> > wrote: > > Cool! Let us know if you have any questions. > > > > *From:* ironruby-core-bounces at rubyforge.org [mailto: > ironruby-core-bounces at rubyforge.org] *On Behalf Of *Ryan Riley > *Sent:* Thursday, February 25, 2010 8:27 AM > *To:* ironruby-core at rubyforge.org > *Subject:* Re: [Ironruby-core] Anyone interested in implementing Etc > module for Mono? > > > > If no one has done this by the time I''m moved and have a machine again, > I''ll be happy to do it. > > > Ryan Riley > > Email: ryan.riley at panesofglass.org > LinkedIn: http://www.linkedin.com/in/ryanriley > Blog: http://wizardsofsmart.net/ > Twitter: @panesofglass > Website: http://panesofglass.org/ > > On Wed, Feb 24, 2010 at 2:20 PM, Shri Borde <Shri.Borde at microsoft.com> > wrote: > > http://ironruby.codeplex.com/WorkItem/View.aspx?WorkItemId=3543 blocks > using RubyGems on *nix. It should be fairly easy to implement Etc.rb as pure > Ruby code using the File functionality. The spec for Etc is at > http://www.ruby-doc.org/stdlib/libdoc/etc/rdoc/classes/Etc.html. RubyGems > just seems to need Etc.getpwuid. > > > > Anyone interested in tackling this problem? > > > > Shri > > > _______________________________________________ > 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 > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20100225/63faf6b8/attachment.html>
Jim Deville
2010-Feb-25 21:34 UTC
[Ironruby-core] Anyone interested in implementing Etc module for Mono?
I don?t think we have time to do FFI for our 1.0, but it would be useful to have it implemented soon after ? JD From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Ryan Riley Sent: Thursday, February 25, 2010 1:28 PM To: ironruby-core at rubyforge.org Subject: Re: [Ironruby-core] Anyone interested in implementing Etc module for Mono? I can try it next week once I have my machine set up again. I''m unable to try it until then, unfortunately. Also, I noticed that JRuby is sharing the same implementation (or similar), but both are based on FFI, not straight up Ruby. Has anyone started working on an IronRuby FFI impl? If not, would it be better to start working on this and get Etc working with FFI? Ryan Riley Email: ryan.riley at panesofglass.org<mailto:ryan.riley at panesofglass.org> LinkedIn: http://www.linkedin.com/in/ryanriley Blog: http://wizardsofsmart.net/ Twitter: @panesofglass Website: http://panesofglass.org/ On Thu, Feb 25, 2010 at 2:42 PM, Shri Borde <Shri.Borde at microsoft.com<mailto:Shri.Borde at microsoft.com>> wrote: I think we should be able to use it. I shall double-check and let you know. In the meantime, would it be possible to manually copy the file into the lib folder try to run igem on *nix to see if there are other blocking issues? From: ironruby-core-bounces at rubyforge.org<mailto:ironruby-core-bounces at rubyforge.org> [mailto:ironruby-core-bounces at rubyforge.org<mailto:ironruby-core-bounces at rubyforge.org>] On Behalf Of Ryan Riley Sent: Thursday, February 25, 2010 12:29 PM To: ironruby-core at rubyforge.org<mailto:ironruby-core at rubyforge.org> Subject: Re: [Ironruby-core] Anyone interested in implementing Etc module for Mono? Sorry, link: http://github.com/evanphx/rubinius/blob/master/lib/etc.rb.ffi Ryan Riley Email: ryan.riley at panesofglass.org<mailto:ryan.riley at panesofglass.org> LinkedIn: http://www.linkedin.com/in/ryanriley Blog: http://wizardsofsmart.net/ Twitter: @panesofglass Website: http://panesofglass.org/ On Thu, Feb 25, 2010 at 2:28 PM, Ryan Riley <ryan.riley at panesofglass.org<mailto:ryan.riley at panesofglass.org>> wrote: Looks like Rubinius already has a Ruby impl. of Etc for FFI. It''s licensed with BSD. Is that problematic? If so, I''ll start from the specs. Ryan Riley Email: ryan.riley at panesofglass.org<mailto:ryan.riley at panesofglass.org> LinkedIn: http://www.linkedin.com/in/ryanriley Blog: http://wizardsofsmart.net/ Twitter: @panesofglass Website: http://panesofglass.org/ On Thu, Feb 25, 2010 at 12:26 PM, Shri Borde <Shri.Borde at microsoft.com<mailto:Shri.Borde at microsoft.com>> wrote: Cool! Let us know if you have any questions. From: ironruby-core-bounces at rubyforge.org<mailto:ironruby-core-bounces at rubyforge.org> [mailto:ironruby-core-bounces at rubyforge.org<mailto:ironruby-core-bounces at rubyforge.org>] On Behalf Of Ryan Riley Sent: Thursday, February 25, 2010 8:27 AM To: ironruby-core at rubyforge.org<mailto:ironruby-core at rubyforge.org> Subject: Re: [Ironruby-core] Anyone interested in implementing Etc module for Mono? If no one has done this by the time I''m moved and have a machine again, I''ll be happy to do it. Ryan Riley Email: ryan.riley at panesofglass.org<mailto:ryan.riley at panesofglass.org> LinkedIn: http://www.linkedin.com/in/ryanriley Blog: http://wizardsofsmart.net/ Twitter: @panesofglass Website: http://panesofglass.org/ On Wed, Feb 24, 2010 at 2:20 PM, Shri Borde <Shri.Borde at microsoft.com<mailto:Shri.Borde at microsoft.com>> wrote: http://ironruby.codeplex.com/WorkItem/View.aspx?WorkItemId=3543 blocks using RubyGems on *nix. It should be fairly easy to implement Etc.rb as pure Ruby code using the File functionality. The spec for Etc is at http://www.ruby-doc.org/stdlib/libdoc/etc/rdoc/classes/Etc.html. RubyGems just seems to need Etc.getpwuid. Anyone interested in tackling this problem? Shri _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org<mailto:Ironruby-core at rubyforge.org> http://rubyforge.org/mailman/listinfo/ironruby-core _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org<mailto:Ironruby-core at rubyforge.org> http://rubyforge.org/mailman/listinfo/ironruby-core _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org<mailto:Ironruby-core at rubyforge.org> http://rubyforge.org/mailman/listinfo/ironruby-core -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20100225/0bfde6c4/attachment-0001.html>
Tomas Matousek
2010-Feb-25 21:48 UTC
[Ironruby-core] Anyone interested in implementing Etc module for Mono?
It would actually be better not to use FFI whenever possible. Native code interop is platform specific and thus would require us to maintain multiple implementations. If there is a managed API in Mono that does what we need we should use it. Tomas From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Jim Deville Sent: Thursday, February 25, 2010 1:34 PM To: ironruby-core at rubyforge.org Subject: Re: [Ironruby-core] Anyone interested in implementing Etc module for Mono? I don?t think we have time to do FFI for our 1.0, but it would be useful to have it implemented soon after ? JD From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Ryan Riley Sent: Thursday, February 25, 2010 1:28 PM To: ironruby-core at rubyforge.org Subject: Re: [Ironruby-core] Anyone interested in implementing Etc module for Mono? I can try it next week once I have my machine set up again. I''m unable to try it until then, unfortunately. Also, I noticed that JRuby is sharing the same implementation (or similar), but both are based on FFI, not straight up Ruby. Has anyone started working on an IronRuby FFI impl? If not, would it be better to start working on this and get Etc working with FFI? Ryan Riley Email: ryan.riley at panesofglass.org<mailto:ryan.riley at panesofglass.org> LinkedIn: http://www.linkedin.com/in/ryanriley Blog: http://wizardsofsmart.net/ Twitter: @panesofglass Website: http://panesofglass.org/ On Thu, Feb 25, 2010 at 2:42 PM, Shri Borde <Shri.Borde at microsoft.com<mailto:Shri.Borde at microsoft.com>> wrote: I think we should be able to use it. I shall double-check and let you know. In the meantime, would it be possible to manually copy the file into the lib folder try to run igem on *nix to see if there are other blocking issues? From: ironruby-core-bounces at rubyforge.org<mailto:ironruby-core-bounces at rubyforge.org> [mailto:ironruby-core-bounces at rubyforge.org<mailto:ironruby-core-bounces at rubyforge.org>] On Behalf Of Ryan Riley Sent: Thursday, February 25, 2010 12:29 PM To: ironruby-core at rubyforge.org<mailto:ironruby-core at rubyforge.org> Subject: Re: [Ironruby-core] Anyone interested in implementing Etc module for Mono? Sorry, link: http://github.com/evanphx/rubinius/blob/master/lib/etc.rb.ffi Ryan Riley Email: ryan.riley at panesofglass.org<mailto:ryan.riley at panesofglass.org> LinkedIn: http://www.linkedin.com/in/ryanriley Blog: http://wizardsofsmart.net/ Twitter: @panesofglass Website: http://panesofglass.org/ On Thu, Feb 25, 2010 at 2:28 PM, Ryan Riley <ryan.riley at panesofglass.org<mailto:ryan.riley at panesofglass.org>> wrote: Looks like Rubinius already has a Ruby impl. of Etc for FFI. It''s licensed with BSD. Is that problematic? If so, I''ll start from the specs. Ryan Riley Email: ryan.riley at panesofglass.org<mailto:ryan.riley at panesofglass.org> LinkedIn: http://www.linkedin.com/in/ryanriley Blog: http://wizardsofsmart.net/ Twitter: @panesofglass Website: http://panesofglass.org/ On Thu, Feb 25, 2010 at 12:26 PM, Shri Borde <Shri.Borde at microsoft.com<mailto:Shri.Borde at microsoft.com>> wrote: Cool! Let us know if you have any questions. From: ironruby-core-bounces at rubyforge.org<mailto:ironruby-core-bounces at rubyforge.org> [mailto:ironruby-core-bounces at rubyforge.org<mailto:ironruby-core-bounces at rubyforge.org>] On Behalf Of Ryan Riley Sent: Thursday, February 25, 2010 8:27 AM To: ironruby-core at rubyforge.org<mailto:ironruby-core at rubyforge.org> Subject: Re: [Ironruby-core] Anyone interested in implementing Etc module for Mono? If no one has done this by the time I''m moved and have a machine again, I''ll be happy to do it. Ryan Riley Email: ryan.riley at panesofglass.org<mailto:ryan.riley at panesofglass.org> LinkedIn: http://www.linkedin.com/in/ryanriley Blog: http://wizardsofsmart.net/ Twitter: @panesofglass Website: http://panesofglass.org/ On Wed, Feb 24, 2010 at 2:20 PM, Shri Borde <Shri.Borde at microsoft.com<mailto:Shri.Borde at microsoft.com>> wrote: http://ironruby.codeplex.com/WorkItem/View.aspx?WorkItemId=3543 blocks using RubyGems on *nix. It should be fairly easy to implement Etc.rb as pure Ruby code using the File functionality. The spec for Etc is at http://www.ruby-doc.org/stdlib/libdoc/etc/rdoc/classes/Etc.html. RubyGems just seems to need Etc.getpwuid. Anyone interested in tackling this problem? Shri _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org<mailto:Ironruby-core at rubyforge.org> http://rubyforge.org/mailman/listinfo/ironruby-core _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org<mailto:Ironruby-core at rubyforge.org> http://rubyforge.org/mailman/listinfo/ironruby-core _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org<mailto:Ironruby-core at rubyforge.org> http://rubyforge.org/mailman/listinfo/ironruby-core -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20100225/4bc1b2b0/attachment.html>
Shri Borde
2010-Feb-25 22:20 UTC
[Ironruby-core] Anyone interested in implementing Etc module for Mono?
One of the native functions Etc.rb calls is getpwnam. The mono equivalent seems to be http://www.go-mono.com/docs/index.aspx?link=M%3aMono.Posix.Syscall.getusername(System.Int32) From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Tomas Matousek Sent: Thursday, February 25, 2010 1:49 PM To: ironruby-core at rubyforge.org Subject: Re: [Ironruby-core] Anyone interested in implementing Etc module for Mono? It would actually be better not to use FFI whenever possible. Native code interop is platform specific and thus would require us to maintain multiple implementations. If there is a managed API in Mono that does what we need we should use it. Tomas From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Jim Deville Sent: Thursday, February 25, 2010 1:34 PM To: ironruby-core at rubyforge.org Subject: Re: [Ironruby-core] Anyone interested in implementing Etc module for Mono? I don?t think we have time to do FFI for our 1.0, but it would be useful to have it implemented soon after ? JD From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Ryan Riley Sent: Thursday, February 25, 2010 1:28 PM To: ironruby-core at rubyforge.org Subject: Re: [Ironruby-core] Anyone interested in implementing Etc module for Mono? I can try it next week once I have my machine set up again. I''m unable to try it until then, unfortunately. Also, I noticed that JRuby is sharing the same implementation (or similar), but both are based on FFI, not straight up Ruby. Has anyone started working on an IronRuby FFI impl? If not, would it be better to start working on this and get Etc working with FFI? Ryan Riley Email: ryan.riley at panesofglass.org<mailto:ryan.riley at panesofglass.org> LinkedIn: http://www.linkedin.com/in/ryanriley Blog: http://wizardsofsmart.net/ Twitter: @panesofglass Website: http://panesofglass.org/ On Thu, Feb 25, 2010 at 2:42 PM, Shri Borde <Shri.Borde at microsoft.com<mailto:Shri.Borde at microsoft.com>> wrote: I think we should be able to use it. I shall double-check and let you know. In the meantime, would it be possible to manually copy the file into the lib folder try to run igem on *nix to see if there are other blocking issues? From: ironruby-core-bounces at rubyforge.org<mailto:ironruby-core-bounces at rubyforge.org> [mailto:ironruby-core-bounces at rubyforge.org<mailto:ironruby-core-bounces at rubyforge.org>] On Behalf Of Ryan Riley Sent: Thursday, February 25, 2010 12:29 PM To: ironruby-core at rubyforge.org<mailto:ironruby-core at rubyforge.org> Subject: Re: [Ironruby-core] Anyone interested in implementing Etc module for Mono? Sorry, link: http://github.com/evanphx/rubinius/blob/master/lib/etc.rb.ffi Ryan Riley Email: ryan.riley at panesofglass.org<mailto:ryan.riley at panesofglass.org> LinkedIn: http://www.linkedin.com/in/ryanriley Blog: http://wizardsofsmart.net/ Twitter: @panesofglass Website: http://panesofglass.org/ On Thu, Feb 25, 2010 at 2:28 PM, Ryan Riley <ryan.riley at panesofglass.org<mailto:ryan.riley at panesofglass.org>> wrote: Looks like Rubinius already has a Ruby impl. of Etc for FFI. It''s licensed with BSD. Is that problematic? If so, I''ll start from the specs. Ryan Riley Email: ryan.riley at panesofglass.org<mailto:ryan.riley at panesofglass.org> LinkedIn: http://www.linkedin.com/in/ryanriley Blog: http://wizardsofsmart.net/ Twitter: @panesofglass Website: http://panesofglass.org/ On Thu, Feb 25, 2010 at 12:26 PM, Shri Borde <Shri.Borde at microsoft.com<mailto:Shri.Borde at microsoft.com>> wrote: Cool! Let us know if you have any questions. From: ironruby-core-bounces at rubyforge.org<mailto:ironruby-core-bounces at rubyforge.org> [mailto:ironruby-core-bounces at rubyforge.org<mailto:ironruby-core-bounces at rubyforge.org>] On Behalf Of Ryan Riley Sent: Thursday, February 25, 2010 8:27 AM To: ironruby-core at rubyforge.org<mailto:ironruby-core at rubyforge.org> Subject: Re: [Ironruby-core] Anyone interested in implementing Etc module for Mono? If no one has done this by the time I''m moved and have a machine again, I''ll be happy to do it. Ryan Riley Email: ryan.riley at panesofglass.org<mailto:ryan.riley at panesofglass.org> LinkedIn: http://www.linkedin.com/in/ryanriley Blog: http://wizardsofsmart.net/ Twitter: @panesofglass Website: http://panesofglass.org/ On Wed, Feb 24, 2010 at 2:20 PM, Shri Borde <Shri.Borde at microsoft.com<mailto:Shri.Borde at microsoft.com>> wrote: http://ironruby.codeplex.com/WorkItem/View.aspx?WorkItemId=3543 blocks using RubyGems on *nix. It should be fairly easy to implement Etc.rb as pure Ruby code using the File functionality. The spec for Etc is at http://www.ruby-doc.org/stdlib/libdoc/etc/rdoc/classes/Etc.html. RubyGems just seems to need Etc.getpwuid. Anyone interested in tackling this problem? Shri _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org<mailto:Ironruby-core at rubyforge.org> http://rubyforge.org/mailman/listinfo/ironruby-core _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org<mailto:Ironruby-core at rubyforge.org> http://rubyforge.org/mailman/listinfo/ironruby-core _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org<mailto:Ironruby-core at rubyforge.org> http://rubyforge.org/mailman/listinfo/ironruby-core -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20100225/21d52624/attachment-0001.html>
Ivan Porto Carrero
2010-Feb-26 12:38 UTC
[Ironruby-core] Anyone interested in implementing Etc module for Mono?
You can also look at the Mono.Native and Mono.Posix It''s all in there already On Thu, Feb 25, 2010 at 10:48 PM, Tomas Matousek < Tomas.Matousek at microsoft.com> wrote:> It would actually be better *not* to use FFI whenever possible. Native > code interop is platform specific and thus would require us to maintain > multiple implementations. If there is a managed API in Mono that does what > we need we should use it. > > > > Tomas > > > > *From:* ironruby-core-bounces at rubyforge.org [mailto: > ironruby-core-bounces at rubyforge.org] *On Behalf Of *Jim Deville > *Sent:* Thursday, February 25, 2010 1:34 PM > > *To:* ironruby-core at rubyforge.org > *Subject:* Re: [Ironruby-core] Anyone interested in implementing Etc > module for Mono? > > > > I don?t think we have time to do FFI for our 1.0, but it would be useful to > have it implemented soon after J > > > > JD > > > > *From:* ironruby-core-bounces at rubyforge.org [mailto: > ironruby-core-bounces at rubyforge.org] *On Behalf Of *Ryan Riley > *Sent:* Thursday, February 25, 2010 1:28 PM > *To:* ironruby-core at rubyforge.org > *Subject:* Re: [Ironruby-core] Anyone interested in implementing Etc > module for Mono? > > > > I can try it next week once I have my machine set up again. I''m unable to > try it until then, unfortunately. Also, I noticed that JRuby is sharing the > same implementation (or similar), but both are based on FFI, not straight up > Ruby. > > > > Has anyone started working on an IronRuby FFI impl? If not, would it be > better to start working on this and get Etc working with FFI? > > > Ryan Riley > > Email: ryan.riley at panesofglass.org > LinkedIn: http://www.linkedin.com/in/ryanriley > Blog: http://wizardsofsmart.net/ > Twitter: @panesofglass > Website: http://panesofglass.org/ > > On Thu, Feb 25, 2010 at 2:42 PM, Shri Borde <Shri.Borde at microsoft.com> > wrote: > > I think we should be able to use it. I shall double-check and let you know. > > > > In the meantime, would it be possible to manually copy the file into the > lib folder try to run igem on *nix to see if there are other blocking > issues? > > > > *From:* ironruby-core-bounces at rubyforge.org [mailto: > ironruby-core-bounces at rubyforge.org] *On Behalf Of *Ryan Riley > *Sent:* Thursday, February 25, 2010 12:29 PM > > > *To:* ironruby-core at rubyforge.org > *Subject:* Re: [Ironruby-core] Anyone interested in implementing Etc > module for Mono? > > > > Sorry, link: http://github.com/evanphx/rubinius/blob/master/lib/etc.rb.ffi > > > Ryan Riley > > Email: ryan.riley at panesofglass.org > LinkedIn: http://www.linkedin.com/in/ryanriley > Blog: http://wizardsofsmart.net/ > Twitter: @panesofglass > Website: http://panesofglass.org/ > > On Thu, Feb 25, 2010 at 2:28 PM, Ryan Riley <ryan.riley at panesofglass.org> > wrote: > > Looks like Rubinius already has a Ruby impl. of Etc for FFI. It''s licensed > with BSD. Is that problematic? If so, I''ll start from the specs. > > > Ryan Riley > > Email: ryan.riley at panesofglass.org > LinkedIn: http://www.linkedin.com/in/ryanriley > Blog: http://wizardsofsmart.net/ > Twitter: @panesofglass > Website: http://panesofglass.org/ > > On Thu, Feb 25, 2010 at 12:26 PM, Shri Borde <Shri.Borde at microsoft.com> > wrote: > > Cool! Let us know if you have any questions. > > > > *From:* ironruby-core-bounces at rubyforge.org [mailto: > ironruby-core-bounces at rubyforge.org] *On Behalf Of *Ryan Riley > *Sent:* Thursday, February 25, 2010 8:27 AM > *To:* ironruby-core at rubyforge.org > *Subject:* Re: [Ironruby-core] Anyone interested in implementing Etc > module for Mono? > > > > If no one has done this by the time I''m moved and have a machine again, > I''ll be happy to do it. > > > Ryan Riley > > Email: ryan.riley at panesofglass.org > LinkedIn: http://www.linkedin.com/in/ryanriley > Blog: http://wizardsofsmart.net/ > Twitter: @panesofglass > Website: http://panesofglass.org/ > > On Wed, Feb 24, 2010 at 2:20 PM, Shri Borde <Shri.Borde at microsoft.com> > wrote: > > http://ironruby.codeplex.com/WorkItem/View.aspx?WorkItemId=3543 blocks > using RubyGems on *nix. It should be fairly easy to implement Etc.rb as pure > Ruby code using the File functionality. The spec for Etc is at > http://www.ruby-doc.org/stdlib/libdoc/etc/rdoc/classes/Etc.html. RubyGems > just seems to need Etc.getpwuid. > > > > Anyone interested in tackling this problem? > > > > Shri > > > _______________________________________________ > 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 > > > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20100226/dcf3cf8a/attachment.html>
Ryan Riley
2010-Feb-26 14:07 UTC
[Ironruby-core] Anyone interested in implementing Etc module for Mono?
Awesome! Thanks for the tips! I should have my env set up early next week and will give it a go. Regards, Ryan Riley Email: ryan.riley at panesofglass.org LinkedIn: http://www.linkedin.com/in/ryanriley Blog: http://wizardsofsmart.net/ Twitter: @panesofglass Website: http://panesofglass.org/ On Fri, Feb 26, 2010 at 6:38 AM, Ivan Porto Carrero < ivan at whiterabbitconsulting.eu> wrote:> You can also look at the Mono.Native and Mono.Posix > It''s all in there already > > > On Thu, Feb 25, 2010 at 10:48 PM, Tomas Matousek < > Tomas.Matousek at microsoft.com> wrote: > >> It would actually be better *not* to use FFI whenever possible. Native >> code interop is platform specific and thus would require us to maintain >> multiple implementations. If there is a managed API in Mono that does what >> we need we should use it. >> >> >> >> Tomas >> >> >> >> *From:* ironruby-core-bounces at rubyforge.org [mailto: >> ironruby-core-bounces at rubyforge.org] *On Behalf Of *Jim Deville >> *Sent:* Thursday, February 25, 2010 1:34 PM >> >> *To:* ironruby-core at rubyforge.org >> *Subject:* Re: [Ironruby-core] Anyone interested in implementing Etc >> module for Mono? >> >> >> >> I don?t think we have time to do FFI for our 1.0, but it would be useful >> to have it implemented soon after J >> >> >> >> JD >> >> >> >> *From:* ironruby-core-bounces at rubyforge.org [mailto: >> ironruby-core-bounces at rubyforge.org] *On Behalf Of *Ryan Riley >> *Sent:* Thursday, February 25, 2010 1:28 PM >> *To:* ironruby-core at rubyforge.org >> *Subject:* Re: [Ironruby-core] Anyone interested in implementing Etc >> module for Mono? >> >> >> >> I can try it next week once I have my machine set up again. I''m unable to >> try it until then, unfortunately. Also, I noticed that JRuby is sharing the >> same implementation (or similar), but both are based on FFI, not straight up >> Ruby. >> >> >> >> Has anyone started working on an IronRuby FFI impl? If not, would it be >> better to start working on this and get Etc working with FFI? >> >> >> Ryan Riley >> >> Email: ryan.riley at panesofglass.org >> LinkedIn: http://www.linkedin.com/in/ryanriley >> Blog: http://wizardsofsmart.net/ >> Twitter: @panesofglass >> Website: http://panesofglass.org/ >> >> On Thu, Feb 25, 2010 at 2:42 PM, Shri Borde <Shri.Borde at microsoft.com> >> wrote: >> >> I think we should be able to use it. I shall double-check and let you >> know. >> >> >> >> In the meantime, would it be possible to manually copy the file into the >> lib folder try to run igem on *nix to see if there are other blocking >> issues? >> >> >> >> *From:* ironruby-core-bounces at rubyforge.org [mailto: >> ironruby-core-bounces at rubyforge.org] *On Behalf Of *Ryan Riley >> *Sent:* Thursday, February 25, 2010 12:29 PM >> >> >> *To:* ironruby-core at rubyforge.org >> *Subject:* Re: [Ironruby-core] Anyone interested in implementing Etc >> module for Mono? >> >> >> >> Sorry, link: >> http://github.com/evanphx/rubinius/blob/master/lib/etc.rb.ffi >> >> >> Ryan Riley >> >> Email: ryan.riley at panesofglass.org >> LinkedIn: http://www.linkedin.com/in/ryanriley >> Blog: http://wizardsofsmart.net/ >> Twitter: @panesofglass >> Website: http://panesofglass.org/ >> >> On Thu, Feb 25, 2010 at 2:28 PM, Ryan Riley <ryan.riley at panesofglass.org> >> wrote: >> >> Looks like Rubinius already has a Ruby impl. of Etc for FFI. It''s licensed >> with BSD. Is that problematic? If so, I''ll start from the specs. >> >> >> Ryan Riley >> >> Email: ryan.riley at panesofglass.org >> LinkedIn: http://www.linkedin.com/in/ryanriley >> Blog: http://wizardsofsmart.net/ >> Twitter: @panesofglass >> Website: http://panesofglass.org/ >> >> On Thu, Feb 25, 2010 at 12:26 PM, Shri Borde <Shri.Borde at microsoft.com> >> wrote: >> >> Cool! Let us know if you have any questions. >> >> >> >> *From:* ironruby-core-bounces at rubyforge.org [mailto: >> ironruby-core-bounces at rubyforge.org] *On Behalf Of *Ryan Riley >> *Sent:* Thursday, February 25, 2010 8:27 AM >> *To:* ironruby-core at rubyforge.org >> *Subject:* Re: [Ironruby-core] Anyone interested in implementing Etc >> module for Mono? >> >> >> >> If no one has done this by the time I''m moved and have a machine again, >> I''ll be happy to do it. >> >> >> Ryan Riley >> >> Email: ryan.riley at panesofglass.org >> LinkedIn: http://www.linkedin.com/in/ryanriley >> Blog: http://wizardsofsmart.net/ >> Twitter: @panesofglass >> Website: http://panesofglass.org/ >> >> On Wed, Feb 24, 2010 at 2:20 PM, Shri Borde <Shri.Borde at microsoft.com> >> wrote: >> >> http://ironruby.codeplex.com/WorkItem/View.aspx?WorkItemId=3543 blocks >> using RubyGems on *nix. It should be fairly easy to implement Etc.rb as pure >> Ruby code using the File functionality. The spec for Etc is at >> http://www.ruby-doc.org/stdlib/libdoc/etc/rdoc/classes/Etc.html. RubyGems >> just seems to need Etc.getpwuid. >> >> >> >> Anyone interested in tackling this problem? >> >> >> >> Shri >> >> >> _______________________________________________ >> 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 >> >> >> >> _______________________________________________ >> 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 > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20100226/a079830a/attachment-0001.html>
Ryan Riley
2010-Mar-04 01:21 UTC
[Ironruby-core] Anyone interested in implementing Etc module for Mono?
Well, I''m still trying to get my environment set up and having little luck. Still getting used to Mac OS X and *nix development. Has anyone else attempted the fix? Hopefully I''ll have this sorted soon and can get on it. Regards, Ryan Riley Email: ryan.riley at panesofglass.org LinkedIn: http://www.linkedin.com/in/ryanriley Blog: http://wizardsofsmart.net/ Twitter: @panesofglass Website: http://panesofglass.org/ On Fri, Feb 26, 2010 at 6:07 AM, Ryan Riley <ryan.riley at panesofglass.org>wrote:> Awesome! Thanks for the tips! I should have my env set up early next week > and will give it a go. > > Regards, > > Ryan Riley > > Email: ryan.riley at panesofglass.org > LinkedIn: http://www.linkedin.com/in/ryanriley > Blog: http://wizardsofsmart.net/ > Twitter: @panesofglass > Website: http://panesofglass.org/ > > > On Fri, Feb 26, 2010 at 6:38 AM, Ivan Porto Carrero < > ivan at whiterabbitconsulting.eu> wrote: > >> You can also look at the Mono.Native and Mono.Posix >> It''s all in there already >> >> >> On Thu, Feb 25, 2010 at 10:48 PM, Tomas Matousek < >> Tomas.Matousek at microsoft.com> wrote: >> >>> It would actually be better *not* to use FFI whenever possible. Native >>> code interop is platform specific and thus would require us to maintain >>> multiple implementations. If there is a managed API in Mono that does what >>> we need we should use it. >>> >>> >>> >>> Tomas >>> >>> >>> >>> *From:* ironruby-core-bounces at rubyforge.org [mailto: >>> ironruby-core-bounces at rubyforge.org] *On Behalf Of *Jim Deville >>> *Sent:* Thursday, February 25, 2010 1:34 PM >>> >>> *To:* ironruby-core at rubyforge.org >>> *Subject:* Re: [Ironruby-core] Anyone interested in implementing Etc >>> module for Mono? >>> >>> >>> >>> I don?t think we have time to do FFI for our 1.0, but it would be useful >>> to have it implemented soon after J >>> >>> >>> >>> JD >>> >>> >>> >>> *From:* ironruby-core-bounces at rubyforge.org [mailto: >>> ironruby-core-bounces at rubyforge.org] *On Behalf Of *Ryan Riley >>> *Sent:* Thursday, February 25, 2010 1:28 PM >>> *To:* ironruby-core at rubyforge.org >>> *Subject:* Re: [Ironruby-core] Anyone interested in implementing Etc >>> module for Mono? >>> >>> >>> >>> I can try it next week once I have my machine set up again. I''m unable to >>> try it until then, unfortunately. Also, I noticed that JRuby is sharing the >>> same implementation (or similar), but both are based on FFI, not straight up >>> Ruby. >>> >>> >>> >>> Has anyone started working on an IronRuby FFI impl? If not, would it be >>> better to start working on this and get Etc working with FFI? >>> >>> >>> Ryan Riley >>> >>> Email: ryan.riley at panesofglass.org >>> LinkedIn: http://www.linkedin.com/in/ryanriley >>> Blog: http://wizardsofsmart.net/ >>> Twitter: @panesofglass >>> Website: http://panesofglass.org/ >>> >>> On Thu, Feb 25, 2010 at 2:42 PM, Shri Borde <Shri.Borde at microsoft.com> >>> wrote: >>> >>> I think we should be able to use it. I shall double-check and let you >>> know. >>> >>> >>> >>> In the meantime, would it be possible to manually copy the file into the >>> lib folder try to run igem on *nix to see if there are other blocking >>> issues? >>> >>> >>> >>> *From:* ironruby-core-bounces at rubyforge.org [mailto: >>> ironruby-core-bounces at rubyforge.org] *On Behalf Of *Ryan Riley >>> *Sent:* Thursday, February 25, 2010 12:29 PM >>> >>> >>> *To:* ironruby-core at rubyforge.org >>> *Subject:* Re: [Ironruby-core] Anyone interested in implementing Etc >>> module for Mono? >>> >>> >>> >>> Sorry, link: >>> http://github.com/evanphx/rubinius/blob/master/lib/etc.rb.ffi >>> >>> >>> Ryan Riley >>> >>> Email: ryan.riley at panesofglass.org >>> LinkedIn: http://www.linkedin.com/in/ryanriley >>> Blog: http://wizardsofsmart.net/ >>> Twitter: @panesofglass >>> Website: http://panesofglass.org/ >>> >>> On Thu, Feb 25, 2010 at 2:28 PM, Ryan Riley <ryan.riley at panesofglass.org> >>> wrote: >>> >>> Looks like Rubinius already has a Ruby impl. of Etc for FFI. It''s >>> licensed with BSD. Is that problematic? If so, I''ll start from the specs. >>> >>> >>> Ryan Riley >>> >>> Email: ryan.riley at panesofglass.org >>> LinkedIn: http://www.linkedin.com/in/ryanriley >>> Blog: http://wizardsofsmart.net/ >>> Twitter: @panesofglass >>> Website: http://panesofglass.org/ >>> >>> On Thu, Feb 25, 2010 at 12:26 PM, Shri Borde <Shri.Borde at microsoft.com> >>> wrote: >>> >>> Cool! Let us know if you have any questions. >>> >>> >>> >>> *From:* ironruby-core-bounces at rubyforge.org [mailto: >>> ironruby-core-bounces at rubyforge.org] *On Behalf Of *Ryan Riley >>> *Sent:* Thursday, February 25, 2010 8:27 AM >>> *To:* ironruby-core at rubyforge.org >>> *Subject:* Re: [Ironruby-core] Anyone interested in implementing Etc >>> module for Mono? >>> >>> >>> >>> If no one has done this by the time I''m moved and have a machine again, >>> I''ll be happy to do it. >>> >>> >>> Ryan Riley >>> >>> Email: ryan.riley at panesofglass.org >>> LinkedIn: http://www.linkedin.com/in/ryanriley >>> Blog: http://wizardsofsmart.net/ >>> Twitter: @panesofglass >>> Website: http://panesofglass.org/ >>> >>> On Wed, Feb 24, 2010 at 2:20 PM, Shri Borde <Shri.Borde at microsoft.com> >>> wrote: >>> >>> http://ironruby.codeplex.com/WorkItem/View.aspx?WorkItemId=3543 blocks >>> using RubyGems on *nix. It should be fairly easy to implement Etc.rb as pure >>> Ruby code using the File functionality. The spec for Etc is at >>> http://www.ruby-doc.org/stdlib/libdoc/etc/rdoc/classes/Etc.html. >>> RubyGems just seems to need Etc.getpwuid. >>> >>> >>> >>> Anyone interested in tackling this problem? >>> >>> >>> >>> Shri >>> >>> >>> _______________________________________________ >>> 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 >>> >>> >>> >>> _______________________________________________ >>> 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 >> >> >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20100303/30333943/attachment.html>