Story Details

  • Amsterdam Compiler Kit for Cray X-MP

    Posted: 2025-01-26 20:17:38

    This project aims to port the Amsterdam Compiler Kit (ACK) to the Cray X-MP supercomputer. The ACK, a retargetable compiler suite popular in the 1980s and early 1990s, is being adapted to generate code for the Cray's unique architecture, including its vector registers and specific instruction set. The current state of the project involves modifying the backend of the C compiler within ACK to target the Cray X-MP. This involves adjusting code generation, register allocation, and other compiler internals to accommodate the Cray's hardware. The project is a work in progress, with the goal of eventually producing a functional C compiler for the Cray X-MP using the ACK framework.

    Summary of Comments ( 0 )
    https://news.ycombinator.com/item?id=42833638

    Hacker News users discuss the Amsterdam Compiler Kit (ACK) for the Cray X-MP, primarily focusing on its historical significance and the challenges of porting and maintaining software for such old hardware. Several commenters reminisce about using ACK and similar tools in the past, highlighting the intricacies of vectorization and optimization for Cray architectures. The discussion touches on the complexities of the Cray instruction set, the cleverness of ACK's code generation, and the difficulties in preserving historical software due to bit rot and lack of accessible hardware. Some express interest in exploring the code further, while others contemplate the effort required to get it running on modern systems or emulators. There's also mention of ACK's broader application beyond Cray systems, and its use in other academic and research contexts.