9 ms·
Pity. CUDA was/is proof positive that Linux on the desktop is perfectly feasible and that you can use it to both do a UI and do meaningful computation on the sa
by jacquesm 6y ago
Pity. CUDA was/is proof positive that Linux on the desktop is perfectly feasible and that you can use it to both do a UI and do meaningful computation on the same machine without getting tied down into all kinds of licensing schemes. Opening this further up to Windows gives fewer people a really good reason to try out Linux as their daily driver. I personally don't get why any developer would prefer Windows over Linux with its near infinite software repositories related to all things developers would like.
- etaioinshrdlu 6y agoWell, CUDA is about the opposite of open source. It needs special hardware and a closed source driver. CUDA on Windows was already a big deal in engineering. Scientists and academics preferred Linux (and python, and docker) and Windows is playing catch up there to become compatible with the tools that have grown in popularity over the last 5 years. Personally, as an open source advocate, I think competition (even from MS) is healthy. It drives everyone to build a better product.
- jacquesm 6y agoYes, but that doesn't really contradict what I said. As long as manufacturers are willing to support Linux for their products even those that require special hardware, and in spite of having a closed driver this is possible and will work very well, so well that an entire profession can be better supported on Linux than on Windows. And that's very interesting, especially given that CUDA is an outflow of gaming hardware which was better supported on Windows.
- alerighi 6y agoAlso Linux is becoming the new Windows, and is one of the reason I stopped using it. What is the point of using a system that on every release is more and more bloated and full of crap that it breaks? Docker for example, I hate it, it serves no purpose beside wasting disk space and slowing down your machine. BTRFS is a bugged imitation of ZFS. Wayland not only is bugged but even does less things than Xorg. Most scientists and academics then just don't know how to write software or administer operating systems, and if they program they write the worst crap of spaghetti code possible, no wonder they like Linux, Docker and python. I use macOS, at least I have a system that has a decent user interface, and for my server I started using whenever I can FreeBSD, much more stable, much more simple, good documentation, a good operating system.
- SXX 6y ago> Docker for example, I hate it, it serves no purpose beside wasting disk space and slowing down your machine. Docker is a deployment tool and obviously needed by enterprises and I don't think anyone sane using it for their own localhost. > BTRFS is a bugged imitation of ZFS. You don't really have to use it though. ext works flawlessly. > Wayland not only is bugged but even does less things than Xorg. Check out this video from one of major X maintainer of the past: https://www.youtube.com/watch?v=RIctzAQOe44 https://www.youtube.com/watch?v=RIctzAQOe44
- andybak 6y ago> I don't think anyone sane using it for their own localhost Today I learned me and a heap of web developers I know aren't sane.
- SXX 6y agoOkay I guess I just need to sleep and had to make it somewhat more clear: I never seen anyone using docker for deployment of any software for Linux Desktop. There are superior channels formats for this purpose. Web developers usually need docker on their localhost just so it's work the same way as production environment. Though when you compare Windows on desktop and Linux on desktop you not gonna use docker at all.
- etaioinshrdlu 6y agoI do agree that Linux has been adding complexity at a good pace the last 10 years. I disagree about Docker. It's a good tool for reproducible development and production environments. What else should we use? virtual machines? Scientists and academics are not in general, professional software engineers. At least they are using open source tools! What you rather they write their spaghetti in? MATLAB? FreeBSD does not have the mindshare and ecosystem that Linux does. That actually does matter.
- Dylan16807 6y ago> BTRFS is a bugged imitation of ZFS. It has bugs, but at least it supports copy-on-write files and making snapshots writable.
- SXX 6y agoWSL2 and all these features don't have anything to do with open source either. It's basically a shim for communication of two proprietary bits of software on both sides. Fortunately all these graphics and compute shims will never get merged into upstream kernel so they'll be second-class citizens like forever. Dave Airlie who is maintainer of Linux graphics subsystem will never allow to merge it since it's can only be used for proprietary software.
- mycall 6y agoIs this the wrong repository for what you are referring to, as this appear open source? https://github.com/microsoft/WSL2-Linux-Kernel https://github.com/microsoft/WSL2-Linux-Kernel
- SXX 6y agoThis custom kernel only contain shim that needed to pass commands from proprietary component on Linux to proprietary drivers on Windows. When it's come to graphics drivers Linux upstream don't accept any code that can only be used for proprietary components. So all this Direct3D and CUDA shims never gonna be merged.
- deleted 6y ago[deleted]
- bzb3 6y agoIt's incredible that people like you are bitter because others are given a choice and they don't choose what you would want them to. And all in the name of freedom, no less.
- SXX 6y agoI have no bitterness here, just facts. It's important to understand that none of these WSL features has anything to do with open source. It's exactly your standard "extend" stage. See: proprietary hypervisor runs OS with a patched non-upstreamable Linux kernel and then there is proprietary userspace drivers and libraries that able to talk to their proprietary parts inside Windows. Can any of it be used with different hypervisor? No. Can it be used with open source drivers? Again, nope.
- benbristow 6y agoYou can use those software repositories through WSL2, using apt as per usual. And Windows now has WinGet so you can install software just like you would with apt/yum/pacman etc. It's definitely not as robust - you can't uninstall stuff using WinGet but the concept is there.
- aspenmayer 6y agoThere’s a rapidly growing third-party ecosystem growing around WinGet, as well. It’s promising. Here’s an example of a WinGet webgui thingy: winstall.[1][2] Do you or wider HN users have any picks for WSL/2 and/or WinGet tools? [1] https://winstall.app https://winstall.app [2] https://github.com/MehediH/winstall https://github.com/MehediH/winstall
- mattwad 6y agoWell, same could be said for Macs. I have both a Macbook and Surface. Windows has surpassed Mac at this point in dev friendliness due to WSL. I've got VS Code and Docker Desktop running remotely to WSL 2 and my Surface Pro is silent. Meanwhile, my Macbook's fan is raging right now with just a single VS Code window. That's very anecdotal, but I have a nice, native sandbox for all my work. It's honestly the best of both worlds. With Mac, every time I upgrade I have to re-install XCode just to compile some Node binaries and use Git. I could go on and on about how little Apple cares about devs, but we are clearly not the target audience. I haven't tried Linux in a while, but on its own it is still the worst of the three for everything that's not software development.
- treekogreen 6y agoThis is exactly what I have found. I know a bunch of developers (myself included) that went from Macs to Microsoft's surface line. WSL2 has been an absolute game changer, there's something liberating about being able to launch distros of Ubuntu, Debian, Fedora etc all faster than the computer wakes up from sleep, it's literally as fast as opening the command line. Microsoft has been making big moves for developers over the past years through open source contributions, Apple literally does not care about them and this sentiment can be seen explicitly on their respective GitHub pages.
- vegesm 6y agoThat's quite funny sentiment: basically you are saying the only reason for some people to use Linux if they are forced to use it by some library. An operating system shouldn't rely on that, if it wants to be truly general purpose.
- alerighi 6y agoFirst a developer you don't do only programming: you maybe have to work with documents, do a presentation, a spreadsheet and thus use Office. You maybe have to make some icons or logos and thus you need Adobe Illustrator. You maybe need to connect to a printer like the one that we have at my office that good luck doing that on Linux. You maybe need a CAD software to designa PCB, you need whatever other software that is Windows-only. Second there are situation where as a developer you are forced to use Windows. A lot of SDKs, compilers, debuggers, programmers for microcontrollers, FPGA, etc runs only on Windows, and if you have to do with firmware development you are basically forced to either use Windows or spend a week just to make a LED blink (if you manage to do that). Same reason for using macOS: I use a Mac mainly because I need to make iOS software and the only way is to use a Mac. By the way macOS to me is a good compromise, you have all your UNIX tools in a system that you can use to run also proprietary software. On my server I use Linux, even if recently I started using more and more FreeBSD and I'm liking it a lot (recently they added too much useless bloat in Linux like systemd and other crap, while on FreeBSD you have a simple system that is stable as a rock)
- Skunkleton 6y agoJust to add to this: Linux is happy to work in whatever way is convenient to you. WSL2 is case and point here. Windows is less flexible. If I can get everything I want out of one environment (stable gui, business software, and a native-like linux shell), that will save me the hassle of multiple machines, traditional VMs, or dual booting. I don't think we will see the Linux Subsystem for Windows 2 ever. I also am not enamored with GUI side of the Linux world. WSL2 seems like a not bad place to land. In my ideal world, Microsoft would base Windows on a mainline linux kernel. That would make me so happy.
- smichel17 6y agoThe Linux Subsystem for Windows 1, on the other hand, is called Wine and works impressively well. Better than WSL1 did, at any rate.
- Skunkleton 6y ago
- patrec 6y ago> I personally don't get why any developer would prefer Windows over Linux Because windows now literally has all the stuff Linux has plus a lot more. The only reason for a well paid developer to prefer linux over windows for a desktop OS is that you don't need any of the extra stuff (a decent desktop experience, hardware support and a commercial end user software eco system) or that you have some fundamental objections concerning Microsoft's business practices. These are good reasons, but experience shows that most people don't care enough about things like privacy to give up convenience or shiny things. Apple may be in for a tough awakening. They profited enormously from providing the desktop OS that a very large fraction of the technical elite has been using for a long time. MacOS still is still smoother than windows in some regards, but the writing is on the wall: linux completely dominates the server but is as hopeless as ever as a general purpose desktop OS, but windows no longer sucks for software development. It used to be that macs had the unique selling point of offering a nice desktop experience on good hardware coupled with something close enough to linux that you could use it for a very wide range of software development tasks. But new hardware is developer hostile and macOS drifts further and further away from linux (ever more lock-down that directly breaks developer workflows and tooling and ever more diverging user land with a mix of ancient GNU and irrelevant BSD tooling). By contrast windows now includes an ultra-high-fidelity linux layer with excellent tooling and integration to "core" windows and Microsoft also owns the world's most popular editor and code hosting solution. I'm amazed how well Microsoft has managed to find back to its embrace, extend, extinguish roots. It is both a technical and a strategic marvel.
- ylyn 6y ago> you don't need any of the extra stuff (a decent desktop experience ...) I have a better experience on Linux now than I've had on Windows in the past.
- dman 6y agoI hope they stop at extend this time.
- smichel17 6y agoI think "extend" is a good safety buffer / canary in the coal mine, so I'd be happier if they stuck to "embrace".
- usrusr 6y agoYou call it opening up to Windows, I call it the final word on the question of a proper Windows port. Once WSL is established as the one way to use a piece of software on Windows it stay in the half-world of WSL forever. Perhaps WSL is a perfect tie in terms of user migration: for every person who decides that WSL is their most convenient way of using Linux there might be another who decides that if they are spending so much time in WSL anyways should better try shipping the surrounding Windows. And everybody wins, even pure Linux users who will over time use more software that isn't developed with the overhead of Windows port ifdefs.
- robomartin 6y ago> I personally don't get why any developer would prefer Windows over Linux I'll offer you one data point, for what it's worth. We do multidisciplinary work on our workstations. That means electrical engineering (Altium Designer), mechanical engineering (Solidworks+CAM), embedded (Keil, Xilinx, Linux, NVidia Jetson, etc.), FEA (Solidworks Simulation), server-side development (Linux, Python, Django, etc.) and the myriad business documents that can go with all of that. The traditional setup has been to custom build powerful Windows machines with as much memory as the mobo will support and half a dozen SSD's assigned to specific functions (system, data, library, hardware dev, software dev, virtual machines) and then build a bunch of task-specific virtual machines. Using multiple (3+) monitors it is easy to live in this multi-OS/multi-paradigm world once you get it all setup. Not quite using WSL yet but watching its development with great interest. If all someone is doing is web development it used to be that either an Apple laptop or a dual-boot Windows/Linux machine was the top choice. WSL seems to be displacing Apple in this domain.
- ramblerman 6y agoI get your sentiment, but I think it's a bit petty to wish windows wouldn't get better. Competition is ultimately good, and we should promote Linux for the benefits it brings. Not hope windows will stagnate.
- pjmlp 6y agoBecause Linux is still crap regarding audio and 3D graphics programming, plus it has a culture of doing everything the PDP-11 way instead of embracing the desktop and GUI based workflows. Developer != UNIX.