I feel very comfortable actually, since I'll program in the same language that the OS uses. I'll feel completely at home.
The Haskell language uses the operating system to switch threads and send datagrams. And isn't the OS the biggest user of global state?
It's like doing Yoga in a Karate class.