💾 Archived View for bbs.geminispace.org › s › Harelang › 3280 captured on 2023-11-04 at 14:00:06. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-09-28)

➡️ Next capture (2023-11-14)

🚧 View Differences

-=-=-=-=-=-=-

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 an archiver implementation that I had floating in my head for a while, which I'm also implementing in Zig and Rust concurrently to see which I like the best. Even though I'm most used to Rust, I'm finding that the Hare implementation is pretty easy to knock together. Might not be as fast, due to the lack of threading in Hare's `std` library, but the code should be a lot smaller and more readable.

Posted in: s/Harelang

🦀 jeang3nie

2023-07-19 · 4 months ago · 👍 sugar, gyaradong

4 Comments ↓

🦉 ResetReboot

After seeing your post and watching the name float around I decided to give it a try, follow the tutorial and I must say... I think it has the potential to beat GoLang and Rust in their own game! With the first being outside certain corp control and also having certain better desing decisions and Rust... well, the syntax of Rust can get... ugly.

Definitely I'm keeping an eye on these folks. I think they have something good coming up.

2023-08-19 · 3 months ago

🦀 jeang3nie

I've never given Go an honest try to be perfectly honest, largely due to it's affiliation with Google but probably moreso because it relies on garbage collection. That said, I recognize that it's added to the space. I'm pretty sure 'defer' originated there before spreading to zig and others.

I write a lot of Rust though. Agreed that it's syntax takes some adjustment. What I'm coming to realize about Rust though, is that a language like Hare gets you the majority of Rust's advantages just by having strong typing and bounded arrays, at a fraction of the complexity and size. There are definite tradeoffs, but I think that they're smart ones.

🔭 DocEdelgas

While I have taken an interest in Hare, I have so far failed to see why I should use it over C.

2023-08-24 · 2 months ago

🦀 jeang3nie

Honestly, in a lot of cases there probably isn't a good reason to do so. Particularly if you're comfortable in C. I do like certain features, and in particular it has actual error handling at the language level, but both are sufficiently minimalist that they're largely interchangeable. Which gives C the edge just based on portability.

Still, I think it's a good design and I'm glad it exists.