It's actually much less safe in most places. The speed differential between bikes and pedestrians is too high, and drivers can't see cyclists as easily when making turns or pulling into/out of driveways.
Writing as a cyclist who rides in the street, and used to ride on the sidewalk occasionally.