Random
Source Code

undefined behavior

Undefined behavior results when programs attempt to do things for which the standard defines no semantics, and requires no diagnostic either. Examples include dereferencing invalid pointers and dividing by zero. Executing such programs may cause them to produce incorrect results, crash, silently "work", or even format the hard drive.

It is commonly joked that undefined behavior allows the compiler to insert code that will start a game of nethack.

by henke37 May 23, 2014

4👍 1👎


Cancel

Cancel: To abort or interrupt an action by performing a different action instead.

He canceled his slash attack with a dash and then canceled that with another slash attack making the boss a complete joke.

by henke37 May 18, 2014

9👍 7👎


message pump

A piece of code that attends a message queue, processing each message in turn.

Message pumps are a staple of GUI programming, since messages are used to receive input.

The program abandoned the message pump and Windows eventually marked the window as not responding.

by henke37 May 23, 2014


mode 7

Using affine transformations of a 2d image that are changed on a per line basis (usually using the HBLANK IRQ) to project a 2D image as a flat landscape in a 3d perspective.

The mode 7 effects in the game were astonishing.

by henke37 May 18, 2014


Nitro Composer

The middleware music engine that Nintendo offers to DS developers.

It offers a sample based synth, a sequencer with flow control and stream playback.

The Nitro Composer engine is used in nearly all ds games.

by henke37 May 18, 2014