Show HN: Bon – programming language designed for simplicity, performance, safety

Show HN: Bon – programming language designed for simplicity, performance, safety

Bon is a programming language designed with simplicity, performance, and safety in mind. Code written in Bon tends to look similar to a scripting language such as Ruby or Python:

Bon uses LLVM to generate efficient machine code, either JIT compiled, or pre-compiled to a binary. Calculating the 45th fibonacci number using a simple recusive implementation (as above) in Bon, C++, Ruby, and Python:

Performance doesn’t have to come at the expense of safety, and safety doesn’t have to come at the expense of simplicity. Bon has a powerful static type system which allows for simplifying code with type inference and pattern matching. Learn more in the documentation

Bon is being designed as a programming language built around all of the things that make me enjoy programming, and it’s dedicated to the memory of my mother.

Source: github.com