1550s, from Middle French cube (13c.) and directly from Latin cubus, from Greek kybos "a cube, a six-sided die, vertebra," perhaps from PIE root *keu(b)- "to bend, turn." Mathematical sense is from 1550s in English (it also was in the ancient Greek word: the Greeks threw with three dice; the highest possible roll was three sixes).
1580s in the mathematical sense; 1947 with meaning "cut in cubes," from cube (n.). The Greek verbal derivatives from the noun all referred to dice-throwing and gambling. Related: Cubed; cubing.
Three-dimensional visual language for higher-order logic.
"The Cube Language", M. Najork et al, 1991 IEEE Workshop on Visual Langs, Oct 1991, pp.218-224.
[Jargon File]
1. [short for "cubicle"] A module in the open-plan offices used at many programming shops. "I've got the manuals in my cube."
2. A NeXT machine (which resembles a matte-black cube).