ruby into a .dll?

T

Thomas Worm

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
 
A

aidy.lewis

Hi Thomas

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
 
J

John Miller

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.
 
A

aidy.lewis

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,264
Messages
2,571,317
Members
48,003
Latest member
coldDuece

Latest Threads

Top