1. Home
  2. / Science and Technology
  3. / World’s First Computer Emerged 2,000 Years Ago: Chinese Loom From 150 B.C. Used 10,470 Threads, 86 Programmable Modules, and Binary Logic Before the Digital Age
Reading time 3 min of reading Comments 0 comments

World’s First Computer Emerged 2,000 Years Ago: Chinese Loom From 150 B.C. Used 10,470 Threads, 86 Programmable Modules, and Binary Logic Before the Digital Age

Published on 02/01/2026 at 13:41
Tear chinês de 150 a.C. é o computador mais antigo do mundo. Saiba como o Ti Hua Ji usava programação binária na dinastia Han.
Tear chinês de 150 a.C. é o computador mais antigo do mundo. Saiba como o Ti Hua Ji usava programação binária na dinastia Han.
Be the first to react!
React to this article

The Archaeological Discovery of the Chinese Device from 150 B.C. Reveals an Ancestral Binary System That Used Pattern Cards to Mechanize Silk Production, Anticipating Modern Concepts of Programming and Challenging the History of Global Computing

The first computer in the world was not conceived in the 19th century, but over two millennia ago, during the Western Han dynasty, according to the Chinese Association for Science and Technology, which identifies the ti hua ji, a programmable silk loom built in 150 B.C., as the starting point of computing.

The Concept of the First Computer in the World

According to the Chinese Association for Science and Technology, the ti hua ji meets the functional definition of a computer as it is capable of receiving instructions, executing a program, and providing automatic results. This definition is not limited to mathematical calculations but includes the mechanical execution of pre-programmed tasks.

Although the term program is currently associated with digital software, historically it could also take physical forms. In the case of the first computer in the world, these instructions were incorporated into pattern cards used to mechanically control the production of silk fabrics.

The statement carries institutional weight as it originates from the largest official scientific body in China and arises during a period of global competition for technological leadership in multiple strategic sectors.

What Is the Ti Hua Ji

The Ti Hua Ji is described as an advanced machine for weaving silk in fixed patterns. Built in 150 B.C., the equipment significantly predated Western looms and introduced mechanization into Chinese textile production over two millennia ago.

Fabrics were produced from the interaction between longitudinal and transverse threads, known as warp and weft. To form a specific pattern, certain warp threads needed to be raised, allowing the shuttle with colored threads to pass through.

This process increased the complexity of the weaver’s work, but the mechanization provided by the ti hua ji helped to scale up and ensure the accuracy of production, solidifying Chinese silk as a global reference.

Programmable Structure and Binary Logic

The first computer in the world operated with 10,470 longitudinal warp threads and could be controlled by 86 programmable modules. After the initial setup, the machine could trigger up to 100 devices simultaneously, maintaining constant precision in executing the patterns.

Experts compare its operation to that of a modern binary computer. In the physical pattern cards, an elevated warp thread represented the binary bit 1, while a lowered thread corresponded to bit 0, forming a mechanical coding logic.

This architecture allowed for the exact reproduction of complex designs, demonstrating a highly sophisticated physical programming system for the time, even without any electronic components.

Archaeological Discovery in Chengdu

The exact chronology of the development of mechanized weaving in China remained uncertain for centuries. In 2012, a fortuitous discovery brought new evidence during the construction of a subway line in Chengdu.

At the archaeological site of Laoguan Mountain, archaeologists located a tomb from the Western Han dynasty containing four well-preserved loom models, still with remnants of silk threads, astonishing the researchers.

Subsequent analyses indicated that they were the oldest figured looms ever found in the world, allowing for more detailed studies of their functioning and structural reconstruction.

Handcrafted Programming and Documentary Evidence

According to CAST, the looms used pattern books with programmable design models. The physical sequence necessary to create each pattern was defined by artisans through threads or bamboo rods.

The weaver would then follow these sequences to produce the final weave, adhering to pre-established physical instructions, as reported by the South China Morning Post. This process reinforces the understanding of the ti hua ji as the first computer in the world, closing historical gaps regarding the origin of mechanical computing.

Sign up
Notify of
guest
0 Comments
most recent
older Most voted
Built-in feedback
View all comments
Fabio Lucas Carvalho

Journalist specializing in a wide variety of topics, such as cars, technology, politics, naval industry, geopolitics, renewable energy, and economics. Active since 2015, with prominent publications on major news portals. My background in Information Technology Management from Faculdade de Petrolina (Facape) adds a unique technical perspective to my analyses and reports. With over 10,000 articles published in renowned outlets, I always aim to provide detailed information and relevant insights for the reader.

Share in apps
0
I'd love to hear your opinion, please comment.x