C++ and ruby integration
Moderator: Coders of Rage
C++ and ruby integration
Can someone help me integrating C++ source codes with ruby source codes in Dev-C++? I've looked for dev-paks, tutorials, but nothing was useful. If someone have a dev-pak or know how to do it, please post it HERE!
Re: C++ and ruby integration
Oy vey, now that is a task in a half. I have chills just thinking about it.. but it can be done. I don't think I've ever been able to integrate C++ and Ruby fully, or maybe I'm just a noob.
- Falco Girgis
- Elysian Shadows Team
- Posts: 10294
- Joined: Thu May 20, 2004 2:04 pm
- Current Project: Elysian Shadows
- Favorite Gaming Platforms: Dreamcast, SNES, NES
- Programming Language of Choice: C/++
- Location: Studio Vorbis, AL
- Contact:
Re: C++ and ruby integration
SWIG is going to be your best bet:
http://www.swig.org/
SWIG would probably be your best bet for anything that wasn't specifically written as an embeddable scripting language. Perl, Python, Ruby, and that bunch.
http://www.swig.org/
SWIG would probably be your best bet for anything that wasn't specifically written as an embeddable scripting language. Perl, Python, Ruby, and that bunch.
- M_D_K
- Chaos Rift Demigod
- Posts: 1087
- Joined: Tue Oct 28, 2008 10:33 am
- Favorite Gaming Platforms: PC
- Programming Language of Choice: C/++
- Location: UK
Re: C++ and ruby integration
Dude I wanted to be the SWIG advocate on this one.GyroVorbis wrote:SWIG is going to be your best bet:
http://www.swig.org/
SWIG would probably be your best bet for anything that wasn't specifically written as an embeddable scripting language. Perl, Python, Ruby, and that bunch.
But seriously SWIG is pretty kick ass. I haven't used Dev C++ in ages so I can't remember how to set it up, probably similar to Code::Blocks
Gyro Sheen wrote:you pour their inventory onto my life
IRC wrote: <sparda> The routine had a stack overflow, sorry.
<sparda> Apparently the stack was full of shit.
- Falco Girgis
- Elysian Shadows Team
- Posts: 10294
- Joined: Thu May 20, 2004 2:04 pm
- Current Project: Elysian Shadows
- Favorite Gaming Platforms: Dreamcast, SNES, NES
- Programming Language of Choice: C/++
- Location: Studio Vorbis, AL
- Contact:
Re: C++ and ruby integration
M_D_K is the guy to talk to about SWIG. I admit to never actually using it before...
- M_D_K
- Chaos Rift Demigod
- Posts: 1087
- Joined: Tue Oct 28, 2008 10:33 am
- Favorite Gaming Platforms: PC
- Programming Language of Choice: C/++
- Location: UK
Re: C++ and ruby integration
I guessGyroVorbis wrote:M_D_K is the guy to talk to about SWIG. I admit to never actually using it before...
this should get you started:
- Code::blocks and SWIG some stuff in there that ain't IDE specific
- SWIG just grab the source
- Ruby I think they have prebuilt
Gyro Sheen wrote:you pour their inventory onto my life
IRC wrote: <sparda> The routine had a stack overflow, sorry.
<sparda> Apparently the stack was full of shit.
Re: C++ and ruby integration
Thanks GyroVorbis! It's really useful! and thanks M_D_K and Andy K. for the supportGyroVorbis wrote:SWIG is going to be your best bet:
http://www.swig.org/
SWIG would probably be your best bet for anything that wasn't specifically written as an embeddable scripting language. Perl, Python, Ruby, and that bunch.