|
|
Log in / Subscribe / Register

DeVault: Announcing the Hare programming language

DeVault: Announcing the Hare programming language

Posted May 3, 2022 6:40 UTC (Tue) by ddevault (subscriber, #99589)
In reply to: DeVault: Announcing the Hare programming language by 3541
Parent article: DeVault: Announcing the Hare programming language

Hare uses a superset of the C ABI, so linking with C programs is fairly straightforward. However, there is not currently any tooling around generating Hare modules from C headers - which is a non-trivial problem, especially with libraries that make generous use of macros. Making a C library feel intuitive/idiomatic to use from Hare is another problem. At least some help with generating forward declarations is likely to be written at some point.

There is a project to do the other way around (interacting from Hare with C), at least, which is the easier problem of the two:

https://git.sr.ht/~sebsite/hareconv

I do want to improve support for linking with C.


to post comments


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds