Top 1K Features Creators Events Podcasts Books Extensions Interviews Blog Explorer CSV

Hare

< >

Hare is a programming language created in 2020.

#1061on PLDB 4Years Old
Download source code:
git clone https://git.sr.ht/~sircmpwn/hare
Homepage · Source Code

Hare is a systems programming language designed to be simple, stable, and robust. Hare uses a static type system, manual memory management, and a minimal runtime. It is well-suited to writing operating systems, system tools, compilers, networking software, and other low-level, high performance tasks.


Example from the web:
use fmt; export fn main() void = { const greetings = [ "Hello, world!", "¡Hola Mundo!", "Γειά σου Κόσμε!", "Привет, мир!", "こんにちは世界!", ]; for (let i = 0z; i < len(greetings); i += 1) { fmt::println(greetings[i])!; }; };
Example from hello-world:
use fmt; export fn main() void = { fmt::println("Hello World")!; };

Language features

Feature Supported Example Token
Strings "Hello world" "
Print() Debugging fmt::println

- Build the next great programming language · Add · Issues · About · Search · Keywords · Livestreams · Labs · Resources · Acknowledgements

Built with Scroll v154.3.0