[angelscript] AS 2.0.0 WIP 4

  • From: "Andreas Jonsson" <andreas@xxxxxxxxxxxxx>
  • To: "angelscript" <angelscript@xxxxxxxxxxxxx>
  • Date: Wed, 19 Jan 2005 22:51:36 -0200

I just uploaded AS 2.0.0 WIP 4. You may consider this a release candidate 
because I have finished all the changes I wanted to do, and I've corrected all 
the bugs I know of. I have also made all the necessary updates to the 
documentation. It is pretty much finished already, but I'll be making some 
tests and perhaps a few improvements to the documentation before making the 
final release on sunday (planned, but not guaranteed).
The changes in this version includes:

- Bug fixes, quite a few actually
- Complete support for Dreamcast. Big thanks to Fredrik Ehnbom for helping me 
test this and showing me what needed to be done
- The assembler VM is now working again
- The library is now by default compiled to generate line cues for 
ExecuteStep(), if you want to turn this off and improve performance slightly 
compile the library with BUILD_WITHOUT_LINE_CUES.

I've also made some final performance tests on the library to compare it 
against 1.10.1c. As expected 2.0.0 is a little slower than it's older brother. 
For primitive types the difference is only about 10%. For registered types the 
difference is a lot bigger though, almost half of the performance of 1.10.1c. I 
believe the performance for primitive types will improve to be equal or maybe 
even better, and for registered types the performance will improve a lot but I 
don't believe it will reach the performance of 1.10.1c. But this is all 
expected, adding security and flexibility usually has a performance impact. 

Version 2.0.0 is a lot more secure than 1.10.1c which I believe is very 
important. 2.0.0 is also a lot more flexible in the way it handles registered 
types. It will soon be possible to register custom memory management per object 
type, behaviour functions for serializing context states, and dynamic casting 
of object types in class hierarchies. I will also add script declared 
structures, that will be possible to store outside the scripts so that 
application classes can be extended with script defined data. (Well, this is at 
least what I want to do and that I believe is possible, but as always its best 
not to believe it 100% until it is actually implemented and working.)

I intend to make at least one last update to the 1.10.1 version of the library 
with bug fixes that I've found during the development of 2.0.0. But after that 
I'm not so sure I will be paying attention to that version anymore, other than 
with requested bug fixes.

Regards,
Andreas


AngelScript - AngelCode Scripting Library
http://www.angelcode.com/angelscript/
http://www.angelcode.com/forums/

Other related posts:

  • » [angelscript] AS 2.0.0 WIP 4