Hemashushu’s Homepage

Curiosity, exploration and creation

XiaoXuan GPU

XiaoXuan GPU is a modern shading language designed to facilitate the rapid development of high-performance programs such as game engines, AR, AI engines, data analysis, biocomputing, scientific computing, and more. It features the same elegant syntax and design philosophy as the XiaoXuan Lang, allowing you to develop in new domains without learning a new language.

Under the hood, it compiles to the WGSL language (WebGPU Shading Language), which can run on the vast majority of GPU platforms and browsers.

Features

  • Modern and expressive syntax

    The XiaoXuan GPU share the same syntax as XiaoXuan Lang, which is inspired by JavaScript, Rust and Lisp, making it easy to learn and use for experienced programmers.

  • Portable

    XiaoXuan GPU compiles to WGSL, which can run on the vast majority of GPU platforms and browsers.

  • Extensible

    XiaoXuan GPU is designed to be extensible, allowing developers to create, share and reuse modules.

Compilation and Running

Compilation and Running

Potential applications of XiaoXuan GPU

The XiaoXuan GPU is a powerful tool for developing applications which run on GPUs, here are some potential applications of XiaoXuan GPU:

  • Game engines: render stunning visuals and provide immersive gameplay experiences.

  • AR applications: overlay digital information onto the real world.

  • AI engines: power machine learning and deep learning applications.

  • Data analysis: process and visualize large datasets.

  • Biocomputing: simulate biological processes and analyze biological data.

  • Scientific computing: solve complex mathematical problems.

Quick start

Read on to quickly set up your XiaoXuan GPU development environment, writing your first XiaoXuan GPU program and get directions for further learning.

Set up a XiaoXuan GPU development environment

TODO

Writing your first XiaoXuan GPU program

TODO

Running the program

TODO

Next steps

TODO

Resources

Popular free learning resources for beginners:

  • XiaoXuan GPU Playground
  • Get started with XiaoXuan GPU in 5 minutes