This is (should be) the exact equivalent of the Cilia code in D:

Note
In D int and 42 are 32 bits wide, not 64 bits.