Tangenitally. I can speak to yes. We are using it inour red teaming (which is emulating adversary's to secure networks). So I'm sure malware writers are too. Since InfoSec is big on python and nobody wants to learn C ( I'd not blame em. I'm trying to get a handle on it myself with Win32 programming).
So Nim may be getting popular for compiled matters. Probably after the use of Golang. I know for what feels like ~2 years or so one prolific guy in offensive security @ShitSecure (twitter) had written a few magnificent articles on using nimlang. I actually heard about him from nitter prob 3 years ago and marked as something to learn eventually cuz I hate JavaScript. Never did but now here I am today cuz of it's recent uptick in offensive security.... So yea I think so