Re: [Ironruby-core] How could I get RPC in iron ruby?

2010-04-18 Thread Tomas Matousek
Using native code in your app also requires full trust (implying it won't work in Silverlight) and is potentially a security issue. Any exploit in the library would make IronRuby vulnerable to attacks. Tomas -Original Message- From: ironruby-core-boun...@rubyforge.org [mailto:ironruby

Re: [Ironruby-core] Code Review: Etc module for Mono

2010-04-18 Thread Tomas Matousek
If you pass mono arguments to dev.bat it will set it like so: REM -- Mono if "%1" == "mono" ( set ROWAN_RUNTIME=mono if NOT EXIST %2\mono.exe ( echo Error: Mono Runtime not found at %2 goto END ) ) REM Do not encapsulate this if-statement in parentheses, they might interact with %P

Re: [Ironruby-core] How could I get RPC in iron ruby?

2010-04-18 Thread Wayne Meissner
Performance is one negative - since most of the logic that would normally be implemented in C, Java or C# is implemented in Ruby, it will be slower. Libxml is callback heavy, and depending on how well the FFI impl handles these, the rather large number of transitions between ruby and the native li

Re: [Ironruby-core] Code Review: Etc module for Mono

2010-04-18 Thread Ryan Riley
When I build on mono with rake compile, the debug folder created is called mono_debug. I don't think I added that myself, just in the irtest.rb file. As to the ROWAN_RUNTIME, where is that set? I don't see it in the Dev.bat file. Thanks, Ryan Riley Email: ryan.ri...@panesofglass.org LinkedIn: ht

[Ironruby-core] ri (doc tool) under ironruby

2010-04-18 Thread Morten Maxild
Hi, I cannot get "ri" to work under ironruby 1.0v4. When ever I try to use the iri.bat command ("PS > iri --help" or "PS > ir -S ri --help") I receive the following std output: "No ri documentation found in: Was rdoc run to create documentation? No usage information available for this program

Re: [Ironruby-core] Code Review: Etc module for Mono

2010-04-18 Thread Ryan Riley
Given that I couldn't run tests on Mono and I couldn't figure out how ROWAN_RUNTIME was used, I went with the cmd_prefix. I can strip that back off. As to the mono_debug folder, you'll need to ask Ivan. I think I added the explicit use of that folder, but that's the folder to which the mono build w

Re: [Ironruby-core] How could I get RPC in iron ruby?

2010-04-18 Thread Ryan Riley
Speaking of FFI, what's the tradeoff here? FFI let's us use the existing libraries without porting, but a managed alternative should be more performant, right? Seems like FFI is the winner here, but I may be missing something. Ryan Riley Email: ryan.ri...@panesofglass.org LinkedIn: http://www.li

Re: [Ironruby-core] How could I get RPC in iron ruby?

2010-04-18 Thread Daniele Alessandri
On Sun, Apr 18, 2010 at 09:49, Jimmy Schementi wrote: > So whose going to port it? :) or even implement FFI? Nokogiri is built on top of libxml2 and libxslt so we could have a C# Nokogiri that performs interop with those libraries, but a fully-managed Nokogiri would be cooler (BTW the JRuby guys

Re: [Ironruby-core] How could I get RPC in iron ruby?

2010-04-18 Thread Jimmy Schementi
So whose going to port it? :) or even implement FFI? ~Jimmy On Apr 18, 2010, at 12:02 AM, "Ivan Porto Carrero" mailto:i...@cloudslide.net>> wrote: nokogiri works on windows but not on IronRuby ... it needs a C-extension --- Met vriendelijke groeten - Best regards - Salutations Ivan Porto Carrer

Re: [Ironruby-core] How could I get RPC in iron ruby?

2010-04-18 Thread Ivan Porto Carrero
nokogiri works on windows but not on IronRuby ... it needs a C-extension --- Met vriendelijke groeten - Best regards - Salutations Ivan Porto Carrero Web: http://whiterabbitconsulting.eu - http://flanders.co.nz Twitter: http://twitter.com/casualjim Author of IronRuby in Action (http://manning.com/c