Jump to content

  • Log In with Google      Sign In   
  • Create Account

- - - - -

AngelScript 1.9.1 FINAL (2004/09/21)


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
9 replies to this topic

#1 Andreas Jonsson   Moderators   -  Reputation: 3356

Like
0Likes
Like

Posted 21 September 2004 - 02:30 PM

I've uploaded the latest version of AngelScript. The changes for this one are:
  • bug fix: The switch case wasn't working correctly for unsorted cases
  • bug fix: The ternary operator ?: should now work correctly with registered types as well
  • Support for the calling convention asCALL_CDECL_OBJFIRST has been added
  • String constants are now concatenated by the compiler
  • The value of AngelScript's boolean true is now configurable. Default is set to 1 like Visual C++
In addition to those changes I've also added many optimizations making the execution about 30% faster. I've been told that this improvement brings the speed of AngelScript up to almost that of Lua. It's now only 16% slower. Of course this was measured in only one test case. More tests are needed to truly compare the performance. I'm not good with Lua so I would appreciate your help with coming up with good tests. I'll continue to optimize the library as I have all reasons to believe that AngelScript should be faster than Lua since it is more closely integrated with C++. There are for example no need for wrapper functions etc. I could of course be wrong, but I will at least try. I'm pretty happy already, considering that Lua has a 5 year headstart on my library.
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

Sponsor:

#2 EddHead   Members   -  Reputation: 140

Like
0Likes
Like

Posted 21 September 2004 - 07:48 PM

I'm gonna try it out, hope it works fine.........i guess there'll be a lot of changes from 1.7.x. I finally have some time on my hands for this one. Thanks Andreas.
Jayanth.KRaptor Entertainment Pvt. Ltd.http://www.raptorentertainment.com---------------------------------------------------------Why Mr. Anderson? Why? ...Why keep fighting? Do you think you're fighting for something - for more than your survival? Can you tell me what it is? Do you even know? Is it freedom, or truth, perhaps peace, could it be for love? Illusions Mr. Anderson, vagaries of perception. Temporary constructs of a feeble human intellect trying desperately to justify an existence without meaning or purpose.

#3 Andreas Jonsson   Moderators   -  Reputation: 3356

Like
0Likes
Like

Posted 22 September 2004 - 02:14 AM

You say that every time [wink]

It seems that your e-mail doesn't work. I'm receiving a bounce from @raptorentertainment.com everytime I send out a news letter on AngelScript releases.

I hope you have collected most of your code interfacing with AngelScript in one place, that should make it easier to upgrade.

For a future version I'll try to create backwards compatible interfaces for AngelScript. These interfaces will wrap the latest version in order to allow compilation with code that uses an older version. They will be slightly slower because of the overhead, but at least they should work.


AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

#4 LDenninger   Members   -  Reputation: 122

Like
0Likes
Like

Posted 22 September 2004 - 02:43 AM

Yeyaaaah, I'm sticking to the habit of using the latest version of AS as soon as it's available :)

#5 Lbas   Members   -  Reputation: 122

Like
0Likes
Like

Posted 23 September 2004 - 02:18 AM

It's a good idea to keep backward compatibility.
Maybe some define (like KEEP_COMPATIBLE or so) should allow us to sometimes try to switch to new version, to get benefit from
latest improvements.

Thanks for this release.
Lbas

#6 Andreas Jonsson   Moderators   -  Reputation: 3356

Like
0Likes
Like

Posted 23 September 2004 - 02:56 AM

I hear you. [smile]

I've been thinking about someway of writing a wrapper that is compatible with older versions. That way I can keep the main library as clean as possible, while still allowing for backwards compatibility (although with a slight overhead).


AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

#7 EddHead   Members   -  Reputation: 140

Like
0Likes
Like

Posted 23 September 2004 - 05:57 PM

Yeah i fixed it.....thanks for letting me know.....it was deleted by mistake.

I was trying to update it to 1.9.1 but i couldn't. it doesnt seem to create an import library for the release version(there in DEBUG though). and the whole .LIB file would'nt compile with my code. i want to use the latest version...but i am hardpressed on time as well. but i need the speed now :D (update loop is dropping below 60fps - not sure of it is AS)

There are HUGE amount of changes between 1.7.1 and 1.9.1....i hope i can make it. will come with feedback
Jayanth.KRaptor Entertainment Pvt. Ltd.http://www.raptorentertainment.com---------------------------------------------------------Why Mr. Anderson? Why? ...Why keep fighting? Do you think you're fighting for something - for more than your survival? Can you tell me what it is? Do you even know? Is it freedom, or truth, perhaps peace, could it be for love? Illusions Mr. Anderson, vagaries of perception. Temporary constructs of a feeble human intellect trying desperately to justify an existence without meaning or purpose.

#8 LDenninger   Members   -  Reputation: 122

Like
0Likes
Like

Posted 24 September 2004 - 12:21 AM

Quote:
Original post by EddHead
Yeah i fixed it.....thanks for letting me know.....it was deleted by mistake.

I was trying to update it to 1.9.1 but i couldn't. it doesnt seem to create an import library for the release version(there in DEBUG though). and the whole .LIB file would'nt compile with my code. i want to use the latest version...but i am hardpressed on time as well. but i need the speed now :D (update loop is dropping below 60fps - not sure of it is AS)

There are HUGE amount of changes between 1.7.1 and 1.9.1....i hope i can make it. will come with feedback


This is why I decided to adopt new versions as early as possible - it kan get kinda tricky if you're switching from a very old to a very new version :)
I rather do small changes each time than having to do a major rewrite every couple of months..

#9 EddHead   Members   -  Reputation: 140

Like
0Likes
Like

Posted 24 September 2004 - 02:01 AM

I should be able to follow this from now on.......but when 1.8 came out i was too busy for it.

[Edited by - EddHead on September 24, 2004 8:01:54 AM]
Jayanth.KRaptor Entertainment Pvt. Ltd.http://www.raptorentertainment.com---------------------------------------------------------Why Mr. Anderson? Why? ...Why keep fighting? Do you think you're fighting for something - for more than your survival? Can you tell me what it is? Do you even know? Is it freedom, or truth, perhaps peace, could it be for love? Illusions Mr. Anderson, vagaries of perception. Temporary constructs of a feeble human intellect trying desperately to justify an existence without meaning or purpose.

#10 Andreas Jonsson   Moderators   -  Reputation: 3356

Like
0Likes
Like

Posted 24 September 2004 - 02:21 AM

I probably won't be able to write the wrapper interface for backwards compatibility so instead I decided to start writing on a document that will help with the upgrades. Below is the current draft. It's a little rough, but hopefully it's understandable. Maybe it can help you with the upgrade:

Upgrade instructions for AngelScript

[Edited by - WitchLord on September 24, 2004 12:21:47 PM]
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS