techguywebsolutions

Implementing a spellchecker on 64 kB of RAM back in the 1970s led to a compression algorithm that's

Published on January 01, 0001 by Chef Mia

Spell checking is such a ubiquitous feature of today's software that we expect to see it in browsers and basic text editors, and on just about every computing device. However, 50 years ago, it was a significant challenge to implement due to the paucity of memory that affected even the supercomputers of the era. The solution was so effective that the core technology developed—a lossless compression algorithm—is still in use today.

Okay, so a five-decade computing story is hardly 'news' but thanks to a timely reminder of the work at Hackaday, we felt that it was worth sharing and for that, we must turn to Abhinav Upadhyay's blog on the subject.

You compress it, of course, but that's not as easy as it may seem. For example, I can make a 256 kB text file, containing over 260,000 identical characters, and use a file compression tool and the Lempel–Ziv–Markov chain algorithm (LMZA) to squash it down to just 257 bytes, but that's on a modern computer, with an ultra-fast, multicore processor and huge amounts of speedy RAM—and it's a useless dictionary.

Your next upgrade

Nvidia RTX 5090 Founders Edition graphics card on different backgrounds

(Image credit: Future)

Best CPU for gaming: The top chips from Intel and AMD.
Best gaming motherboard: The right boards.
Best graphics card: Your perfect pixel-pusher awaits.
Best SSD for gaming: Get into the game ahead of the rest.

What matters is the end result. McIlroy's work ultimately resulted in an algorithm that required an astonishing 14 bits of memory [[link]] for each word; a dictionary with 30,000 entries would take up a fraction under 52 kB. The theoretical minimum size with the system is 13.57 bits (the higher memory usage was to make it faster to look up words) so it's fair to say that McIlroy did an incredible job. That level of usable compression remains unmatched to this day, in terms of how close it gets to its theoretical limit.

Part of his solution involved the use of Golomb coding, a form of lossless compression that's still in use today, in the form of Rice coding, as used in FLAC, Apple Lossless, and Lossless JPEG. Modern spell checkers work very differently, of course, and they're certainly not under the same processing and RAM constraints that Johnson and McIlory were—Notepad, for example, requires 32 MB of memory just for itself and that kind of RAM could only be dreamed about in the 1970s.

It's proof, if any was ever needed, that the most creative programming solutions are born under the duress of hardware constraints. Today's computers are so capable, with such vast amounts of resources to hand, that many solutions are of the form 'it just works'—while I'm not suggesting we should go back to a world of kHz clock speeds and pitiful amounts of memory, I do wish software companies would take a leaf from early programmers on how to maximise what you've got.

Reader's Thoughts (3)

HighRoller4732

The variety of games is excellent, including table games like blackjack, roulette, and baccarat, in addition to slots. This keeps the platform interesting and allows me to switch games depending on my mood. I love the overall aesthetic of the platform. The animations, visual effects, and sound design make the gaming experience more dynamic and immersive. It's one of the reasons I keep coming back.

LuckyPlayer2072

The variety of games is excellent, including table games like blackjack, roulette, and baccarat, in addition to slots. This keeps the platform interesting and allows me to switch games depending on my mood. The mobile interface is smooth and intuitive. I can play all my favorite slots on the go without experiencing any lag or glitches. The design is responsive and user-friendly, which makes gaming on my phone just as enjoyable as on my computer.

HighRoller5389

The progressive jackpots are thrilling, and it's exciting to watch the jackpot amounts grow as more players spin the reels. I hope they add even more jackpot slots because it adds a lot of excitement to the gameplay. I really enjoy playing the slot games here. The variety is amazing, from classic reels to modern video slots with interactive bonus rounds. Every spin feels like an adventure, and the graphics and sound effects are top-notch, making the experience immersive and exciting.

Continue the Journey

Is your job cool enough to win you a brand new computer__

**Summary:** Submit photos of the crazy grind that is [[link]] your job to [email protected]. Show us that you’ve got the wackiest, most unique job out there and we’ll send YOU a brand new Dell XPS M1730 ( pictured below )...

View Recipe →

Iwata_ We Always Work On New Hardware

**Summary:** Nintendo does not rest, Nintendo does not stop. Even with the success of the Wii and the DS, Nintendo keeps going. “We do not think that Nintendo DS and Wii [[link]] will last forever,” Iwata told investors in...

View Recipe →

Japanese Game Developers In Trouble

**Summary:** As someone who has as-of-yet not visited Japan, I still imagine it is a place where cutting-edge game development technology is lurking around every corner – stuff so [[link]] far beyond what we have in the U....

View Recipe →

Friendly Links

สล็อต p31 เครดิตฟรี 188 u31.com เข้าสู่ระบบ u31 เครดิตฟรี 31 บาท winner55 ww winner55 สมัคร winner55 เครดิตฟรี​ winner55 ทางเข้า สล็อต​ winner55 com เพื่อ เข้า ระบบ ค่ะ สมัคร winner55 เครดิต ฟรี 188 ทางเข้า winner55 ผ่านโทรศัพท์มือถือ​ Yono all app all yono app go rummy holy rummy royally rummy rummy 365 rummy 51 rummy best rummy golds rummy mars rummy master rummy modern rummy nabob rummy noble rummy satta rummy star rummy wealth rummy win yono all app yono apk yono arcade yono business sbi yono business rummy meet joy rummy rummy new app rummy nobel rummy royal Yono all app Yono all app Yono all app Yono all app สล็อตฟรี สล็อตฟรี ทดลองเล่นสล็อตฟรี โปรโมชั่นสล็อต U31 com h25 com สล็อต m358 เครดิตฟรี 188 w69 slot เครดิตฟรี 188 บาท pxj เข้าสู่ระบบ winner55 ทางเข้า สล็อต l86.com สล็อต pg168 ทางเข้า ทางเข้า w88 ใหม่ ล่าสุด bk8สล็อตฟรี PIGSPIN เครดิตฟรี 100 huc99สล็อตฟรี dafabet mc888 riches888pg jinda44 e19 betdog sbfplay ufa747 pay69 slot ดาวน์โหลด ufa888 riches777 g2g1bet H25 h25 com สล็อต​ h25 com เข้าสู่ระบบ​ h25 com สล็อต​ h25 com เข้าสู่ระบบ​ u31 game เข้าสู่ระบบ u31 เครดิตฟรี 188 u31 เข้าสู่ระบบ w69 w69 slot ทาง เข้า​ w69 slot ทางเข้า​ w69 slot เครดิตฟรี 188 บาท​ w69 เข้าสู่ระบบ​ h25 com สล็อต​ H25 สล็อต w69 slot ทาง เข้า yono all app yono all app w69 slot H25 com สล็อต w69 slot u31.com เข้าสู่ระบบ u31 ทางเข้า u31 เข้าสู่ระบบ ทางเข้า winner55 ผ่านโทรศัพท์ มือ ถือ winner55 ทางเข้า สล็อต