I'm not sure how good this is, but I remember seeing a post on www.gamedev.net about an open source particle engine written in C ++. It seems that this is not a graphics library, so you can easily transfer it to any platform that interests you.
:
http://sourceforge.net/projects/sparkengine/