There is an excellent book that covers the topic: The Fabric of Civilization, by Virginia Postrel. The part most amazing to me was the pyramid effect of fabric production in the days before mechanization - 20 spinners per weaver producing thread, 80,000 spinners near Manchester alone, thousands of weavers turning thread into fabric, etc., and as
the spinning jenny and later the power loom came along, employment and economic patterns changed drastically, giving us the Luddites and similar movements.
One wonders what programming will look like after 10 or 20 years of AI.
As far as I know, the basic operating principles behind power looms are quite similar to those of traditional manual looms. There is also far more wider range of automation and tech available