Skip to content

glu-lang/glu

This repository contains the Glu compiler and standard library.

Why Glu?

Glu was created as a modern alternative to C for use as a "glue" language—making it easy to connect and interoperate with other languages and systems, especially via LLVM. While C is fast and portable, it lacks safety, modern tooling, and seamless integration with today's language ecosystems. Glu addresses these gaps with:

  • Simplicity: Clear, concise syntax inspired by modern languages.
  • Performance: Fast and resource-efficient, suitable for embedded and high-performance applications.
  • Safety: Robust type system and safe memory management to prevent common errors.
  • Interoperability: Native LLVM integration for easy interaction with Rust, Swift, Clang, and more.
  • Reversibility: Unique ability to regenerate readable source code from optimized LLVM IR, aiding debugging and understanding of compiler optimizations.

Documentation

Contributing

Contributions are welcome! Please see the CONTRIBUTING.md file for guidelines on how to contribute to the project.

License

Glu is distributed under the terms of the Apache License 2.0. See the LICENSE file for more details.


For more information, visit the official website: https://glu-lang.org

About

The Glu Programming Language

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages