These are public posts tagged with #harelang. You can interact with them if you have an account anywhere in the fediverse.
I tagged a new release for hare-discid, the #MusicBrainz #libdiscid bindings for #harelang. This makes the library compatible with the recently released Hare 0.25.2 by handling nomem errors.
Hare 0.25.2 released
June 21, 2025 by Drew DeVault
https://harelang.org/blog/2025-06-21-hare-0.25.2-released/
hare-update assists in addressing breaking changes in your code
June 11, 2025 by Drew DeVault
https://harelang.org/blog/2025-06-11-hare-update/
nomem
error. Most of them do not compile, because any use of alloc()
can now return a nomem
error which are currently not handled at all.on another topic, i havent written in hare for quite a long time. probably skill issue.
apply.coop is where good people find great jobs. Looking…
apply.coop(harelang) can't figure out how to get `len(a_string)` into a C function
It says:
`Argument type size is not assignable to parameter type c_int` (`c_int` is just `int`, i wanted to distinguish.)
Trying to make a minimal FCGI..
export @symbol("FCGX_PutStr") fn _FCGX_PutStr(
string: const *c::char,
n: c_int,
request: *FCGX_Request
) c_int;
fn FCGX_PutStr(s: str, request: nullable *FCGX_Stream) c_int = {
return _FCGX_PutStr(c::fromstr(s), len(s), request);
};
postmarketOS is looking for and even want to pay someone to port QBE to arm32 in order to enable hare on this platform.
https://postmarketos.org/blog/2025/03/04/pmOS-update-2025-02/
Aiming for a 10 year life-cycle for smartphones
postmarketOSSmall progress for my shell-prompt project thp.
I refactored the server code slightly and fixed config reloading in the process, i.e. 'thp -r' works correctly now.
The #harelang mailing list is quite active recently, some breaking changes being proposed (have to scroll past the 'build failure' and 'build success' reports):
https://lists.sr.ht/~sircmpwn/hare-dev?page=2
I like the idea of such a minimal language that uses a smaller simpler compiler (QBE) rather than LLVM (LLVM is quite bloated and unstable these days).
Looking forward to the 1.0 version of Hare in the distant future!
New project: hare-html
https://sr.ht/~sircmpwn/hare-html/
HTML support for #harelang
I'm working on x509 path verification for hare-tls. The testcases from https://github.com/C2SP/x509-limbo help a lot!
931 testcase to go, not counting all the false positives
Let's see how far I come with a one-shot path traversing. But I guess I'll need to do proper backtracking for a versatile x509 implementation.
A suite of testvectors for X.509 certificate path validation…
GitHubJust posted another hare-tls status report onto https://lists.sr.ht/~apreiml/hare-tls
Highlights:
* ECC (p256, p384, p521) support for x509 certificates
* RSA PSS Signature support for x509 certificates
* Focus for now is the crypto::x509 API (parsing and verification of certificates)