💾 Archived View for bbs.geminispace.org › s › Harelang captured on 2023-12-28 at 15:57:30. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2023-11-14)
-=-=-=-=-=-=-
Discussion about the Hare programming language
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 · Nov 18 · 6 weeks ago
ASCII Hare logo 🐰 — [preformatted]
💬 4 likes · Nov 16 · 6 weeks 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 · Jul 19 · 5 months ago