Skip to content

A computer, compiled into the weights of a language model. An exact CPU inside Qwen3.5-4B, with Gated DeltaNet state as RAM.

329 B
Raw Blame
static const char msg[] = "The quick brown fox jumps over the lazy dog";

int main(void) {
    unsigned crc = 0xFFFFFFFFu;
    for (const char *p = msg; *p; p++) {
        crc ^= (unsigned char)*p;
        for (int k = 0; k < 8; k++) crc = (crc >> 1) ^ (0xEDB88320u & -(crc & 1u));
    }
    return (int)~crc; /* 0x414FA339 */
}