What is Musi?

Musi is a new programming language that is easy to use but can do many things. It helps programmers write good code by checking code for errors before it runs, and letting you write clean and clear code. These features make it easier to build programs that work well.

Key Features
  • Strong static typing with type inference
  • Zero-cost abstractions & ARC
  • First-class functional programming support
  • Safe concurrency & clean OOP constructs
Memory Safety
  • Automatic Reference Counting (ARC)
  • Weak and unowned references
  • Automatic deallocation at zero references
  • Automatic deconstruction calls before deallocation

NOTE: While Musi manages memory automatically, unsafe parts require manual memory handling.
Code Example
func fibonacci(n : Int) -> Int :=
	if n <= 1 then return n
    return fibonacci(n - 1) + fibonacci(n - 2)

writeln(fibonacci(10))
© 2025 KawaBaud