Tag: Microsoft history

  • ‘No bloat, no telemetry, no nonsense.’ Former Microsoft coding wizard makes an OG Notepad clone that’s just 2,686 bytes in size

    Featured image No bloat no telemetry no nonsense Former Microsoft coding wizard makes an OG Notepad clone thats just 2686 bytes in size

    In the world of software, sometimes the most frustrating upgrade is not a new feature, but needless bloat. Take something as ubiquitous as Windows Notepad—a simple text editor—and watch how it evolves over the years into a bloated application packed with features that often feel entirely unnecessary. For some users, this evolution has felt less like an improvement and more like Microsoft’s ongoing penchant for adding extra layers of complexity.

    One former Redmond coder, Dave Plummer, decided to fight back against this trend by turning his attention to the very structure of these applications. Leveraging his background in software exploitation, Plummer began exploring how the system itself could be manipulated to achieve radical efficiency.

    His goal was ambitious: to recreate a version of Notepad that was fundamentally lightweight—aiming for a size closer to the original 1977 Atari 2600 games, which were limited to just 2 kilobytes. The challenge wasn’t just minimizing code; it was figuring out how to strip away the heavy baggage while retaining functionality.

    Plummer’s resulting program was staggeringly small: just 2,686 bytes. This seemingly impossible feat was achieved not by cheating the system, but by understanding its architecture. The key lay in a brilliant trick: instead of replicating standard menu systems and graphical user interfaces that Windows already provides, Plummer used assembly code to simply instruct Windows to display them when needed. This meant standard text editor functions only consumed hundreds of bytes because they were calling upon the operating system’s existing capabilities.

    To finalize this ultra-lightweight executable, Plummer utilized specialized tools like Crinkler, a tool legendary in the demoscene for linking and compressing code efficiently. This allowed him to consolidate all the generated file objects into a cohesive, highly compressed program.

    This approach highlights a crucial modern dilemma: resource management. As we face the ongoing global memory crisis, developers—especially those in the gaming sector—are under immense pressure to reduce memory consumption and keep budgets tight. Finding ways to shave off every precious megabyte is no longer optional; it is a necessity.

    Plummer’s project serves as a compelling exercise for any developer looking to optimize code, but more importantly, it speaks to the enduring need for efficiency in all areas of technology. It proves that sometimes, the most effective way to tackle complexity is not to add more features, but to strip away the unnecessary and rely on the fundamental power already built into the operating system.