Craig Loewen: Windows Subsystem for Linux – Episode 307

Challenges

  • Integrating Linux tools seamlessly within a Windows environment.
  • Managing memory and resource allocation efficiently.
  • Ensuring security and compatibility with enterprise environments.

Solutions

  • Utilizing virtualization technology to run Linux distributions on Windows.
  • Implementing automatic memory optimization features.
  • Introducing enterprise features like security controls and integration with Microsoft Defender.

Benefits

  • Developers can use their preferred Linux tools without leaving Windows.
  • Improved system performance and resource management.
  • Enhanced security and compliance for enterprise users.

Craig Loewen has had a love for technology ever since he was a child and has grown passionate about building things that empower people. From constructing his own quadcopter for photography to delivering developer tools that aid developers in driving technological innovation, he has done it all.

As a product manager at Microsoft, he is responsible for the Windows Subsystem for Linux (WSL), a developer tool used by over 3 million developers and IT professionals. He defines the product vision and prioritizes the feature roadmap based on customer data, technical feedback, and market studies. On the personal side, he volunteers as a mentor at First Robotics, teaching high school students how to build robots and fostering a passion for STEM.

Topics of Discussion:
[03:52] Craig’s career journey, starting as an intern working on Windows console and WSL features.
[05:18] Common use cases for WSL — allowing developers to use Linux tools while staying on Windows.
[07:43] How to get started with WSL.
[08:59] Does Craig have any favorite Linux programs?
[10:05] New Dev Home feature for managing WSL distros with a graphical interface.
[11:36] How WSL works using virtualization technology.
[13:35] Memory management in WSL — typical usage and automatic optimization.
[15:22] WSL is designed primarily for development scenarios, not production environments.
[20:33] Integration of local AI and small language models with WSL using VS Code AI Toolkit.
[23:37] Using small language models for various tasks, including issue labeling and search functionality.
[27:35] Intro to Sudo for Windows, bringing Linux-like elevated permissions to Windows commands.
[28:39] What exactly is Sudo?
[32:39] New enterprise features for WSL, including security controls and integration with Microsoft Defender.