Mark, as long as you have a 100cfm intermittent or 25cfm continuous ventilation rate when you finish the installation you should be o.k. I do not know of any codes (IRC) that limit the length of a run for for a kitchen exhaust fan. The manufacture installation instructions should list information regarding how the length will affect the performance, if not you can always call the support number listed in the instructions. A clothes dryer duct does have a maximum of 25' run with a deduction of 2.5' for each 45 and 5' for each 90 not including the transition duct. You may also want to check your local codes to make sure there are not any local codes that are more stringent then the IRC codes. Remember though that manufacture installation instructions are allways the final say on how you do the install not the codes because the product is "engineered".