Metaballs are too expensive for more than a few particles. There are probably some other algorithms that would work better, or not doing metaballs strictly.
I found metaballs as very efficient when using pixel shader. I did port my js fluid simulation to C++ and used cocos2dx with shaders to do it for iphone. Works good.