Hacker News new | ask | show | jobs
by zrm 3713 days ago
> The primary role of SUA was to encourage applications to get ported to Windows without significant rewrites.

Is this a supported use of the Linux subsystem?

Running native Linux apps directly is great if it works but there are going to be cases where the app would 99% work except for that one thing Linux has and the Linux subsystem doesn't. Maybe Microsoft doesn't provide a tun/tap driver so you need to use TAP-Windows.

It would be convenient to be able to change only that without having to worry about the subtle differences in the Windows version of inet_ntop() and the call to make a socket non-blocking and that Unicode on Windows is UTF-16 instead of UTF-8 and so on.

1 comments

Microsoft are insane about providing compatibility when it suits them. It will work - if they see a business case for it.
I was just thinking after reading this - sure there were some engineering marvels that enabled this, but for the implementation it was just rote work with the sheer manpower Microsoft can muster up. That in itself is just really impressive.

Edit: giving it more thought, a Mozilla engineer recently demo'd an immediate mode rendering engine that him and one other dev wrote in 9 months, with feature parity of modern browsers. So either way - big engineering effort or a couple '10x developers' - pretty impressive .

Assuming you're talking about WebRender?

http://pcwalton.github.io/slides/webrender-talk-022016/

... which is notable because it is not immediate mode but the first retained mode renderer in a browser. Also, they used Rust to cut down on the time spent debugging threading issues.

Sorry - mixed up immediate/ retained
>> big engineering effort or a couple '10x developers' - pretty impressive

Or, being Mozilla engineer for quite some time he had enough domain knowledge to do that.

Or he found a clever way to reuse good parts of Mozilla code with just enough changes to avoid copyright infringement lawsuit.

> Or he found a clever way to reuse good parts of Mozilla code with just enough changes to avoid copyright infringement lawsuit.

If he used code from free software he wouldn't be liable for copyright infringement, because that's the point of free software.