The idea that Linux has fewer bugs than Windows is a myth. There is far more security research done to try to find bugs and security issues on Windows than on any other platform including Linux. And far more effort put into fixing them.
Having said that, Windows is not a very appropriate platform to run a CNC because of the way that the scheduler works.
Having said that, Windows is not a very appropriate platform to run a CNC because of the way that the scheduler works.