What does running it on Mac have to do with avoiding non-memory-safety bugs?
That may have been sarcasm.
It was. There has been a time, when many people thought Macs were inherently safe systems, just because there was way less malware for it, than for windows.