Not logged inGosu Forums
Forum back to libgosu.org Help Search Register Login
Up Forum
Search
Topic Gosu/Ruby performance limits By armornick Date 2011-11-23 18:37
Well, as far as I know, I'm making a Win32 application. Maybe the problem is at my end. I'll try installing Gosu again this weekend and I'll post again if I'm still having problems.

EDIT

Alright, so here's to reading the manual; everything works perfectly except that I had to manually define WIN32. I didn't read the getting started guide the first time and it turns out that it contains a lot of interesting stuff even if you already know how VC works :D
Topic Gosu/Ruby performance limits By armornick Date 2011-11-23 17:04
I'm using Visual C++ 2010 Express edition. I'd take a look at the source of Boost to see how they catch the platform.
I'd try to use MinGW but there seems to be some error with g++ too.
Topic Gosu/Ruby performance limits By armornick Date 2011-11-23 16:42
Thanks for all the answers so far, everyone.

I'm not going to be making very intensive projects. Probably a SNES-style RPG or a visual novel. I'm mostly worried about how performant AI would be.

On an off-topic note, I tried the C++ version but I had some problems with compiling the tutorial. The variable _WIN32 didn't seem to be declared so it tried to import either some Mac or Linux headers. Maybe it's because I'm on an x64 system... Should I open a bug report?

Yours truly
armornick
Topic Gosu/Ruby performance limits By armornick Date 2011-11-23 13:24
Hey everyone

I'd like to know what the upper limits of Gosu/Ruby performance are. I don't really like the hassle of programming in C++ (primarily memory management) so I'm interested in being able to program in Ruby. I know that high level languages are usually slow, however large parts of the library are written in C++ so I'm interested how much overhead ruby itself has.

In short, what are the things you'd do with Gosu/Ruby and what are the things you'd only write in pure C++.

It's possible that this question has been asked a lot in the past, so I apologize in advance.

Yours truly

Armor Nick

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill