Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.ruby > #7298

Best way to go about embedding ruby in C application

Newsgroups comp.lang.ruby
Date 2016-11-12 21:54 -0800
Message-ID <1db74ad9-ad04-4b9b-acf0-9e5b5c9999be@googlegroups.com> (permalink)
Subject Best way to go about embedding ruby in C application
From kfjwheeler@gmail.com

Show all headers | View raw


Hello, I'm a first-time poster and new to ruby, but an experienced C programmer.

A friend of mine is developing a game engine in C, and I was thinking of adding ruby scripting capabilities to this engine.  However, I'm not sure what is the best way to go about doing this, so I have a few questions.

1. Should I use standard ruby or mruby?
2. If I use mruby, is there any way to include libraries?  I have heard that requiring files is not supported in mruby.
3. What would be the best way to manage development dependencies on whichever ruby implementation I pick?

Thanks

Back to comp.lang.ruby | Previous | NextNext in thread | Find similar


Thread

Best way to go about embedding ruby in C application kfjwheeler@gmail.com - 2016-11-12 21:54 -0800
  Re: Best way to go about embedding ruby in C application Michael Bruschkewitz <brusch4@gmx.net> - 2016-11-17 23:18 +0100

csiph-web