News

Windows 10 Insider Preview Builds in More Linux Support

There's no rest for Windows developers, as one of the more interesting parts of the next Windows 10 release that's accessible by insiders, Build 16176 for PC, is improved support for Windows Subsystem for Linux.

Even with the release of Windows 10 Creators Update last week and out of the way, there's still no rest for Windows developers. And one of the more interesting parts of the next Windows 10 release that's accessible by insiders is improved support for Windows Subsystem for Linux.

Windows Subsystem for Linux, also known as Bash on Ubuntu for Windows, provides developers with a Bash shell for running Linux command-line tools, shell scripts, and apps on a Windows machine without having to spin up a Linux virtual machine.

Available now to Windows Insider Fast Ring participants is Windows 10 Insider Preview Build 16176 for PC+Build 15204 for Mobile, which is rumored to be code-named "Redstone 3" release. Within Build 16176 PC , according to this blog from Microsoft Software Engineer Dona Sarkar, is the much improved WSL.

Sarkar notes in short order that this version of WSL now has serial device support. "Windows COM ports can now be accessed directly from a WSL process!" she writes. (For more detailed coverage of this support, go here.) There's a slew of other improvements, including the addition of a number of IP socket options and filesystem improvements, listed in the release notes here.

Sarkar notes in the blog that Visual Studio developers who want to be able to use it should set their platforms to Windows 10 Creators Update.

If you're willing to take baby steps to learn and run WSL, check out Microsoft's Scott Hanselman blog post here, where he demonstrates a simple approach for writing and debugging Linux C++ apps via Visual Studio using it. His demo uses Visual Studio Community Edition, which is the most basic one, and which is set to use Windows 10 Creators Update. Since you need Bash for Ubuntu installed, he also has a short blog for installing that here. A few more setup steps is all it takes to get to writing and debugging.

"BTW, for those of you, like me, who love your Raspberry Pi tiny Linux computers...this is a great way to write C++ for those little devices as well," adds Hanselman.

WSL documentation is also available on GitHub here.

About the Author

Michael Domingo is a long-time software publishing veteran, having started up and managed several developer publications for the Clipper compiler, Microsoft Access, and Visual Basic. He's also managed IT pubs for 1105 Media, including Microsoft Certified Professional Magazine and Virtualization Review before landing his current gig as Visual Studio Magazine Editor in Chief. Besides his publishing life, he's a professional photographer, whose work can be found by Googling domingophoto.

comments powered by Disqus

Featured

  • Creating Business Applications Using Blazor

    Expert Blazor programmer Michael Washington' will present an upcoming developer education session on building high-performance business applications using Blazor, focusing on core concepts, integration with .NET, and best practices for development.

  • GitHub Celebrates Microsoft's 50th by 'Vibe Coding with Copilot'

    GitHub chose Microsoft's 50th anniversary to highlight a bevy of Copilot enhancements that further the practice of "vibe coding," where AI does all the drudgery according to human supervision.

  • AI Coding Assistants Encroach on Copilot's Special GitHub Relationship

    Microsoft had a great thing going when it had GitHub Copilot all to itself in Visual Studio and Visual Studio Code thanks to its ownership of GitHub, but that's eroding.

  • VS Code v1.99 Is All About Copilot Chat AI, Including Agent Mode

    Agent Mode provides an autonomous editing experience where Copilot plans and executes tasks to fulfill requests. It determines relevant files, applies code changes, suggests terminal commands, and iterates to resolve issues, all while keeping users in control to review and confirm actions.

  • Windows Community Toolkit v8.2 Adds Native AOT Support

    Microsoft shipped Windows Community Toolkit v8.2, an incremental update to the open-source collection of helper functions and other resources designed to simplify the development of Windows applications. The main new feature is support for native ahead-of-time (AOT) compilation.

Subscribe on YouTube