The main difference is simply the name; "sub" and "hoagie" are both regional names for a long sandwich. However, the bread rolls for subs are softer and typically are cut all the way through, while hoagie rolls have a harder crust and aren't cut all the way through.