4 ms·
Why don't you just use Linux in a VM on Windows? I don't really understand why native bash (and full Linux ABI) would make Windows a better development environm
by zxcvcxz 11y ago
Why don't you just use Linux in a VM on Windows? I don't really understand why native bash (and full Linux ABI) would make Windows a better development environment than just running a Linux VM.
If you plan on using the Linux environment and having it interact with the Windows environment you're going to have the same limitations that you would with a VM, OR you'll have to change your workflow because the way a program running under a Linux environment interacts with some windows service is going to be a completely new thing.
Will I be able to use a windows only service to interact with a command line program written in python running in the Linux layer? If I can't interact with the windows layer completely then it's very much like a VM or a container running inside a jail.
What happens when I install python or nodejs and stuff just doesn't work right? Like say I have a database running on windows and I want to interact with it with python. Will I have to rely in Windows making sure the compatibility layer always work?
- freekh 11y agoHonestly: don't know... :) I suppose when looking for a new fancy (and expensive) gadget I would like it to work like I want it to out of the box. I can admit it is not a rational thing: I would have to install stuff either way, but it makes me _want_ it less... I know it doesn't make sense, but I believe that is it... :)
- freekh 11y agoOh, and I don't think I am afraid if something doesn't work (like node in your example or what not) with the barebone ubuntu on windows as long as the minimals: drivers, etc etc work... I am pretty used to tinkering and figuring out those things and I really enjoy that barebone speed. Willful waste makes woeful want, my mom always said :) EDIT: idiom
- NateDad 11y agoSo, VMs are effectively a completely different machine. Different memory space, different disk space, different process space, etc. This is linux applications running on the same machine as your windows applications. Yes, they'll be able to talk to each other. Your windows service will be able to talk to a database running from linux and vice versa. The linux processes are still processes running on your windows machine (evidently they're some sort of "lighter process" but that hasn't been explained well... but it was explained that they'll be able to be communicate directly with other processes via sockets, ports, etc). The demos are VERY convincing. Basically everything works exactly like you would want it to work. It's exactly ubuntu and windows running through the same kernel at the same time.