Hacker News new | ask | show | jobs
by simplotek 1305 days ago
> Assert usually throws an exception in most environments.

Not really. In C and C++, an assert() calls std:abort. In custom implementations it does whatever you'd like it to do. I've seen assert() call asm('int13;') out of convenience. I never see an exception once.