Story Details

  • Douglas McIlroy responds to Unix spell article with new implementation details

    Posted: 2025-02-06 14:03:39

    Douglas McIlroy, the original author of the Unix spell command, responded to an article detailing its inner workings with further insights into its development. He clarified that the efficient hashing used wasn't a conscious optimization but rather a side effect of the limited memory available on the PDP-7. The stop word list was chosen pragmatically to shrink the dictionary size. McIlroy also revealed that he experimented with stemming algorithms, ultimately discarding them due to excessive performance overhead and concerns about false positives. He highlighted the importance of spell's collaborative development, with Steve Johnson's later refinements significantly improving its accuracy and efficiency.

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

    HN commenters discuss McIlroy's response regarding the original Unix spell program. Several express fascination with the historical context and McIlroy's continued engagement with the topic. Some highlight the elegance and efficiency of the original implementation, particularly its use of hashing and minimal resources. Others note the contrast between then-current hardware limitations and modern capabilities, marveling at what was achieved with so little. A few commenters delve into specific technical details, such as the choice of hashing algorithms and the use of a 64KB PDP-11. The overall sentiment is one of appreciation for both McIlroy's contribution and the ingenuity of early Unix development.