Ruby into a .dll?

Hi,

Is it possible to 'compile' ruby into a dll?

Regards

Aidy

It seems so: When I look into the bin-directory of my ruby-distribution
for windows I see (among others) the following:

ruby.exe which only has 20kB
and
msvcrt-ruby18.dll which has almost 900kB

So I guess that msvcrt-ruby18.dll is ruby in a dll while ruby.exe is just
the command-line-interface to thiss dll.

Thomas

···

On Thu, 23 Aug 2007 05:59:15 -0700, aidy.lewis@googlemail.com wrote:

Hi,

Is it possible to 'compile' ruby into a dll?

Regards

Aidy

The Ruby interpreter: Yes
Ruby Code: Not yet

Ruby 2.0 could be out by New Years at the soonest (probably will be out
by sometime in 2008) It will be able to compile and byte code, but as I
understand it will still need an interpreter. I have heard speculation
of the ability to do stand alone compilation, but not from anybody who
might actually write the code to make that happen so I would not hold
your breath. For the foreseeable future the answer is no.

···

aidy.lewis@googlemail.com wrote:

Hi,

Is it possible to 'compile' ruby into a dll?

Regards

Aidy

--
Posted via http://www.ruby-forum.com/\.

Hi Thomas

···

On 23 Aug, 14:20, Thomas Worm <use...@s4r.de> wrote:

It seems so: When I look into the bin-directory of my ruby-distribution
for windows I see (among others) the following:

ruby.exe which only has 20kB
and
msvcrt-ruby18.dll which has almost 900kB

I thought the above were written in C.

Aidy

I was thinking I might be able to use IronRuby and create a .net dll?

Aidy

···

On 23 Aug, 22:30, John Miller <jfmille...@yahoo.com> wrote:

Ruby 2.0 could be out by New Years at the soonest (probably will be out
by sometime in 2008) It will be able to compile and byte code, but as I
understand it will still need an interpreter. I have heard speculation
of the ability to do stand alone compilation, but not from anybody who
might actually write the code to make that happen so I would not hold
your breath. For the foreseeable future the answer is no.