{"id":25219,"date":"2019-05-10T15:43:06","date_gmt":"2019-05-10T19:43:06","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=25219"},"modified":"2019-05-13T14:26:08","modified_gmt":"2019-05-13T18:26:08","slug":"windows-to-include-a-full-linux-kernel","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2019\/05\/10\/windows-to-include-a-full-linux-kernel\/","title":{"rendered":"Windows to Include a Full Linux Kernel"},"content":{"rendered":"<p><a href=\"https:\/\/devblogs.microsoft.com\/commandline\/announcing-wsl-2\/\">Microsoft<\/a> (via <a href=\"https:\/\/twitter.com\/migueldeicaza\/status\/1125487506093367297\">Miguel de Icaza<\/a>):<\/p>\n<blockquote cite=\"https:\/\/devblogs.microsoft.com\/commandline\/announcing-wsl-2\/\">\n<p>We will be shipping a real Linux kernel with Windows that will make full system call compatibility possible. This isn&rsquo;t the first time Microsoft has shipped a Linux kernel, as we have already shipped one in 2018 when we announced Azure Sphere. However, this will be the first time a Linux kernel is shipped with Windows, which is a true testament to how much Microsoft loves Linux! We&rsquo;ll be building the kernel in house from the latest stable branch, based on the source available at kernel.org.<\/p>\n<p>[&#8230;]<\/p>\n<p>WSL 2 uses the latest and greatest in virtualization technology to run its Linux kernel inside of a lightweight utility virtual machine (VM). However, WSL 2 will NOT be a traditional VM experience. When you think of a VM, you probably think of something that is slow to boot up, exists in a very isolated environment, consumes lots of computer resources and requires your time to manage it. WSL 2 does not have these attributes. It will still give the remarkable benefits of WSL 1: High levels of integration between Windows and Linux, extremely fast boot times, small resource footprint, and best of all will require no VM configuration or management.<\/p>\n<\/blockquote>\n\n<p>What a time to be alive. Does this mean that Microsoft will now ship <a href=\"https:\/\/mjtsai.com\/blog\/2019\/01\/04\/mojaves-rsync-from-the-days-of-tiger\/\">more up-to-date Unix tools<\/a> than Apple?<\/p>\n\n<p><a href=\"https:\/\/char.gd\/recharged\/daily\/windows-now-comes-with-an-extra-linux-sprinkle\">Owen Williams<\/a>:<\/p>\n<blockquote cite=\"https:\/\/char.gd\/recharged\/daily\/windows-now-comes-with-an-extra-linux-sprinkle\">\n<p>Including a Linux kernel in Windows changes the game. Instead of a Linux environment that has barriers and known edge cases, this is a full-on, no-limitation, macOS-esque Linux environment&mdash;with a notable improvement: it&rsquo;s containerized so you can dispose of it and get a fresh environment in a second, then just keep working.<\/p>\n<p>[&#8230;]<\/p>\n<p>The master stroke here is that including a Linux kernel in Windows&nbsp;<em>also&nbsp;<\/em>dramatically changes the cloud story for Microsoft. Windows Server just gained a huge leg up, now able to run Linux and Windows tooling side-by-side on the same system, making developer tooling and deployment of code significantly easier.<\/p>\n<p>[&#8230;]<\/p>\n<p>By building the absolute best developer experience&mdash;from acquiring GitHub, to creating the most popular coding tool VSCode, and now, a fully-functioning Linux environment, Microsoft can say it provides the best tools for developers, period, wherever they are.<\/p>\n<\/blockquote>\n\n\n<p><a href=\"https:\/\/www.theverge.com\/2019\/5\/6\/18534687\/microsoft-windows-10-linux-kernel-feature\">Tom Warren<\/a>:<\/p>\n<blockquote cite=\"https:\/\/www.theverge.com\/2019\/5\/6\/18534687\/microsoft-windows-10-linux-kernel-feature\"><p>Microsoft also <a href=\"https:\/\/www.theverge.com\/2019\/5\/6\/18527870\/microsoft-windows-terminal-command-line-tool\">announced Windows Terminal<\/a> today, a new command line app for Windows. It&rsquo;s designed to be the central location for access to environments like PowerShell, Cmd, and the Windows Subsystem for Linux (WSL).<\/p><\/blockquote>\n\n<p><a href=\"https:\/\/twitter.com\/caseyliss\/status\/1125506797106868224\">Casey Liss<\/a>:<\/p>\n<blockquote cite=\"https:\/\/twitter.com\/caseyliss\/status\/1125506797106868224\">\n<p>Everyone doing web development switched to using then-OS X back in the aughts because we could run the entire stack locally, natively. And the keyboards worked.<\/p>\n<p>Seems like soon you&rsquo;ll be able to do the same on Windows. Where the keyboards work.<\/p>\n<p>&#x1F9D0;<\/p>\n<\/blockquote>\n\n<p><a href=\"https:\/\/twitter.com\/tapbot_paul\/status\/1125513725774053382\">Paul Haddad<\/a>:<\/p>\n<blockquote cite=\"https:\/\/twitter.com\/tapbot_paul\/status\/1125513725774053382\">\n<p>MSFT has two different ways of running Linux binaries on a Windows machine but 32 bit Mac binaries are just too much work for Apple.<\/p>\n<\/blockquote>\n\n<p><a href=\"https:\/\/twitter.com\/alexstamos\/status\/1125438906642472962\">Alex Stamos<\/a>:<\/p>\n<blockquote cite=\"https:\/\/twitter.com\/alexstamos\/status\/1125438906642472962\">\n<p>This is smart and well-timed. Windows is becoming a legitimate competitor to OS X for cloud-native development at a moment when Macbook Pro users are screaming for working keyboards and features like LTE.<\/p>\n<\/blockquote>\n\n<p><a href=\"https:\/\/twitter.com\/StephenNellis\/status\/1125556122054742017\">Stephen Nellis<\/a>:<\/p>\n<blockquote cite=\"https:\/\/twitter.com\/StephenNellis\/status\/1125556122054742017\">\n<p>I can envision developers on their 3rd trip to the overrun Union Square SF Apple store to get a MBP keyboard fixed, thinking...well, maybe it&rdquo;s time to take a look?<\/p>\n<\/blockquote>\n\n<p><a href=\"https:\/\/twitter.com\/steipete\/status\/1125691805973012480\">Peter Steinberger<\/a>:<\/p>\n<blockquote cite=\"https:\/\/twitter.com\/steipete\/status\/1125691805973012480\">\n<p>I admire the new Microsoft. Not only are they super transparent about their plans, release everything open source - they also share Twitter handles of the main folks responsible.<\/p>\n<\/blockquote>\n\n<p><a href=\"https:\/\/twitter.com\/DamienPetrilli\/status\/1125799003910737921\">Damien Petrilli<\/a>:<\/p>\n<blockquote cite=\"https:\/\/twitter.com\/DamienPetrilli\/status\/1125799003910737921\">\n<p>Microsoft is making great progress at attacking macos exactly where it hurts: development.<\/p>\n<p>We are really not far from seeing how Tim Apple miss management is going to kill a lot of Apple&rsquo;s value for good.<\/p>\n<\/blockquote>\n\n<p><a href=\"https:\/\/twitter.com\/dgregor79\/status\/1125641600611176449\">Doug Gregor<\/a>:<\/p>\n<blockquote cite=\"https:\/\/twitter.com\/dgregor79\/status\/1125641600611176449\">\n<p>People are excited about a terminal. Either the 90&rsquo;s are back or it&rsquo;s a really slow news day in the tech world<\/p>\n<\/blockquote>\n\n<p><a href=\"https:\/\/twitter.com\/DamienPetrilli\/status\/1125799729550561282\">Damien Petrilli<\/a>:<\/p>\n<blockquote cite=\"https:\/\/twitter.com\/DamienPetrilli\/status\/1125799729550561282\">\n<p>Nope, it just means that now, there is a real competition to macos on the dev side.<\/p>\n<p>A lot of people including myself are on macos because of its UNIX subsystem. It&rsquo;s the best platform for all open source \/ programming language.<\/p>\n<p>This could change soon.<\/p>\n<\/blockquote>\n\n<p><a href=\"https:\/\/twitter.com\/marcoarment\/status\/1126098607231381505\">Marco Arment<\/a>:<\/p>\n<blockquote cite=\"https:\/\/twitter.com\/marcoarment\/status\/1126098607231381505\">\n<p>If you&rsquo;ve wondered why Microsoft made the VS Code editor, note how many lines go from &ldquo;First&rdquo; to &ldquo;OSX&rdquo; [sic] to &ldquo;Visual Studio Code&rdquo;.<\/p>\n<p>Macs OWNED web development for a decade. But when Apple lost years alienating and neglecting pros, Microsoft had their foot on the gas.<\/p>\n<\/blockquote>\n\n<p><a href=\"https:\/\/twitter.com\/aharden\/status\/1126100559746957313\">Alex Harden<\/a>:<\/p>\n<blockquote cite=\"https:\/\/twitter.com\/aharden\/status\/1126100559746957313\">\n<p>VS Code is not my primary editor (@AtomEditor is) but I may end up using it more if\/when I end up on Windows 10 this fall on my work computer.  I simply can&rsquo;t justify staying on MacOS for work when @Apple isn&rsquo;t designing MacBooks for developers any longer.<\/p>\n<\/blockquote>\n\n<p><a href=\"https:\/\/twitter.com\/marcoarment\/status\/1126102989654175744\">Marco Arment<\/a>:<\/p>\n<blockquote cite=\"https:\/\/twitter.com\/marcoarment\/status\/1126102989654175744\">\n<p>This perspective (a common one) should be most worrisome to Apple:<\/p>\n<p>&ldquo;The MacBook Pro seems designed for other people&rsquo;s needs, not mine.&rdquo;<\/p>\n<p>&#8230;especially coming from developers, which Apple has said are their largest category of &ldquo;pro&rdquo; users.<\/p>\n<\/blockquote>\n\n<p><a href=\"https:\/\/twitter.com\/ymousegenius\/status\/1126105693398814721\">Anonymous Genius<\/a>:<\/p>\n<blockquote cite=\"https:\/\/twitter.com\/ymousegenius\/status\/1126105693398814721\">\n<p>The irony is that Apple messed up the Mac Pro and the MacBooks Pro by solving problems that didn&rsquo;t need to be solved. They didn&rsquo;t neglect them: they over-designed them, fixed what wasn&rsquo;t broken, and then didn&rsquo;t fix the keyboards when they broke.<\/p>\n<\/blockquote>\n\n<p><a href=\"https:\/\/twitter.com\/JustinFlood\/status\/1126107033441374208\">Justin Flood<\/a>:<\/p>\n<blockquote cite=\"https:\/\/twitter.com\/JustinFlood\/status\/1126107033441374208\">\n<p>I&rsquo;m a pro photographer.  I don&rsquo;t feel like the MacBook Pro is made for me anymore.  I work with video editors and VFX people, and musicians who feel the same.  This asks the question:<\/p>\n<p>Who IS the MacBook Pro designed for?<\/p>\n<\/blockquote>\n\n<p><a href=\"https:\/\/twitter.com\/kocienda\/status\/1126216606185426944\">Ken Kocienda<\/a>:<\/p>\n<blockquote cite=\"https:\/\/twitter.com\/kocienda\/status\/1126216606185426944\">\n<p>The success of the iPhone, iPad, and Apple Watch relieves much of the burden from Macs to be the &ldquo;computer for the rest of us&rdquo;. It means the Mac can stress power and flexibility as a platform for pros, a tool for developers, and a playground for hobbyists.<\/p>\n<p>After all, pros, developers, and hobbysists are the people that feed the iOS ecosystem with content, apps, and new ideas. Mac and iOS devices already support each other in a virtuous cycle, but that could be stressed more by producing machines that pros and geeks truly love.<\/p>\n<p>I sure hope Apple soon gets through this period of problematic hardware (MacBook keyboards), &ldquo;Where is it?&rdquo; hardware (Mac Pro), and of new languages and frameworks that do mostly what the old ones did, only differently (Swift, Marzipan). Bring back &ldquo;Insanely Great&rdquo;!<\/p>\n<\/blockquote>\n\n<p><a href=\"https:\/\/twitter.com\/kocienda\/status\/1126147648182820864\">Ken Kocienda<\/a>:<\/p>\n<blockquote cite=\"https:\/\/twitter.com\/kocienda\/status\/1126147648182820864\">\n<p>The reliability and usability failings of the MacBook Pro are rooted in thinness and weight-saving&mdash;yet Apple makes the MacBook Air to optimize for those design goals. Let&rsquo;s face it. Apple doesn&rsquo;t make a pro laptop today. Sticking &ldquo;Pro&rdquo; on the end of the name does not make it so.<\/p>\n<\/blockquote>\n\n<p><a href=\"https:\/\/twitter.com\/pettera\/status\/1114288666908794882\">Petter Ahrnstedt<\/a>:<\/p>\n<blockquote cite=\"https:\/\/twitter.com\/pettera\/status\/1114288666908794882\">\n<p>Ex Apple employee here (PR manager). They stopped caring about prosumers in 2011-12. The prosumer managers were made redundant. Entire focus is (was) on consumers.<\/p>\n<\/blockquote>\n\n<p>See also: <a href=\"https:\/\/daringfireball.net\/thetalkshow\/2019\/04\/30\/ep-250\">The Talk Show<\/a>, <a href=\"https:\/\/news.ycombinator.com\/item?id=19847579\">Hacker<\/a> <a href=\"https:\/\/news.ycombinator.com\/item?id=19844989\">News<\/a> (<a href=\"https:\/\/news.ycombinator.com\/item?id=19842817\">3<\/a>).<\/p>\n\n<p>Previously:<\/p>\n<ul>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2019\/05\/01\/microsofts-resurgence\/\">Microsoft&rsquo;s Resurgence<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2019\/04\/23\/collision-course\/\">Collision Course<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2019\/04\/01\/alternatives-to-mac-laptops\/\">Alternatives to Mac Laptops<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2019\/03\/11\/the-state-of-mac-hardware-in-early-2019\/\">The State of Mac Hardware in Early 2019<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2018\/10\/16\/the-2018-macbook-keyboards-have-the-same-old-problems\/\">The 2018 MacBook Keyboards Have the Same Old Problems<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2016\/10\/27\/new-macbook-pros-and-the-state-of-the-mac\/\">New MacBook Pros and the State of the Mac<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2015\/04\/30\/microsoft-visual-studio-code\/\">Microsoft Visual Studio Code<\/a><\/li>\n<\/ul>\n\n<p id=\"windows-to-include-a-full-linux-kernel-update-2019-05-13\">Update (2019-05-13): <a href=\"https:\/\/twitter.com\/rosyna\/status\/1127142835164143616\">Rosyna Keller<\/a>:<\/p>\n<blockquote cite=\"https:\/\/twitter.com\/rosyna\/status\/1127142835164143616\">\n<p>It&rsquo;ll <em>only<\/em> have the kernel itself as an optional developer install. Windows still won&rsquo;t ship with any user space tools. You&rsquo;ll still have to get those from a distro.<\/p>\n<\/blockquote>\n\n<p><a href=\"https:\/\/twitter.com\/Freerunnering\/status\/1127711743843733504\">Kyle Howells<\/a>:<\/p>\n<blockquote cite=\"https:\/\/twitter.com\/Freerunnering\/status\/1127711743843733504\">\n<p>Unrealistic WWDC Wishlist<\/p>\n<p>- Gatekeeper for iOS<br \/>\n- Relaxed AppStore restrictions with new categories, like Dev Tools.<br \/>\n- UIKit for Mac uncrippled (no mandatory sandboxing or AppStore only)<br \/>\n- Redesigned &amp; relaxed notarisation system<br \/>\n- Pro user, automation &amp; performance focus<br \/>\n- A sign that &lsquo;easy things should be easy, hard things should be possible&rsquo; has been deeply and culturally accepted into Apple, iOS and macOS.<\/p>\n<p>Rather than the seeming current philosophy of &lsquo;easy things should be easy, and anything more is a security risk&rsquo;.<\/p>\n<\/blockquote>\n\n<p><a href=\"https:\/\/www.pcworld.com\/article\/3394680\/how-windows-and-chrome-quietly-made-2019-the-year-of-linux-on-the-desktop.html\">Brad Chacos<\/a> (via <a href=\"https:\/\/twitter.com\/stevesi\/status\/1127073933650382848\">Steven Sinofsky<\/a>):<\/p>\n<blockquote cite=\"https:\/\/www.pcworld.com\/article\/3394680\/how-windows-and-chrome-quietly-made-2019-the-year-of-linux-on-the-desktop.html\">\n<p>After years of endless jokes, 2019 is truly, finally shaping up to be the year of Linux on the desktop.<\/p>\n<\/blockquote>\n\n<p><a href=\"https:\/\/taoofmac.com\/space\/blog\/2019\/05\/11\/2030\">Rui Carmo<\/a>:<\/p>\n<blockquote cite=\"https:\/\/taoofmac.com\/space\/blog\/2019\/05\/11\/2030\">\n<p>I came to the Mac as a haven from the (then crappy and useless) Windows NT-era desktops we ran. Even though I was one of the first people to use NT 4.0 as a &ldquo;workstation&rdquo; (and even ran maliing-lists and web sites on it using the ancient EMWAC servers), I wanted:<\/p>\n<ul><li>A powerful UNIX workstation<\/li>\n<li>Great hardware that &ldquo;just worked&rdquo;<\/li><\/ul>\n<p>Switching to the Mac was so amazingly great that I even named this site after the overall experience, a little over fifteen years ago.<\/p>\n<p>[&#8230;]<\/p>\n<p>And so it has come to pass that, even though I am typing this on my MacBook Pro, I have been using a Surface Laptop for nearly six months as a semi-daily driver[&#8230;]<\/p>\n<\/blockquote>","protected":false},"excerpt":{"rendered":"<p>Microsoft (via Miguel de Icaza): We will be shipping a real Linux kernel with Windows that will make full system call compatibility possible. This isn&rsquo;t the first time Microsoft has shipped a Linux kernel, as we have already shipped one in 2018 when we announced Azure Sphere. However, this will be the first time a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"2019-05-10T19:43:09Z","apple_news_api_id":"12c1efcb-2437-437d-a05d-51277acce0c2","apple_news_api_modified_at":"2019-05-13T18:26:13Z","apple_news_api_revision":"AAAAAAAAAAAAAAAAAAAAAQ==","apple_news_api_share_url":"https:\/\/apple.news\/AEsHvyyQ3Q32gXVEneszgwg","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[2],"tags":[448,30,100,37,785,71,219,1030],"class_list":["post-25219","post","type-post","status-publish","format-standard","hentry","category-technology","tag-linux","tag-mac","tag-macbookpro","tag-microsoft","tag-microsoft-surface","tag-programming","tag-windows","tag-windows-10"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/25219","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=25219"}],"version-history":[{"count":3,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/25219\/revisions"}],"predecessor-version":[{"id":25235,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/25219\/revisions\/25235"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=25219"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=25219"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=25219"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}