Thanks for the info. I was wondering why it was different.
Is it possible to compile angelscript by android toolchain
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game
I have decided to give up on angelscript when it comes to the Iphone. That darn thing is just to freaking slow when run in MAX_PORTABILITY_MODE. I did some test where i convert my main script which was causing the huge bottleneck to c++ and then my framerate was 60fps, but when i had it as a script i was getting 25. I think i am just going to go and convert everything into c++
I'm sorry to hear that, but I hardly think it is fair to call AngelScript 'freaking slow'. ;)
All scripting languages are order of multiples slower than native code, unless JIT compilation is used to produce native code from the scripts. That you only got a ~2 times performance increase by changing the main script to native C++ code indicates that the script library isn't really that slow at all.
The fact is probably that the iPhone just doesn't have processing power enough to do as much processing in scripts as you do in your application (independently of which script language you might choose).
Still I recognize that there is still a lot of room for performance improvements within AngelScript, and I will definitely work on getting the most out of it in future versions.
All scripting languages are order of multiples slower than native code, unless JIT compilation is used to produce native code from the scripts. That you only got a ~2 times performance increase by changing the main script to native C++ code indicates that the script library isn't really that slow at all.
The fact is probably that the iPhone just doesn't have processing power enough to do as much processing in scripts as you do in your application (independently of which script language you might choose).
Still I recognize that there is still a lot of room for performance improvements within AngelScript, and I will definitely work on getting the most out of it in future versions.
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game
Do not get me wrong. I love Angelscript and i am still using it. What i have decided to do is actually write a tool that can convert my scripts to c++. That way i can compile them directly for the iphone. So far so good, i wrote a parser which let me parse any section i want in an script and convert that to c++.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement