JamesMcK: sounds like a cool project. You can write it in pretty much any language you like, but if you want it to compile on all of the platforms RetroArch supports, C or C++98 (or earlier) are best.
If you need help getting started or just have any questions, come to #libretro on Freenode IRC.