Dovetails Vs Linear guides(Hiwin type)

Okay so all small mills have the dovetail ways. What if I made a machine from scratch and used the square liner rails like the hiwin ones? Would the be just as strong? and as rigid?