J
Josep Pujol
Hello,
After reading a little, I found out that ruby was not designed with
embedding in mind. However, I really love Ruby and I would like to embed
it into my application.
I would like to know if the problem with embedding ruby is that there
are global variables and also because of the stack.
If this is the case, can I assume that it is safe to use the ruby engine
if I initialize it in the main process, before any thread is launched in
my C++ application (so the stack is in the lower position) and I use
mutex to prevent more than one run at any time (for the global
variables)?
Thank you very much in advance.
Josep.
After reading a little, I found out that ruby was not designed with
embedding in mind. However, I really love Ruby and I would like to embed
it into my application.
I would like to know if the problem with embedding ruby is that there
are global variables and also because of the stack.
If this is the case, can I assume that it is safe to use the ruby engine
if I initialize it in the main process, before any thread is launched in
my C++ application (so the stack is in the lower position) and I use
mutex to prevent more than one run at any time (for the global
variables)?
Thank you very much in advance.
Josep.