Developer Builds Browser-Based Phrase Anagram Generator Using Rust and WebAssembly

A software developer created Anagram Architect, a phrase-anagram generator that runs entirely in the browser using Rust, WebAssembly, and JavaScript. The tool works by breaking a source phrase into letter signatures, then recursively searching a dictionary to find multi-word combinations that use exactly the same letters. To prevent the search from freezing the browser, the workload is split across multiple Web Workers that explore different portions of the candidate space in parallel, achieving roughly 36,000 branches per second. Because exact anagrams are often nonsensical, the engine ranks results using signals like word frequency, part-of-speech patterns, and common phrase structures. In a demo search, typing 'The meaning of life' returned 'The fine game of nil' as the top-ranked result after evaluating over 222,000 combinations in about 26 seconds.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in