From: Sean Middleditch Date: 2002-05-07T03:39:18+09:00 Subject: Re: Embedding Ruby in C++ On Mon, 2002-05-06 at 14:36, Dossy wrote: > On 2002.05.07, Rick Bradley wrote: > > At least there (I don't know how it's done w/ Ruby) if you wanted to > > embed the Perl interpreter into a C/C++ application you included an .h > > file in your C/C++ source, used some macros to initialize the > > interpreter, and used some more macros to call Perl routines and pass > > values back and forth. You linked with -lperl (IIRC) and ended up with > > a big gnarly binary. This is the direction I think the original poster > > was wanting to go -- and I'm curious how to do the same thing with Ruby > > myself. > > I'm thinking of embedding Ruby in an application but I have a > concern: Is the Ruby interpreter thread-safe? Not in the least. Massive use of global variables... > > -- Dossy > > -- > Dossy Shiobara mail: dossy@panoptic.com > Panoptic Computer Network web: http://www.panoptic.com/ > "He realized the fastest way to change is to laugh at your own > folly -- then you can let go and quickly move on." (p. 70)