Jump to content

  • Log In with Google      Sign In   
  • Create Account


ThyReaper

Member Since 16 Feb 2012
Offline Last Active Aug 09 2014 09:40 PM

Posts I've Made

In Topic: Object Handle to Array's

09 August 2014 - 02:52 PM

While the compiler could deduce that aptr[1] is a null pointer access, it is valid to have array handles and to access them in that way.


In Topic: Unhandled exception On VS2013

22 June 2014 - 11:06 AM

Your registration is asOBJ_APP_CLASS_CDAK, but it looks like you didn't register an assignment. Any mismatch in these flags tends to cause strange behavior, but I'm not sure if any assignments would be used for this code. The asOBJ_POD flag may also be conflicting here.


In Topic: Performance

13 June 2014 - 10:56 AM

I'm not aware of any recent benchmarks compared to LuaJIT, but in the project I work on, using our JIT (https://github.com/BlindMindStudios/AngelScript-JIT-Compiler), we typically achieve performance roughly 2x-3x slower than comparable C++, and at least 2x faster than general AngelScript, with specific tasks going much faster and almost as fast as native C++.


In Topic: AngelScript 2.28.2 is out

28 March 2014 - 11:49 AM

Our JIT falls back to Angelscript execution if it doesn't know a specific bytecode, so it will keep working as long as no existing bytecodes were changed. This can cause a performance hit.


In Topic: Are script-class member variables initialized automatically?

13 March 2014 - 11:19 AM

Handles are default-initialized to null. Other primitives are not default initialized. All other types use their default constructor, which could also be no initialization for POD types registered by the application.


PARTNERS