There is no "one magic bullet" language used for programming anti virus, Java, C/C++ or VB can be used as they have the ability to go in depth of memory.