Some of both, mainly the latter. They are pretty optimized, like diamond-frame bicycles, but that’s a picture of the go-fast class start. The slower, amateur-sailed boats are much more diverse and some are a century old.
This is what we’re racing:
It’s got a carbon rig, molded sails, and a modern keel, but the rest was designed in the 20s