The basic shape of the contract is the same. The publishers I have worked for are both fans of plain language and relatively short contracts, which helps. (Tech publisher is Pearson, fwiw, and they have been wonderful to work with over the years.)
The differences in how I write are pretty epic. For a tech book I'll work out a very detailed outline (down to subheadings within each chapter) in advance, and need larger slabs of time to write to maintain my train of thought. For novels I tend to work from a much lighter-weight outline (major plot points, not chapter by chapter) but spend a bunch of time in advance thinking through the characters and world-building.
The differences in how I write are pretty epic. For a tech book I'll work out a very detailed outline (down to subheadings within each chapter) in advance, and need larger slabs of time to write to maintain my train of thought. For novels I tend to work from a much lighter-weight outline (major plot points, not chapter by chapter) but spend a bunch of time in advance thinking through the characters and world-building.