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 Reactive Applications in .NET

    In modern applications, data is being retrieved in asynchronous, real-time streams, as traditional pull requests where the clients asks for data from the server are becoming a thing of the past.

  • AI for GitHub Collaboration? Maybe Not So Much

    No doubt GitHub Copilot has been a boon for developers, but AI might not be the best tool for collaboration, according to developers weighing in on a recent social media post from the GitHub team.

  • Visual Studio 2022 Getting VS Code 'Command Palette' Equivalent

    As any Visual Studio Code user knows, the editor's command palette is a powerful tool for getting things done quickly, without having to navigate through menus and dialogs. Now, we learn how an equivalent is coming for Microsoft's flagship Visual Studio IDE, invoked by the same familiar Ctrl+Shift+P keyboard shortcut.

  • .NET 9 Preview 3: 'I've Been Waiting 9 Years for This API!'

    Microsoft's third preview of .NET 9 sees a lot of minor tweaks and fixes with no earth-shaking new functionality, but little things can be important to individual developers.

  • Data Anomaly Detection Using a Neural Autoencoder with C#

    Dr. James McCaffrey of Microsoft Research tackles the process of examining a set of source data to find data items that are different in some way from the majority of the source items.

Subscribe on YouTube