Taken from Implementing CIFS:
The key factors when choosing a language for your implementation are:
Good network coding capabilities.
That warm fuzzy feeling you get when you code in a language you truly grok.
Meditate on that for a while. [...]