4 ms·
The WSL experience feels segregated, pretty much like a VM (which I know it's not). It's a bit like using Docker for Mac vs docker on Linux: you can strive to m
by lloeki 9y ago
The WSL experience feels segregated, pretty much like a VM (which I know it's not). It's a bit like using Docker for Mac vs docker on Linux: you can strive to make things as transparent as possible with mappings and mounts, but lots of things are segregated (e.g user accounts, or the very fact that what lxrun creates is some sort of instance/image within your user's home dir, not something integral to the OS itself).
MacOS leaks unix through its pores: by separating cmd and ctrl is able to have emacs movements (^A, ^E, ^K, ^W, ^Y) in every Cocoa input field. Composability is also very possible from the get go thanks to tools like Automator and Services. Its terminal is top-tier†. This is the kind of little things that makes MacOS feel unix-y throughout. There are also lots of command line tools and documentation as man pages for purely darwin/MacOS stuff: it's not always perfect but the platform reaches out to plain being unix.
If you can make it so that running bash deeply feels like you're interacting with the currently running OS and that I can do everything from there using unix conventions (no calling an exe, no slash switch args, man pages... see this talk[0]) and not some segregated image below which there is an underlying OS, then you've won.
I mean, this needs to deeply feel native, embedded, not translating, layered. Hard to explain, but currently it feels like I'm talking through some Babelfish.
PS: crazy thought, but if MS can roll - no scratch that - if Windows can be its own "distro", kind of like FreeBSD base system, which changes with each major version and naturally updates, instead of (or in addition to) providing images of third party userlands that happen to run on a sort of segregated loopback mounted image, then you've won.
PPS: Oh, and ngrep doesn't work :D
PPPS: And please have a decent terminal from the get go.
† Damn, I love jumping back to those auto-marked prompt lines, being able to toggle mouse reporting, hiding/viewing the alternate screen, or showing the currently opened pwd or vim buffer in the titlebar through those escape sequences.
[0]: dotRB '13 - "It's a UNIX system, I know this!" https://www.youtube.com/watch?v=Qucn0QuXFhc&index=13&list=PLMW8Xq7bXrG6ZItH9Oq2tceeTS0fjXyii https://www.youtube.com/watch?v=Qucn0QuXFhc&index=13&list=PL...