Many native English speakers think that 'compared to' means the same as 'compared with, but grammarians will say that:
“Compare to” refers to similarities, and
“compare with” refers to similarities and differences.
,"ComparED to Coca Cola, the language of Pepsi has certainly changed significantly over [delete "the"] time."
For example:
Comparing Coca Cola to Pepsi may include the similar colour, taste, amount of carbonation (amount of Carbon Dioxide (CO2)), and the simalar prices.
Comparing Coca Cola with Pepsi could include the similarities above and some of the differences, e.g., coke is more acidic, Pepsi is sweeter (higher sugar content), etc..