Biocompatible polymers useful in ophthalmic devices such as accommodating intraocular lenses. The polymers have improved resistance to the diffusion of fluid, relatively high refractive indexes, and mechanical properties to allow for deformation upon the application of force.