Skip to content

Welcome to the YaoXiang Universe! ​

“From the limitless comes the Supreme Ultimate. Movement gives rise to Yang; stillness gives rise to Yin.” — Zhou Dunyi, The Taiji Diagram

This is the heart of the YaoXiang universe.

In Eastern philosophy, a yao is the basic symbol from which trigrams are composed, embodying every change of Yin and Yang. A xiang is the outward expression of a thing’s essence; all things in the universe follow discernible patterns.

The YaoXiang programming language is an attempt to incorporate this ancient wisdom into a modern type system.

What Is YaoXiang? ​

Imagine that you are building with LEGO bricks:

ConceptLEGOYaoXiang
Basic unitBrickType
CombinationConnectingFunction mapping
Finished itemPlane or carProgram

In the world of YaoXiang, everything is a type:

  • Numbers are types, and text is a type
  • Types themselves are also types (meta types)
  • Functions are bridges from types to types

Core Features ​

FeatureYaoXiangOther Language Example
Type systemDependent types + parametric polymorphismTypeScript
Memory managementOwnership model (no GC)Rust
Async programmingSpawn model (seamless concurrency)async/await
Syntax stylePython-stylePython

In one sentence: As fluid as Python, as safe as Rust.

Learning Path ​

Users with Programming Experience ​

If you already have programming experience, we recommend starting with “Getting Started with Prior Experience.”

🚀 Getting Started with Prior Experience →

Users without Programming Experience ​

If you have no programming experience, we recommend starting with “Getting Started from Scratch.”

💡 Getting Started from Scratch →

💡 Tip: Having no programming experience can actually be an advantage—you will not carry the baggage of other languages and can understand YaoXiang’s design philosophy most directly.

Who Should Learn YaoXiang? ​

  • ✅ Explorers interested in programming language design
  • ✅ Enthusiasts who enjoy functional programming
  • ✅ Practitioners interested in type systems
  • ✅ Developers who want to experience “seamless concurrency”
  • ❌ Teams that need to deploy to production immediately (the language is still experimental)

“The Dao that can be spoken is not the eternal Dao.” — YaoXiang is still in an early stage of exploration, and every pioneer is helping shape its future.

Next Steps ​

🚀 Quick Start →

Or begin with these core concepts:

All Chapters in Getting Started from Scratch ​

Advanced Topics ​

  • Type System - Generics, interfaces, and operator overloading
  • Ownership - Borrowing, references, and the ownership model

For a systematic introduction, we recommend starting with Quick Start.


“As Heaven moves ever vigorously, so should the noble person strive unceasingly for self-improvement.”

May you discover your own Dao in the YaoXiang universe.