Skip to content
@thrushlang

Thrush Programming Language

A programming language dedicated to creating maintainable and modular software.

logo

Thrush Programming Language

The Thrush Programming Language. A programming language dedicated to creating maintainable and modular software.

Features

  • High level abstraction.
  • Non-explicit cast for primitive types.
  • Strongly statically typed.
  • Strongly in OOP paradigm.
  • Automatic memory management.
  • Partial memory safety.
  • Ahead of time compilation.
  • Faster compilation times.
  • Faster as C.
  • Compiled to machine code.

Shiny Features

  • Support for quantum programming for quantum machines using Q# as a backend compiler.

Compilation steps

With the compiler (thrushc)...

thrushc --executable hello.th -o hello && ./output/hello

With the package manager... (Coming soon)

thorium run
fn print(fmt :: str) s32 @public @ignore @extern("printf");

fn fibonacci(n :: u64) u64 {

    if n <= 1 {
        return n;
    }

    local fib_left: u64 = fibonacci(n - 1);
    local fib_right: u64 = fibonacci(n - 2);

    return fib_left + fib_right;

}

fn main() { 

    local fib: u64 = fibonacci(10);

    print("'10' fibonacci: %ld", fib);

}

Contribute

  • If you're interested in contributing to the project and you're a Spanish speaker, let us know by visiting our official social media channels below.

Social Media

Pinned Loading

  1. thrushc thrushc Public

    The Thrush Programming Language. A programming language dedicated to creating maintainable and modular software.

    Rust 11 2

  2. thorium thorium Public

    The package manager for Thrush Programming Language.

    Rust 1

  3. toolchains toolchains Public

    Standard LLVM/Clang pre-optimized toolchains for the Thrush programming language.

    Python 1

  4. syntax syntax Public

    The meta syntax, which tries to be understood and compiled by the Thrush compiler.

    1

  5. quantum quantum Public

    Extending the Thrush programming language for quantum programming.

    1

  6. how-it-works how-it-works Public

    A brief, intuitive explanation of how the Thrush compiler works in general.

    1

Repositories

Showing 7 of 7 repositories
  • .github Public

    The profile repository for thrushlang github project.

    thrushlang/.github’s past year of commit activity
    1 GPL-3.0 0 0 0 Updated Mar 21, 2025
  • thrushc Public

    The Thrush Programming Language. A programming language dedicated to creating maintainable and modular software.

    thrushlang/thrushc’s past year of commit activity
    Rust 11 GPL-3.0 2 0 0 Updated Mar 21, 2025
  • thorium Public

    The package manager for Thrush Programming Language.

    thrushlang/thorium’s past year of commit activity
    Rust 1 GPL-3.0 0 0 0 Updated Mar 18, 2025
  • toolchains Public

    Standard LLVM/Clang pre-optimized toolchains for the Thrush programming language.

    thrushlang/toolchains’s past year of commit activity
    Python 1 AGPL-3.0 0 0 0 Updated Mar 16, 2025
  • quantum Public

    Extending the Thrush programming language for quantum programming.

    thrushlang/quantum’s past year of commit activity
    1 0 0 0 Updated Mar 12, 2025
  • syntax Public

    The meta syntax, which tries to be understood and compiled by the Thrush compiler.

    thrushlang/syntax’s past year of commit activity
    1 AGPL-3.0 0 0 0 Updated Mar 12, 2025
  • how-it-works Public

    A brief, intuitive explanation of how the Thrush compiler works in general.

    thrushlang/how-it-works’s past year of commit activity
    1 AGPL-3.0 0 0 0 Updated Feb 13, 2025

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…