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

  • Hands On: New VS Code Insiders Build Creates Web Page from Image in Seconds

    New Vision support with GitHub Copilot in the latest Visual Studio Code Insiders build takes a user-supplied mockup image and creates a web page from it in seconds, handling all the HTML and CSS.

  • Naive Bayes Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the naive Bayes regression technique, where the goal is to predict a single numeric value. Compared to other machine learning regression techniques, naive Bayes regression is usually less accurate, but is simple, easy to implement and customize, works on both large and small datasets, is highly interpretable, and doesn't require tuning any hyperparameters.

  • VS Code Copilot Previews New GPT-4o AI Code Completion Model

    The 4o upgrade includes additional training on more than 275,000 high-quality public repositories in over 30 popular programming languages, said Microsoft-owned GitHub, which created the original "AI pair programmer" years ago.

  • Microsoft's Rust Embrace Continues with Azure SDK Beta

    "Rust's strong type system and ownership model help prevent common programming errors such as null pointer dereferencing and buffer overflows, leading to more secure and stable code."

  • Xcode IDE from Microsoft Archrival Apple Gets Copilot AI

    Just after expanding the reach of its Copilot AI coding assistant to the open-source Eclipse IDE, Microsoft showcased how it's going even further, providing details about a preview version for the Xcode IDE from archrival Apple.

Subscribe on YouTube

Upcoming Training Events