How to know if a SSD will work on OS X? I have a 2010 Macbook pro with a hard drive, and I'd like to replace it with a SSD.

Information I've read about OS X and SSD is generally quite old, and not reassuring (not all SSD are supported, and the thing about the TRIM command not enabled for non-apple SSD…).

So: is there any problem anymore with OS X and (non-apple) SSD?

This question is intended to be generic, but to give an example here is the SSD I'm considering to buy: Samsung 840 EVO 750Go.
I replaced my stock HDD with a similar Samsung SSD in my 2010 MBP without any issues. It's a huge improvement over HDD as well. You will need to enable TRIM though. I used this trim utility on Mountain Lion. (Caveat: it WILL work without TRIM, but I wouldn't advise it. A good discussion on the topic is on SU here.)