Your reply message has not been sent.
Your post was successful
On Wed, Feb 8, 2012 at 16:44, billywhizz <apjohn...@gmail.com> wrote:Yes, and eventually we will. Note that V8 assertions are already
> I'm confused about the usage of assert everywhere in the c++ bindings
> in the production release. shouldn't assert only be used in debug
compiled away in release builds.
> won't all these asserts hurt performance?Not really. They're quite cheap with maybe one or two exceptions.
> as a result of the assert, i don't seem to be able to catch the errorThat's correct. Assertions are sanity checks, they check for internal
> anywhere in uncaughtException handler or in SIG* handlers.
consistency. If an assertion triggers, it means the program is in an
undefined state. A C++ assertion that triggers is *always* a bug so
please report it.
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.