News for hackers. Stuff that matters.
Re:Godot Engine open sourced by eropple on Monday February 10, 2014 @03:49AM (#7209861)
Allegro is pretty janky, in my experience. I haven't tried Proton, thanks for the pointer.

I use AngelScript, because the C++ interop is about as good as it gets. Chaiscript isn't bad, but its lack of coherent community scared me off.

Re:Godot Engine open sourced by SomeCallMeTim on Monday February 10, 2014 @02:54PM (#7213279)
Thanks for the Allegro thoughts; I'll just drop that one off my list. It was close to the edge anyway, since it seems to have only recent (beta-quality, untested) Android support.

I'm using Dub for my C++/Lua bindings, which provides exceptional C++ interop. Dub also is easily modified, and with my modifications I can have C++ objects referenced by smart pointers that are wrapped in Lua objects, and those objects can have additional Lua "tags" added to them that persist for the lifespan of the C++ object (even if all Lua instances of the object are collected).

You just can't beat LuaJIT for speed; speed isn't that important for scripting on desktops, but can be relevant on mobile. And it's hard to beat Lua syntax to enable non-programmer scripting options.

Re:Godot Engine open sourced by SomeCallMeTim on Monday February 10, 2014 @07:03PM (#7214700)
>I use AngelScript

Have you seen the LuaJIT FFI by the way? Very similar to what AngelScript offers. But it's also JIT-compiled by the best dynamic JIT compiler in existence. :)