Urgent.News

What's breaking now, across hundreds of outlets.

Tech

Where did WIN32_LEAN_AND_MEAN come from? (2009)

The WIN32_LEAN_AND_MEAN symbol, introduced during the Windows 95 era, serves a specific purpose in C programming. When included with windows.h, it allows programmers to exclude a number of Windows header files, thereby adopting a more streamlined approach akin to the 16-bit Windows philosophy. This method brings back a minimalist set of header files, which is particularly beneficial in an age when precompiled header files were not yet commonplace.

On a 50MHz 80486 system with 8MB of memory, enabling WIN32_LEAN_AND_MEAN could potentially shave three seconds off the compilation time for each C file. For projects comprising around 20 C files, this translates to a significant saving of nearly a minute. Despite the advent of faster processors and precompiled headers, the symbol has become somewhat obsolete.

However, during its inception, it provided a valuable solution for programmers who preferred to manage their header files meticulously. Raymond Chen, a tech historian involved in Windows development for over three decades, has chronicled the evolution of Windows since 2003 through his popular blog, The Old New Thing. His work has been published in a book of the same name, and he occasionally contributes to the Windows Dev Docs Twitter account, sharing anecdotes that may not always be immediately useful.

Rewritten by urgent.news; may contain errors — check the original.

Source: devblogs.microsoft.com

Read the original at devblogs.microsoft.com →

Report a problem with this story

More in Tech

Exchange Online Retention Policy Not Applying: A Read-First Purview vs MRM, Distribution, and Scope Triage

Helpdesk: "Compliance turned on a Delete after 3 years retention policy for all mailboxes in Purview last week. Mail from 2019 is still sitting in people's Inboxes, and Outlook still shows the old…

  • Exchange Online retention policies rely on Microsoft 365 and Exchange MRM systems
  • Troubleshoot by confirming which system the issue relates to and checking policy health
  • Verify policy distribution status and scope, ensuring mailbox meets minimum requirements

Shinobi tells you which Profs are really taking PhDs this year?

This is a submission for the Hacktoberfest Open-Source AI Challenge Week 2: Side Hustle A friend of mine was applying for a PhD.

  • Shinobi AI tool developed to help PhD applicants identify open professors
  • Uses Gemma, vLLM, and Mastra models for AI analysis of professors' websites and publications
  • Available as a service for small fee, emphasizing accurate, up-to-date information for applicants

Zapier vs Make vs n8n: How to Choose an Automation Tool

License price is the wrong thing to compare. Who maintains it in six months, how many branches the workflow has, and where the data is allowed to live will decide it for you.

  • Zapier is fastest to start with largest pre-built app connections library
  • Make offers visual scenario builder with branches and loops without code
  • n8n is self-hostable, code steps available, no per-task fee for updates and security

More from Friday 16 October →