Die

Updated: 06/30/2019 by Computer Hope

A die may refer to any of the following:

Silicon wafer

1. The die or processor die is a rectangular pattern on a wafer that contains circuitry to perform a specific function. For example, the picture 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 following code, if the variable $i is greater than or equal to four, the script would die. It would then print an error, and the line number in the script that caused it to die. 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