Hare 0.24.0 released, and Hare's new release policy
February 16, 2024 by Drew DeVault @drewdevault
https://harelang.org/blog/2024-02-16-hare-0.24.0-released/
Hey @hare,
The latest blog post made me look back at Hare. This is getting nicely together.
One thing came up while rereading the docs : what's the story or plans wrt multithreading and coroutines ?
@eragon@shonk.social https://harelang.org/roadmap/
@smlavine c compiler written in hare can now compile harec
Hare eats resolvconf [#2] https://diode.zone/videos/watch/4d2f9ef5-745f-40cb-8b02-1afd27e30e98
Hare eats resolvconf [#1] https://diode.zone/videos/watch/d97212e7-a70f-4be6-b9e8-98f3e56e44d9
yesterday I had to use gpg again, so I've started https://git.sr.ht/~apreiml/hare-openpgp :D Let's see where this goes. #harelang
Made some progress on hare-tls this week. It can "verify" certificate chains and I've ported EC from BearSSL. That means it can verify certificates against 99% of the certificates of the mozilla trust source. It's not bulletproof yet though, there are some shortcuts and some critical steps I still need to implement.
Code is in the "making it work" phase. I'll probably add certificate verification to TLS and then I'll slowly start to refactor and rework most of it to make it good.
I’m really glad that #harelang doesn’t have macros. I really hope this serves as an inspiration for all future language design.
submitted my first micro contribution to #harelang today by proposing to fix the first stdlib tutorial example code!
it involved:
- getting a failing run from the hare compiler
- forming a hypothesis
- digging into the stdlib docs
- finding out there is no sha256::SIZE anymore
- forking the repo
- preparing the patchset via sourcehut (a first for me, also I am not ready yet to embrace git-send-email)
- submitting the patchset
@greenfork for (let i = 0z; i < len(greetings); i += 1)
ой...
Я недавно начал копать в сторону нового языка #hare, пока все очень интересно
out of the new "modern #C" or "C+" or whatever languages like #zig (right), #hare (left) seems to be the nicest, at the language level at least. clean block structure is hugely underrated and otherwise nice languages that take it for granted to ensure you can do
node.* = .{ .data = value, .next = null };
if (this.end) |end| end.next = node
else this.start = node;
this.end = node;
...completely ruins a block's clarity with too much syntax, which is part of what makes C code very confusing depsite being a minimal language (I also think there is something nice about the way that C does it, but its nice because you've seen it forever, not because they were great design decisions)
meanwhile I don't need to read anything about hare or even squint to read the code and understand whats happening.
For the #hare crew who have given this a try, thank you! I'll have an update published soon. I'm trying a newer commit so updating is seamless, but probably not the very latest commit (looks like it's got some problems).
From: @omenos
https://fosstodon.org/@omenos/111404268866017469
decided to give @hare a try this week and i really like it, in our tech world where everything is built on the shoulders of giants having a simple language like hare feels refreshing! :D
I wrote an SDF ray-marching engine in #harelang. This is the first time I've got so far in writing a rendering engine, reminds me of when I was 15 or so experimenting with #PovRay. That's what got me into programming in the very beginning. Hare is a fun little language. Thanks @drewdevault.
I'll start with good news. It took more than I expected, but I finally completed the work on my #dnscrypt client implementation: https://codeberg.org/illiliti/hare-dnscrypt
It is complete rewrite of my previous work, now with TCP support, proper cache implementation and #io_uring as a core for event handling and networking. All of this is developed with #harelang. Enjoy!
Quantum fluctuations from the Hare spacetime continuum.