Live data from Hacker News

Show HN: Boot Windows 10 Directly into Linux Desktop of Choice

github.com

51–60 of 108 posts

Re: Show HN: Boot Windows 10 Directly into Linux Desktop of Choice

#52
post #20

I bet RMS will now ask people to start calling it GNU/Windows :)

I really like the GNU/k* notation; it highlights the separation between the kernel and the operating system in a very clear way. In this case it would be entirely accurate; Windows is standing on its head to look like a Linux kernel and does a pretty convincing job.

Unfortunately for projects related to WSL, which ultimately challenge some of the 'defaults' people expect, there is a tension between the name that is accurate and one that people will understand. For example, people are so tied to the notion that Ubuntu is a Linux distribution that calling it anything else would be confusing, despite the reality that Ubuntu is an operating system that just happens to have Linux as a kernel most of the time.

Re: Show HN: Boot Windows 10 Directly into Linux Desktop of Choice

#53
post #20

I bet RMS will now ask people to start calling it GNU/Windows :)

Sadly, there's more GNU code in this than Linux code, so it's not entirely inaccurate.

There should be literally 0 "Linux" code, so yes.

Re: Show HN: Boot Windows 10 Directly into Linux Desktop of Choice

#54
post #8

Can someone explain what this is for someone not really into the lingo here?

He's sort of running open source desktops on a Windows 10 kernel. But not really, there's an abstraction layer called WSL in between. There are some interesting effects though: you can touch test.txt in Bash and then open that file in Notepad without setting up any network shares, virtual machines, etc. In my mind, Microsoft developed WSL to try to keep developers: if you grew up on Linux but are now employed maintai…

I wouldn't say there's an abstraction layer between the kernel an programs; my understanding is that it's in the kernel and no more an abstraction layer than Win32.

Re: Show HN: Boot Windows 10 Directly into Linux Desktop of Choice

#55

Cool experiment, but holy Tour de France coding style Batman: https://github.com/NathanCastle/BootShellCredentialProvider/...

In flowchart decision points, it's clearer to make "yes" co-linear and "no" orthogonal. Likewise I prefer to structure cyclomatic complexity like this by doing something like if not return else if not return Rather than if if if ...

Early returns here will require duplicated free() calls, which makes it hard to prevent leaks.

This coding style is standard practice for Win32 API development.

Re: Show HN: Boot Windows 10 Directly into Linux Desktop of Choice

#57
post #35

Earlier quoted context omitted.

I kind of want to have a development environment in Linux. I also like to game, so for that Windows (in non-vm) is better. So that's why I tried to go with WSL in the first place. But Virtualbox seamless is a nice middle ground between the two OS and I don't have to worry about things that haven't been implemented in WSL.

Linux gaming has been improving rapidly lately, in another year I doubt windows will be necessary.

Given that the percentage of Steam users running Linux is declining, I'm not as optimistic as you.

http://phoronix.com/scan.php?page=news_item&px=Hwsurvey-Febr...

Re: Show HN: Boot Windows 10 Directly into Linux Desktop of Choice

#58

Earlier quoted context omitted.

In flowchart decision points, it's clearer to make "yes" co-linear and "no" orthogonal. Likewise I prefer to structure cyclomatic complexity like this by doing something like if not return else if not return Rather than if if if ...

Early returns here will require duplicated free() calls, which makes it hard to prevent leaks. This coding style is standard practice for Win32 API development.

The more typical coding style for raw Win32 is to have a block of CloseHandle/Free/... block at the end of the function, and goto it for early exit. Usually with some helper macros to easily write "if it failed, goto cleanup" one-liners.

Re: Show HN: Boot Windows 10 Directly into Linux Desktop of Choice

#60
post #57
post #35

Earlier quoted context omitted.

Linux gaming has been improving rapidly lately, in another year I doubt windows will be necessary.

Given that the percentage of Steam users running Linux is declining, I'm not as optimistic as you. http://phoronix.com/scan.php?page=news_item&px=Hwsurvey-Febr...

A 0.05% drop is well within the expected margin of error with a perfect statistical methodology and large sample size. The steam survey is opt in, it's a good rough guide but you can't read anything into month-month changes.

Even if we generously agree that it's correct, how much has steam grown? A 0.05% drop could still be more total users than the previous month.

Post reply on HN