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

Hi Thomas

On 23 Aug, 14:20, Thomas W. [email protected] 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

On 23 Aug, 22:30, John M. [email protected] 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.

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

Aidy

[email protected] 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.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs