r/AskComputerScience • u/Successful_Box_1007 • Nov 18 '25
Can somebody help me understand how a dev can trust building an app in a virtual machine that is only emulating hardware but not a true representative of it ? (I thought about it an even if the VM is the same as the native architecture they want to run on, how can they trust this VM)?
Can somebody help me understand how a dev can trust building an app in a virtual machine that is only emulating hardware but not a true representative of it ? (I thought about it an even if the VM is the same as the native architecture they want to run on, how can they trust this VM)?
0
Upvotes
View all comments
Show parent comment
2
u/high_throughput Nov 18 '25
It doesn't really matter what the nature of the emulation is. There's no kind of system level racism like "only systems with SATA drives should build software for systems with SATA drives", because this is not reflected in the resulting binary.
The big benefit of building on VMs is that you have better control over the build environment, so once you've done the same testing you would have had to do on a physical machine, that configuration will stay good indefinitely and will not start breaking because someone upgraded the build server.