Die

Updated: 06/27/2017 by Computer Hope

A die may refer to any of the following:

Silicon wafer1. The die or processor die is a rectangular pattern on a wafer that contains circuitry to perform a specific function. For example, the picture to the right shows hundreds of dies on the silicon wafer. After the dies have been finished, the wafer is cut and made into chips.

2. The term die may also refer to a command used in scripting and programming languages to stop the script or program from running. For example, in the below code, if the variable $i is greater than or equal to 4 the script would die and print an error on the line number it died; otherwise it would print "I didn't die!" to the screen.

$i = 5;
if ($i >= 4) { die; }
else { print "I didn't die!"; }

Exit, Programming terms, Wafer