News for hackers. Stuff that matters.
Re:Godot Engine open sourced by kevingadd on Monday February 10, 2014 @01:54AM (#7209547)
One specific reason why they rolled a custom scripting language is that they needed vector/matrix types (i.e. vector3f, etc) exposed to scripts, and adding those through an interface like cpython or lua's embedding api would have produced scripts that were incredibly slow at manipulating vectors. Presumably luajit might have fixed this, but I can understand that they didn't go that far.
Re:Godot Engine open sourced by kmavm on Monday February 10, 2014 @02:23AM (#7209617)
Torch seems to be a concrete example of a numerically oriented luajit embedding that provides high performance linear algebra primitives. http://torch.ch/
Re:Godot Engine open sourced by oscargrouch on Monday February 10, 2014 @12:16PM (#7212193)
Yeah.. luajit and its amazing ffi module to the rescue here..
Re:Godot Engine open sourced by eropple on Monday February 10, 2014 @06:56PM (#7214674)
AngelScript can use them directly, though. Perhaps it was too immature when they made the decision.