Is avast compatible with windows defender?

and I’m running on XP64 pro

If there’s any problem, I will uninstall that windows defender ;D

It seems they work all right in my computer.the only headache is that defender slow down my computer ,it occupies a lot memories and resuorces.