thomas,
I would expect (after a year of optimization work :P) that the performance
of IronRuby should be possibly at least good as Ruby1.9. Maybe even better.
What do you think?
-- henon
On Mon, Aug 24, 2009 at 8:29 PM, Tomas Matousek <
tomas.matou...@microsoft.com> wrote:
> Because Ruby is in ge
On Sun, Aug 16, 2009 at 10:54 PM, Orion Edwards wrote:
> I've previously (with IronRuby versions 0.5,0.6 and earlier nightlies) tried
> to do various tasks using IronRuby, for 3 reasons:
> 1. Because ruby is a great language and I want to use it.
> 2. I believe IronRuby is especially valuable for f
We use IronRuby to provide user scripting and light weight plugins for our
C# applications.
Cheers,
-- Henon
On Thu, Jun 18, 2009 at 5:40 AM, Mohammad Azam wrote:
> I have been having fun playing around with IronRuby but one question
> keeps coming to my mind which is Why IronRuby? What purpos
@rubyforge.org
> http://rubyforge.org/mailman/listinfo/ironruby-core
>
>
--
Mit freundlichen Grüßen,
-- Meinrad Recheis
Geschäftsführer
eqqon GmbH
Friedmanngasse 32/20
1160 Wien, Österreich
Tel.: +43 (0) 681-103-122-67
Firma: eqqon GmbH
Rechtsform: Gesellschaft mit beschränkter
Well, it slightly relates to syntax ... because basic ruby types (string,
numeric, array, hash, range, etc.) use to print valid ruby syntax on
inspect. This is very useful for reinterpreting values stored as strings by
the use of inspect.
-- henon
On Fri, Mar 6, 2009 at 7:04 AM, Tomas Matousek wr
Back ticks have a different meaning in ruby. They denote code to be executed
on the system shell.
-- henon
On Thu, Mar 5, 2009 at 10:21 PM, Pete Bacon Darwin <
bacondar...@googlemail.com> wrote:
> How about back ticks? `Some string`?
>
> Since ruby can have single quote string literals it might n
On Thu, Mar 5, 2009 at 10:03 PM, Tomas Matousek <
tomas.matou...@microsoft.com> wrote:
> I'm going to use single quotes for formatting CLR strings via inspect.
> "clr:" prefix is too long and it gets in your way when working mostly with
> CLR strings.
>
> >>> "Some string"
> => "Some string"
> >>>
On Wed, Mar 4, 2009 at 9:03 AM, Tomas Matousek wrote:
> Apart from being mutable they also carry an encoding along. Ruby string
> is basically a resizable byte array with an encoding.
>
>
>
> CLR strings are actually closer to Ruby symbols than to Ruby strings. So we
> have two options on the Ru
Ok, the Execute is convenient enough. In my opinion the highlighted C#
code represents a potential interoperability pitfall and will need to be
documented well. On the ruby side, I think there are no technical
limitations to achieve ruby's string behavior even if the underlying object
is an immutab
On Tue, Mar 3, 2009 at 9:46 PM, Thibaut Barrère
wrote:
> Hi,
>
> while writing specs for Magic, I noticed that:
>
> instance_from(MenuItem, "Hello").text.*to_s*.should == "Hello"
>
> to_s is required to get the assertion to pass. The following will return
> false:
>
> button = Button.new
> button.
On Tue, Mar 3, 2009 at 11:11 PM, Meinrad Recheis
wrote:
> On Tue, Mar 3, 2009 at 9:46 PM, Thibaut Barrère > wrote:
>
>> Hi,
>>
>> while writing specs for Magic, I noticed that:
>>
>> instance_from(MenuItem, "Hello").text.*to_s*.should == "
>
>
>
> The current implementation is not ideal. If you're missing some features on
> the service let us know. We might consider adding them.
>
>
>
> Tomas
>
>
>
> *From:* ironruby-core-boun...@rubyforge.org [mailto:
> ironruby-core-boun...@rubyfo
s?-- Henon
On Tue, Feb 17, 2009 at 11:36 PM, Meinrad Recheis wrote:
> hello,
>
> I am now currently using this ugly hack to get a reasonable (let's say user
> friendly) exception backtrace from an error in executed code:
>
> public object Execute(string code, S
hello,
I am now currently using this ugly hack to get a reasonable (let's say user
friendly) exception backtrace from an error in executed code:
public object Execute(string code, ScriptScope scope)
{
code = @"begin
_=(
"+code+@"
)
rescue Exception
self.__message__=$!.
Hi all,
Once again I am hitting some unexpected behavior in IronRuby. Might be a bug
;)
>>> animation = System::Windows::Media::Animation::DoubleAnimation.new()
=> #
>>> animation.Duration= System::Windows::Duration.new(
System::TimeSpan.FromSeconds(2))
=> #
>>> animation.Duration= System::Wind
On Mon, Feb 9, 2009 at 1:05 PM, Meinrad Recheis
wrote:
> On Mon, Feb 9, 2009 at 12:12 PM, Meinrad Recheis <
> meinrad.rech...@gmail.com> wrote:
>
>> Hello,
>>
>> I am very pleased that I got everything working and found iron ruby in a
>> quite usable state
On Mon, Feb 9, 2009 at 1:11 PM, Meinrad Recheis
wrote:
> On Mon, Feb 9, 2009 at 1:05 PM, Meinrad Recheis > wrote:
>
>> On Mon, Feb 9, 2009 at 12:12 PM, Meinrad Recheis <
>> meinrad.rech...@gmail.com> wrote:
>>
>>> Hello,
>>>
>>> I am ve
On Mon, Feb 9, 2009 at 12:12 PM, Meinrad Recheis
wrote:
> Hello,
>
> I am very pleased that I got everything working and found iron ruby in a
> quite usable state for me. Congratulations.
>
> Question: How do you set a global variable from C#? I found a workaround
> via set
Hello,
I am very pleased that I got everything working and found iron ruby in a
quite usable state for me. Congratulations.
Question: How do you set a global variable from C#? I found a workaround via
setting a local variable scope.SetVariable("a", obj) in the scope and
assigning it to a global v
On Mon, Feb 9, 2009 at 1:14 AM, Tomas Matousek wrote:
> I fixed this on Friday J
>
>
>
> The problem was that Show() declared on Control was hidden by
> Show(IWin32Window) on Form. It took me a while to make it work J. See
> http://rubyforge.org/pipermail/ironruby-core/2009-February/003752.html
Hi all,
I seem to step in every hole there is on my IronRuby test drive. Using the
latest git head I am failing to register a button click event in WPF:
>>> require "WindowsBase, Version=3.0.0.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"
=> true
>>> require "PresentationCore, Version=3.0.
n Sun, Feb 8, 2009 at 9:58 PM, Tomas Matousek wrote:
> Works on the bits I have. Could you try following?
>
>
>
> f.method(:Show).clr_members.each { |m| puts m.to_string }
>
>
>
> It should print
>
>
>
> Void Show()
>
> Void Show(System.Windows.Form
IronRuby 1.0.0.0 on .NET 2.0.50727.1433
Copyright (c) Microsoft Corporation. All rights reserved.
>>> require "System.Windows.Forms, Version=2.0.0.0, Culture=neutral,
PublicKeyTo
ken=b77a5c561934e089"
=> true
>>> Form = System::Windows::Forms::Form
=> System::Windows::Forms::Form
>>> f=Form.new
=>
On Sun, Feb 8, 2009 at 4:30 PM, Curt Hagenlocher wrote:
> Did you add a reference to IronRuby.Libraries.dll to your C# application?
>
Now I think I know what was the problem: I had added a reference to
IronRuby.Libraries.dll do a dll project of my own and from there it did not
get copied while at
Copy Local is true. That is what confuses me.
On Sun, Feb 8, 2009 at 1:28 PM, wrote:
> "Copy local" may be set to false ?
>
> -- Thibaut
>
> Le 8 févr. 09 à 12:38, Meinrad Recheis a
> écrit :
>
> On Sun, Feb 8, 2009 at 12:33 AM, Meinrad Recheis <
> m
On Sun, Feb 8, 2009 at 12:33 AM, Meinrad Recheis
wrote:
> Hi there,
>
> I am trying to initialize an iron ruby engine for execution of code
> snipptes from a c# application. extensive googling has not helped me with
> the task because there seem to have been much changes in i
> Date: Sun, 8 Feb 2009 01:20:48 +0100
>
From: Thibaut Barr?re
>
Subject: Re: [Ironruby-core] how to initialize iron ruby from c#
>
To: ironruby-core@rubyforge.org
>
Message-ID:
>
<4a68b8cf0902071620s6ab94899y167f0d8006c78...@mail.gmail.com>
>
Content-Type: text/plain; charset="iso-8859-1"
Hi there,
I am trying to initialize an iron ruby engine for execution of code snipptes
from a c# application. extensive googling has not helped me with the task
because there seem to have been much changes in iron ruby lately.
Here is my code:
var runtime = Ruby.CreateRuntime();
var engine = m_ru
28 matches
Mail list logo