Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8294589
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T14:16:15+00:00 2026-06-08T14:16:15+00:00

Came across IronRuby and thought it was pretty interesting. Decided to give it a

  • 0

Came across IronRuby and thought it was pretty interesting. Decided to give it a try.

I have some ruby scripts that I would like to distribute. However, my audience may or may not have ruby installed on their systems, but they would have .net, so I thought I’ll just write bundle together a C# GUI along with the iron ruby dll’s so that they can run these ruby scripts without having to install ruby. And I could also take advantage of making GUI’s in C#.

So I decided to test it by simply running a file

ScriptEngine engine = Ruby.CreateEngine();
engine.ExecuteFile("hello_world.rb");

hello_world.rb contains one line

3.times { p 'hello' }

Then I let my application run and wait…
Several seconds later it printed hello to the console 3 times.

Is it supposed to take a long time for it that ruby engine? I guess I could start the engine and then leave it running for the duration of the program, but having to wait for it to start up can be boring.

I am using IronRuby 1.0 built for .net 2.0 if it makes a difference (I haven’t tried 1.1 but it’s advertised for .net 4 which I don’t want to use)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T14:16:20+00:00Added an answer on June 8, 2026 at 2:16 pm

    It’s probably just the JIT compiling everything at the beginning. If you want to test this out, execute a different script right after the hello world one, it should print to the console instantaneously.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I came across some PHP behavior that I think is subtle, but pretty cool.
I came across something interesting that I can't seem to find any more information
I came across a few articles like this one , which suggest that some
I came across an interesting problem recently. In an ASP.NET Master Page, I have
I came across some Java code that had the following structure: public MyParameterizedFunction(String param1,
Came across some code today that had a javascript array, made in php, using
I came across this very interesting question? I have 300 million SSN numbers (9
Came across couple of scenarios that one would want to pass operators as a
I came across an interesting point that I wasn't able to explain or find
I came across some code that looked like this in a code review the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.