Live data from Hacker News

Windows Subsystem for Linux Architectural Overview

blogs.msdn.microsoft.com

21–30 of 43 posts

Re: Windows Subsystem for Linux Architectural Overview

#24
post #21

I cannot stop thinking that soon they will announce a native implementation of Docker on top of all that.

They have not implemented namespaces or cgroups in the Linux emulation, so I doubt it. Docker on Windows will only run Windows binaries.

Re: Windows Subsystem for Linux Architectural Overview

#25
post #17

> 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-Win…

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 .

Re: Windows Subsystem for Linux Architectural Overview

#27

So `fork` is still expensive?

Does the fork performance really matter these days anymore? I mean comparing from one side to the speed of loading the app itself, fork is usually super cheap; on the other comparing to per-process async event handling, it's so slow pretty much nobody uses it this way for network apps anymore. What's the use case for a fast fork today?

Re: Windows Subsystem for Linux Architectural Overview

#28

So `fork` is still expensive?

Does the fork performance really matter these days anymore? I mean comparing from one side to the speed of loading the app itself, fork is usually super cheap; on the other comparing to per-process async event handling, it's so slow pretty much nobody uses it this way for network apps anymore. What's the use case for a fast fork today?

One example: The HyPer in-memory database from TUM uses fork to provide fast snapshots for running OLAP queries on fresh data.

[1]: http://hyper-db.de

Re: Windows Subsystem for Linux Architectural Overview

#30

So `fork` is still expensive?

Does the fork performance really matter these days anymore? I mean comparing from one side to the speed of loading the app itself, fork is usually super cheap; on the other comparing to per-process async event handling, it's so slow pretty much nobody uses it this way for network apps anymore. What's the use case for a fast fork today?

Redis uses fork to save to disk.
Post reply on HN