The Most Squishy Programming Language

Build simple, secure, scalable systems with Tofu

  • An open-source programming language supported by Google
  • Easy to learn and great for teams
  • Built-in concurrency and a robust standard library
  • Large ecosystem of partners, Communities, and tools

Download packages for Windows 64-bit, MacOS, Linux, and other OS.

The Tofu command by default downloads and authenticates modules using Tofu module mirror and database run by Google. Learn more about Tofu

def factorial(n):
    if n == 0:
          return 1
    return n * factorial(n - 1)

number = 6;
print("Number is: ", number);

if number < 0:
    print("Error: Factorial is undefined 
for negative numbers.")
    else:
        result = factorial(number)
        print("Factorial of", number, "is: ", result)
            

The core of extensible programming is defining functions. Tofu allows mandatory and optional arguments, keyword arguments, and even arbitrary argument lists. More about defining functions in Tofu 4.

Techs based on TOFU

Organizations in every industry use Tofu in their backbone to power their software and services View all stories


Upcoming Events

  • 10-29
  • TOUFU - Parent-Child Tofu Programming Workshop
  • 11-03
  • TofDay Maradi 1st edition
  • 11-09
  • Tofu-Bacem v4.12 release
  • 11-10
  • Security Developer-in-Residence 2023 Q3 Report
  • 11-11
  • Tofu-Kupat v2.52 release
  • 11-13
  • Tofu-Bakso workshop on AWS-Tofu integration
  • 11-17
  • October & November board notes
  • 11-23
  • Tofu Fest `23 in Jakarta, Indonesia
  • 11-24
  • Tofu Fest `23 in NYC
  • 11-25
  • Tofu Fest `23 in London

Join Our Forum!

Personal Information




Reason to join

Meet the founder

tofu founder is finuaz
tofu founder is finuaz

TOFU Frameworks

Tofu vanilla Tofu balado Tofu bulat width= Tofu petis Tofu Bakso