The Rafale is a canard-delta wing design whereas the F/A-18 is a trapezoidal wing design.
In aerodynamics, all wing designs, be them swept wing, Delta wing or Trapezoidal wing and etc have their pros and cons. Some designs may give better performance at transonic speed, some may give better...