Rubinius support for rbSFML

After I finished the chapter deadline for the publisher I had some free time in the weekend. I spent some of it in making rbSFML compatible with the high performing Ruby implementation Rubinius. Sweet! Sure it required me to do a pull request to the Rubinius repository and do some fixes for them but it is now fully supported.

So if you want to do parallel tasks with rbSFML that should now be fully supported as well since Rubinius doesn’t have a GIL so using native threads there is actually worth it.

I’ve encountered a minor problem with it on Arch Linux. Somehow Rubinius gets it to crash inside Nvidia’s library libGL when the opengl context is being destroyed and I don’t understand why. But well I’ll track it down and fix it as soon as I get time. But it is still usable since the crash happens only when you are exiting the application and as it is destroying the last window created.


Making games in Ruby so far

Well I’ve been playing around in rbSFML now for a while and it’s been very satisfying to see how fast and easily your game evolves in Ruby. I recommend this language and I will try to give some tutorials for it.

Of course there are still some problems, like that every math operation is a heavy method call. Ruby truly embed the proverb for optimization:

The fastest code is the one never run.



rbSFML Logo

Well thought it would be nice with a logo that could be used in your projects. I had one made for me some long time ago but never put it up on a good place to be available. So here it is


Remember I am very much interested in anything you guys create so let me know. I already know of an old SFML user who will compete in Ludum Dare with the bindings.

Written by Groogy in: Projects,rbSFML | Tags: , , , ,

SFML 2.0-RC and rbSFML-RC

Since SFML 2.0 is getting a release candidate status now I will have to put out a release candidate for rbSFML as well. A tag has been put up on Groogy/rbSFML for the release candidate 1.0-rc.

Go ahead and use it and have fun coding in ruby! I am most interested in anything you have to show and especially if you find bugs or flaws in the design.

I was hoping to create documentation and RSpec specifications for the bindings but I don’t have the time currently. If anyone is interested to help me out and do some kind of tutorial or something like that please let me know.

Written by Groogy in: rbSFML | Tags: , , , , , ,

Powered by WordPress. Theme: TheBuckmaker