s/Harelang
Discussion about the Hare programming language
🦀 Moderated by: jeang3nie · 😴 578 days
Posts
Hey, is anyone here still making things with hare?
💬 1 comment · 1 like · 2025-07-15 · 10 months ago
New blog post — Personally, I always found abort on allocation error annoying and find nomem to be an elegant solution. I am a bit less enthusiastic about the other proposals, although they all make some sense to me.
💬 1 comment · 2025-06-04 · 11 months ago
Scheme interpreter in Hare — Hi everyone! I thought about how many different options for extending C applications we have - Lua, Scheme, etc. But Hare is a very young language and has not had time to acquire such things. So I started working on a Scheme interpreter in Hare. At the moment I'm at the very beginning of my journey. Also this is my first big project with Hare, so don't judge too harshly. Right now I'm focusing on adding basic primitives and procedures to comply with R7RS-small....
💬 3 comments · 1 like · 2024-05-28 · 2 years ago · #hare #harelang #scheme
How do I reduce binary size when compiling a Hare program? I compiled the example Hello World program as depicted on the official website, and the binary size is ~121kB after stripping. I then tried to rewrite the Hello World program using io::write and strings::toutf8, and the stripped binary is ~34kB. Is there any way to reduce binary size even further, using lto or compiler flags? The source code of the modified Hello World is this: [preformatted]
💬 2 comments · 2023-11-18 · 2 years ago
ASCII Hare logo 🐰 — [preformatted]
💬 4 likes · 2023-11-16 · 2 years ago
I tried out Hare shortly after it was publicly announced and found it pretty cool then, but haven't gone back to it again until recently. It's got a really minimalist ethos, which I really like. I did have to patch the port on FreeBSD to get it to work there, but it was a single line added to config.mk. Hopefully the maintainer will act on it quickly. Dr Brian Callahan has it working on OpenBSD as well. It only supports open source operating systems, which I find I like. Currently working on...
💬 7 comments · 2 likes · 2023-07-19 · 3 years ago