9 ms·
This removes one of the major reasons to use a Mac for Linux development. Many people used Macs because they had nice hardware that just works, as well as a Uni
by RcouF1uZ4gsC 9y ago
This removes one of the major reasons to use a Mac for Linux development. Many people used Macs because they had nice hardware that just works, as well as a Unix (but not Linux) environment. Now, you can buy a Windows laptop and have Windows manage all the tricky bits like power management and graphics while having a bona fide Linux distro for development. Plus, you can also play games :)
- ChuckMcM 9y agoAs far as I can tell, one still have to run an Xserver on Windows if you want to do graphics (set display to localhost:0) and so no acceleration, hoping that changes at some point.
- marcoperaza 9y agoThat's true but almost all the draw of Linux for developers is the non-graphical tools. GUI software for Windows tends to be much better, especially for stuff that you'd need acceleration for.
- JoshTriplett 9y ago> Now, you can buy a Windows laptop and have Windows manage all the tricky bits like power management and graphics while having a bona fide Linux distro for development. Not to detract from this very nice development, but it's still the case on many laptops that installing Linux tends to extend battery life substantially, not to mention make graphics more stable (at least, given FOSS-friendly graphics hardware). But if you need both Windows and Linux readily available, and spend a lot of time in both rather than favoring one over the other, this certainly offers a compelling alternative to a Windows VM.
- supremesaboteur 9y agoI installed Linux on my company Mac and it feels like my battery charge lasts less long
- Kenji 9y agoCan confirm. Also, Windows actually saves batteries compared to a vanilla Ubuntu install. I don't know why but Linux GUI is extremely wasteful for some reason.
- amarant 9y agoIt's not the GUI, power management tools in Linux are somewhat behind the curve. Or so I'm told anyway
- 8draco8 9y agoLinux on mac will always have shorter battery live. That's mostly because of Apple proprietary code required for power management.
- beerbaron23 9y agoI will say it's mostly due to the amount of effort creating power-saving features in OSX that are not present in other OS's. It's quite interesting all the little things they do to prolong the battery. I have Fedora 25 with TLP, it operates fine, there is nothing proprietary blocking it (but you do need TLP, install it asap to get any batt life out of Linux) on my macbook and I can almost reach 5 1/2 hours web browsing (Opera with battery saver). On OSX I can easily obtain 9 hours doing similar work. This is all on a 6 year old battery too.
- rifung 9y ago> Not to detract from this very nice development, but it's still the case on many laptops that installing Linux tends to extend battery life substantially, not to mention make graphics more stable (at least, given FOSS-friendly graphics hardware). I have never heard this and in fact have only ever heard the opposite.
- microcolonel 9y agoThe open source AMD graphics drivers in Mesa are considerably more stable than the equivalent Windows drivers and the proprietary Linux drivers (though those are getting a bit better). In many cases the open source drivers outperform the proprietary ones. The Mesa Intel drivers have been rock solid since about 2010, I've not had an issue with the stable release of Mesa on standard Intel hardware since then. I've run an average of two models from each generation of Intel hardware since 2010 except Broadwell, and not encountered an issue. Switchable graphics can be a bit of a pain, but with a bit of fiddling around with DRIRC and a PRIME-capable GPU driver it can be had without too much pain.
- jhasse 9y ago> The open source AMD graphics drivers in Mesa are considerably more stable than the equivalent Windows drivers What?? Not in my experience! Windows can even recover from graphic driver crashes. > In many cases the open source drivers outperform the proprietary ones. Maybe for OpenGL. But DirectX 11 is nearly always faster (e.g. bytecode shaders) and only available on Windows.
- microcolonel 9y ago> Maybe for OpenGL. But DirectX 11 is nearly always faster (e.g. bytecode shaders) and only available on Windows. This statement utterly untrue, there is nothing especially performant about D3D11. FYI, "bytecode shaders" have nothing to do with shader performance. They have some impact on initial parse time, but little else.
- 9y ago
- Arainach 9y agoI have Linux running on a Lenovo T420s. Intel everything - chipset, graphics, etc. - stuff that should be supported in Linux great. If I run Chromium, it hard locks my screen with visual artifacts unless I disable GPU acceleration. No problems running in Windows at all (including the normal composited desktop environment, Chrome, etc.). I find that even with proven non-bleeding-edge hardware with known drivers, battery life and graphics stability are far worse.
- staofbur 9y agoSame problem with the T420, T420 and T440 I have had. The T440 I couldn't get more than 3 hours out of it compared to 7-8 on windows. They had the PM set up properly. Powertop shows loads of things constantly waking the devices up.
- UncleSlacky 9y agoHave you tried TLP? It was originally written specifically with Thinkpads in mind, but can be used on any laptop now: http://linrunner.de/en/tlp/docs/tlp-linux-advanced-power-management.html http://linrunner.de/en/tlp/docs/tlp-linux-advanced-power-man...
- staofbur 9y agoYeah I burned hours on powertop and TLP.
- boomboomsubban 9y agoLenovo T420S has an Nvidia GPU from what I can see, it's probably trying to use that but there's some issue getting nouveau's acceleration working. And battery life on thinkpads often needs tinkering, either through kernel parameters or tp_smapi if supported.
- kayoone 9y agoNot my experience, actually rather the opposite especially in terms of battery life and sleep/wake issues.
- mrighele 9y ago> not to mention make graphics more stable (at least, given FOSS-friendly graphics hardware). I hope you're not thinking about Intel integrated graphics :-). I had a terrible experience with stock drivers in Ubuntu LTS (both current and previous) so much that I had to install oibaf PPA to be able to play the few 2D indie games that I care of.
- cyphar 9y ago> Now, you can buy a Windows laptop and have Windows manage all the tricky bits like power management and graphics while having a bona fide Linux distro for development. I know I'm being "that guy", but I've never personally had a problem with Linux's power management or graphics. And I really like my tiling window managers and free software stack. I understand that some people have, but usually it's the fault of proprietary drivers and not Linux (and I don't purchase machines that require proprietary drivers to use). But again, whatever floats your boat. I've personally started playing OpenMW (a free software implementation of "The Elder Scrolls III: Morrowind" engine) which works excellently under GNU/Linux.
- microcolonel 9y agoI second that, I've never had a PM or major GPU driver issue on Linux. I've always found that battery life improved from Windows to Linux on a given machine. Granted, you could call this unfair since I run a lot fewer daemons on my Linux boxes than run by default on Windows, but I'd call that a strength.
- aries1980 9y agoThe Nvidia Optimus support doesn't work and forget Wayland.
- ac29 9y agoSATA Active Link Power Management is or was broken on my laptop. Too bad, it is required for the CPU package as a whole to reach the lowest power state and dramatically improved battery life. It also ate a ton of files on day 3 or 4 of me using it (not even files that were open, it just randomly corrupted ~5-10% of the drive). Probably wont be checking to see if that is fixed anytime soon.
- staofbur 9y agoAs someone who just switched from windows to Mac, when you pick windows you also gain periodic show stopping problems, kafkaesque hoops to jump through randomly in the middle of your workflow, a slightly terrible security architecture and the ability for family and friends to see you using windows and are clearly an expert and then ask you to fix their crapware ridden death boxes. At least you gain thousands of google results for every problem coming your way. Incidentally yesterday I ran out of disk space on my old windows laptop. There was a windows problem reporting process that ate 100MiB once an hour. Eventually over the space of weeks you lose your entire disk then spend an hour googling the numerous incantations that need to be applied to fix this most of which don't work. Random shit like this happens at least once a week or so and just ruins an afternoon. Also don't think that the built in ubuntu or windows shell stuff actually works properly. There are many horrible bugs. Nothing on windows works properly for months if not years. Even with creators update, I used putty and virtual box because it was that bad. Also you're going to miss things like keychain in OSX. Edit: also my old T440 which I was running windows on, Lenovo couldn't ship working drivers for creators update and the moment that got rolled out TSHTF. This resulted in the SATA controller hanging for 30 seconds every five minutes and locking the machine up. I wasted six hours trying to find a combination of drivers and PM config that actually didn't do this. That's a whole day of work down the pan. There is just ZERO quality on the platform and I'm done with it.
- ivan_gammel 9y agoLooks like your problem was in using Lenovo, not Windows. Btw, what kinds of tasks did you do there?
- staofbur 9y agoNo it's really not. I've been using windows since 1992 across tens of vendors and it's the same story. It has literally never changed. I find Lenovo to be the least crap. I was 50/50 Linux/windows dev. Windows dev is dead for me now (my hair is growing back). Tasks are now python, Postgres, ansible, vim, ssh and a browser and not a lot else. I've worked with Linux for about 18 years as well for ref.
- stephenr 9y ago> This removes one of the major reasons to use a Mac for Linux development I find it hard to believe many people using a Mac for Linux development, will (want|be able) to use this the same way. Anything that needs to simulate prod-ish environments for developers, will be using a VM (and if you're not, you should be) often via Vagrant. This also limits you specifically to Ubuntu, so it's automatically going to be invalid for a lot of things that either a) are tested/built for multiple distros anyway or b) targeted at a specific distro that isn't Ubuntu. Edit: additionally, using a Mac means you (via VM's) run any OS (or Browser, if it's a web project) you need, to test the software.
- gpvos 9y agoAs the article states, SUSE and Redhat will be available in a week or two. WSL should be able to support other distros or self-built Linux too, although I wouldn't know how to go about that.
- sapphire_tomb 9y agoI've been using Arch as my WSL image for about a year I think. I used this tool to get it going : https://github.com/RoliSoft/WSL-Distribution-Switcher https://github.com/RoliSoft/WSL-Distribution-Switcher
- staofbur 9y agoDefinitely agree with vagrant. Vagrant incidentally is monumentally horrible on windows as well.
- stephenr 9y agoI've heard that Git was (maybe is) not fantastic on Windows either (to the point it has to ship its own bundled version of Bash!?)
- staofbur 9y agoIt's actually pretty horrible but that's not windows' fault. It was designed for case sensitive unix systems with the appropriate ssh infrastructure and other shell tools in place which windows didn't have. There are some powershell wrappers that make it better.
- microcolonel 9y agoFor what it's worth, WSL appears to have pretty terrible filesystem performance. This may not be noticeable for somebody coming from macOS, but definitely very noticeable coming from a real EXT4 or XFS Linux system. I frankly don't understand why anyone would care to run anything but Linux on their workstation if their production deployments are Linux.
- partiallogic 9y agoExactly, I already choose Macs as the build time on a 15” MacBook Pro from 2015 is half that of a 2016 XPS 15” running Windows 10. It’s twice again if you use WSL on the Dell. Fedora natively on the Dell gets a lot closer to the Mac
- jhasse 9y ago> Now There always was Docker or MSYS2, so if someone really wanted to, he could already use Windows for his Linux developments. There are some limitations, yes, but WSL also comes with it own set of problems.
- uranian 9y agoI once started with DOS, moved to windows, linux (various distro's), now already for a few years on osx. Windows doesn't even come close to the reliability and comfort of my macbook-pro. I was always reluctant to move to osx, but I have to admit, this is simply the very best and most reliable machine I've ever had! It never crashed once, while I push it to it's limits every day!
- developer2 9y ago>> This removes one of the major reasons to use a Mac for Linux development If I wanted Ubuntu, I would have it on my MacBook (dual boot or replacement). I don't want Ubuntu. I want OS X. Apple hardware is great for development, but the real reason I am here is for the operating system and software. So no, Windows+Ubuntu does nothing to replace a MacBook or iMac with OS X.
- Nursie 9y agoLinux power management and graphics have generally been fine for me on laptops for some time. I suppose they've mostly been thinkpads, but some other stuff too - eeepc's from back when they were a thing, sony vaios.... all sorts.
- lolive 9y agoLinux becoming the subject of a flamewar between mac-its and win-its. That's hilarious, from the perspective of a old-time Linux evangelist. Can I conclude that "we won" ? \o/
- 43224gg252 9y agoThe reason Microsoft built a Linux sub-system into Windows is because Windows wasn't as good as Linux for development. Microsoft building a Linux sub-system is Microsoft admitting defeat.
- hungerstrike 9y agoIt depends on the type of software that you're developing. Do you see any game developers working on Linux? Hardly. Do you see a lot of IT shops doing development on Linux? Nope. There are way more web developers on Mac and Windows than Linux. What kind of dev work is Linux actually better for then? Servers? Most people are using Macs for that and deploying to Linux.
- simulacrum 9y agoOr... I can just use Linux and have it do the tricky bits plus also play games :)
- horusthecat 9y agoW/r/t the OP, I have trouble thinking that the Linux Subsystem is as full a solution as it's made out to be, but on-topic discussion isn't not what comments thread brawls are for! I'm consistently amazed that the response is always that "Windows sucks" even as it's gotten better than the 95/XP/Vista experience. It's 2017, .NET runs on Linux now and VS runs on macOS, can't we all just get along? Of course, that sentiment exists for good reason even as Microsoft improves its product offerings. Every stable Windows install is just one third-party enterprise shitware deployment from automating BSOD reboots. Tooling aside--VS is great if you add "finally" and "for some tasks" and if Powershell ever reaches a finished state that'd be good, but I still don't use either--regardless of how slap-dash and inconsistent Windows (lol X11) can be, the part of Windows that sucks the most is working at companies that require its use. If you haven't worked somewhere where people aspire to be "Sharepoint Administrators", where people "fix" prod data in Access and where >25% of your CPU cycles go to black-box antivirus vendor apps that had unpatched CVEs discovered in the past month, you really should so you can remember why you left.
- inertial 9y agoPersonal experience : Windows becomes sluggish over time (XP, 7, 8, 10 tried all of them). There could be myriad of reasons e.g. "smart" services, too many programs in autostart. I've been a power user and try to disable such things pro-actively but it's not comparable to a fresh install. Whereas with Ubuntu, it says near fresh even after years of use. Again, this is personal experience. YMMV. So, I cannot imagine using Windows as my primary machine. Not sure about Mac, hopefully it's good. Linux is fine so far as my primary desktop / server. That said, this news is quite exciting for both corporate & personal machines and I hope to see it progress.