Skip to main content
GameDev.net gamedev.net
🔒 Locked

AngelScript 2.19.2 released

Started by WitchLord Sep 5, 2010 at 2:18 PM 11 replies 2.9k views
Original Post
WitchLord
WitchLord
This version brings quite a lot of improvements to already existing features, as well as a few bug fixes. There are no major new features, so I suggest you look at the change list for the details.


Perhaps the most interesting addition is the new offline compiler sample. This sample shows how scripts can be built using a generic compiler. The pre-compiled bytecode can then be loaded by the application that will execute it.


Regards,
Andreas

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - <a href="http://www.angelcode.com/tower" rel
_Vicious_
_Vicious_
Keep up the great work!

Don't want to open a new thread for this, but do you mind also including this item -> http://www.gamedev.net/community/forums/topic.asp?topic_id=564370 into the 2.20.0 plan? It's a simple two liner but on other hand, we wouldn't have to maintain our own Makefile for Angelscript..
WitchLord
WitchLord
Done in revision 690.

It was already on my to-do list, but I had forgotten about it. Thanks for reminding me.
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - <a href="http://www.angelcode.com/tower" rel
_Vicious_
_Vicious_
Btw, it'd also make sense to make CXX redefinable in the gnuc Makefile as well, for example, some (if not many) systems have C++ compiler as g++, not gcc. Or, one might want to redefine it to a different gcc version:
CXX=gcc-4.5 make

All you need to do is to change the line:
CXX = gcc
to
CXX ?= gcc

in the Makefile.
WitchLord
WitchLord
Done in revision 694. Thanks.
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - <a href="http://www.angelcode.com/tower" rel
_Vicious_
_Vicious_
Sorry for bothering you with this again, I missed another important bit last time.
There's code in the gnuc Makefile that says:
[source=cpp]ar r $(BIN) $(OBJ)ranlib $(BIN)


it'd be great if you changed it to:
[source=cpp]$(AR) r $(BIN) $(OBJ)$(RANLIB) $(BIN)


with:
[source=cpp]AR ?= arRANLIB ?= ranlib


at the top after the CXX ?= line. In this case, one can reuse the gnuc Makefile for cross compilation as well. In fact, it's even more useful for the purpose than the mingw one.
WitchLord
WitchLord
Done in revision 699. Thanks.

Please don't hesitate to suggest further improvements.
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - <a href="http://www.angelcode.com/tower" rel
_Vicious_
_Vicious_
Btw, is there a chance you're going to implement allocation of value types on stack instead on heap any time soon? For the being, we have to use reference counting on something as simple as a three-component vector with custom memory allocation to avoid excessive malloc/free calls.
WitchLord
WitchLord
I will look into it. I've been putting it off for a while because it brings a series of complications that will have to be solved before I can make it fully work. But I know it is important for the performance so I will definitely have a closer look at it.
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - <a href="http://www.angelcode.com/tower" rel
iram
iram
i realised that i am still on 2.7.0.

how much work do i need to get to this latest version?

what about performance improvement?

many thanks.
WitchLord
WitchLord
That version is more than 4 years old. :)

The list of changes since then is huge, but exactly how much work you will have to upgrade depends on how tightly you have integrated AngelScript in your application.

You're likely to see a significant performance improvement, but I don't have any measures of that old version for comparison so I can't guarantee anything.

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - <a href="http://www.angelcode.com/tower" rel
iram
iram
yes, 4 years is a long time.

the good thing is that Angelscript version that i am using is pretty much stable, so never considered to upgrade it.

i am interested with the inheritance for the new version.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.