Yes, it is compatible, but according to this installation guide, you also need a mounting frame like this :
- Mushkin SSD 2.5" auf 3.5" Einbaurahmen
- Corsair Montagehalterung 2.5" zu 3.5"
Alternatively =>
According to this guide, you can replace the optical drive and install the SSD with this mounting frame :
RaidSonic ICY BOX IB-AC649 So you will have Dual Drives. CDs are almost obsolete at the moment.
Read/write rate of the Sandisk is a little faster, but Max. Random 4K Read/Write are higher on the Samsung.
In everyday use you won't notice a tangible difference just because the values are so close to each other, it only becomes noticeably faster/slower in benchmarks.