Jump to content
  • Advertisement
Sign in to follow this  
WitchLord

AngelScript 2.23.1 is here

This topic is 2267 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

[color=#000000][font=Arial]


A new version is here. This release has been mostly focused on performance improvements and bug fixes, so there are not a lot of visible changes.[/font]
[color=#000000][font=Arial]


Especially the compatibility problems with Mac OS have been fixed. Apple had decided to change their compiler suite in the latest version of Mac OS X, and this made my code that has been working flawlessly for many years to break. As I do not have an up-to-date Mac it took a bit of trial and error to get things working again, but mainly thanks to Matt Bush, from Hitbox Team, who did a lot of testing for me, was I able to correct the problems.[/font]
[color=#000000][font=Arial]


Much of the performance improvements that has been made has been with the way the bytecode is generated. That together with the introduction of some new bytecode instructions, which replace frequently occurring bytecode sequences, should hopefully give a general performance boost for script execututions. I say hopefully, because it really depends on what your scripts look like.[/font]
[color=#000000][font=Arial]


Unfortunately the bytecode changes also means that the JIT compiler that Blind Mind Studios released in February needs to be updated before it can be used with this new version of AngelScript.[/font]
[color=#000000][font=Arial]


I've already contacted them, and they are working on getting the JIT compiler updated, in addition to further enhancements, e.g. support for 64bit Windows. Hopefully they will be able to complete that task soon.[/font]
[color=#000000][font=Arial]


Regards,[/font][color=#000000][font=Arial]


Andreas[/font]

Share this post


Link to post
Share on other sites
Advertisement
Thanks, Andreas!

've been waiting for this version to be relased, so we can bundle it with the upcoming release of Warsow :)

Share this post


Link to post
Share on other sites
[color=#282828][font=helvetica, arial, verdana, tahoma, sans-serif]

[background=rgb(250, 251, 252)]Thanks, Andreas![/background]

[/font]

Share this post


Link to post
Share on other sites
Compilation of debug angelscript library in msvc9 is broken sad.png


1>------ Build started: Project: angelscript, Configuration: Debug Win32 ------
1>Compiling...
1>as_atomic.cpp
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\specstrings.h(171) : error C2008: '$' : unexpected in macro definition
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\specstrings.h(172) : error C2008: '$' : unexpected in macro definition
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\specstrings.h(172) : warning C4005: '__' : macro redefinition
1> C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\specstrings.h(171) : see previous definition of '__'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\specstrings.h(173) : error C2008: '$' : unexpected in macro definition
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\specstrings.h(173) : warning C4005: '__' : macro redefinition
1> C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\specstrings.h(172) : see previous definition of '__'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\specstrings.h(174) : error C2008: '$' : unexpected in macro definition
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\specstrings.h(174) : warning C4005: '__' : macro redefinition
1> C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\specstrings.h(173) : see previous definition of '__'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\specstrings.h(175) : error C2008: '$' : unexpected in macro definition
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\specstrings.h(175) : warning C4005: '__' : macro redefinition

... and so on




#define __$adt_prop(adt,prop)
#define __$adt_add_prop(adt,prop)
#define __$adt_remove_prop(adt,prop)
#define __$adt_transfer_prop(arg)
#define __$adt_type_props(typ)
#define __$volatile
#define __$nonvolatile
#define __$possibly_notnulltermiated
#endif // #if (_MSC_VER >= 1000) && !defined(__midl) && defined(_PREFAST_)



Release build compiles just fine.

The breakage is caused by the fact that language extensions are disabled for the Debug build in C/C++ :: Language tab. Edited by _Vicious_

Share this post


Link to post
Share on other sites
Interesting. I use MSVC9 myself and I always work with the debug version. I wonder how this got through. Thanks for reporting it. I'll look into it.

Share this post


Link to post
Share on other sites

Interesting. I use MSVC9 myself and I always work with the debug version. I wonder how this got through. Thanks for reporting it. I'll look into it.

Rev 1161: "Fixed compiler warnings."

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!