Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If you don't mind going a little deeper on this, what program do you use to run your VM? Do you only access your VM via SSH? What kind of development do you do? Do you have an internal IP for your VM or do you just redirect the ports?

Do you think you could replace your VM with Bash on Windows?



>If you don't mind going a little deeper on this

Sure.

>what program do you use to run your VM?

I use VirtualBox. I want to try VMWare, but I'm doubtful the difference will be very significant. I tried VMWare to host a Windows guest back when Linux was the host OS in hopes it would run DxO fast enough. While it was faster in some things that Virtualbox did slowly, it also did things slowly that Virtualbox had no trouble with, making it a net neutral, and not worth the license cost. If VMWare had full DX11 acceleration, it would've been different.

You can do raw-disk passthrough with VBox by creating the appropriate files with VBoxManage. Must be careful with this, as there is a risk that you can destroy the data on the original drives. I do this so that I can switch back to Linux as the host OS without hassle, should the need arise.

>Do you only access your VM via SSH?*

I primarily access it via SSH, but the VirtualBox windows are on a secondary workspace and I can switch over and start an X server and have my full desktop environment should I need it. I try to avoid the need, but I have done this a handful of times since switching in order to access or run graphical programs.

I've found that VirtualBox's 3D acceleration doesn't work properly. It was a pain to get it to work properly on my Linux system (which runs Arch) in the first place, but once I did get vboxvideo loading and glxinfo reporting Chromium as the renderer on a semi-consistent basis, the desktop environment would suffer corrupted draws that make it useless. I turned off 3d acceleration in the VM settings.

>What kind of development do you do?

Kind of all over the board. I maintain applications in Python, Ruby, and Java. I scratch my itch with other software which leads to occasional C or C++ development. I administer many servers and make use of Docker, Kubernetes, Ansible, and other devops stuff.

>Do you have an internal IP for your VM or do you just redirect the ports?

I have it configured as bridged network and it has an internal IP and acts like a separate machine on the network. This was important because many things in my home environment are dependent on my workstation and have that IP hard-coded (DNS is not justified for my house yet).

I have a Samba server running in the VM and exporting the frequently-used local filesystems, including my home directory and some btrfs storage (bulk storage goes on a separate Synology NAS, so I access that directly from Windows through its own smb server). My past experience with VBox's Shared Folders is that it's pretty unpredictable, and that it's usually just better to use smbd.

>Do you think you could replace your VM with Bash on Windows?

I wanted to try Bash on Windows, but it said I had to be part of the developer preview program, which I didn't want to do since it apparently involves registering with Microsoft and a bunch of similar stuff.

I am optimistic that Bash on Windows may be able to take some functions out of the VM, but I don't think it will be able to eliminate the need for it. It would be nice if it could replace Cygwin.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: