fosstodon.org is one of the many independent Mastodon servers you can use to participate in the fediverse.
Fosstodon is an invite only Mastodon instance that is open to those who are interested in technology; particularly free & open source software. If you wish to join, contact us for an invite.

Administered by:

Server stats:

9.8K
active users

#harelang

0 posts0 participants0 posts today
Athena L.M.<p>Okay as could be predicted turns out the very easy and obvious solution does not work. A friend pointed me to a mailing list discussion where it was noted that QBE, <code>harec</code>'s backend, currently lacks support for generating position-independent code (PIC), which is required to produce a shared library for fairly obvious reasons.</p><p>If anyone following me happens to know how to work with compiler backends and is inclined to climb the mountain to implement PIC support, you would be saving many distro maintainers many headaches and possibly mitigating a significant amount of future security issues by making it easier to distribute the patches.</p><p><a href="https://solarpunk.moe/tags/qbe" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>qbe</span></a> <a href="https://solarpunk.moe/tags/hare" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>hare</span></a> <a href="https://solarpunk.moe/tags/harelang" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>harelang</span></a> <a href="https://solarpunk.moe/tags/compilers" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>compilers</span></a></p>
tomterl :emacs:<p>thanks to carlos une thp compiles against harec/hare main branches again.</p><p>Code adapted to further nomem changes in the stdlib.</p><p><a href="https://git.sr.ht/~tomterl/thp" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="">git.sr.ht/~tomterl/thp</span><span class="invisible"></span></a></p><p><a href="https://fosstodon.org/tags/harelang" class="mention hashtag" rel="tag">#<span>harelang</span></a> <a href="https://fosstodon.org/tags/bash" class="mention hashtag" rel="tag">#<span>bash</span></a> <a href="https://fosstodon.org/tags/zsh" class="mention hashtag" rel="tag">#<span>zsh</span></a> <a href="https://fosstodon.org/tags/thpd" class="mention hashtag" rel="tag">#<span>thpd</span></a></p>
ǝʌɐp<p>This past week I made a little Hare cheat sheet. It was mostly to scratch my own itch, but maybe it&#39;ll be useful to someone else too.</p><p><a href="https://dvshkn.com/blog/2025-03-28-hare-cheat-sheet/" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">dvshkn.com/blog/2025-03-28-har</span><span class="invisible">e-cheat-sheet/</span></a></p><p><a href="https://fosstodon.org/tags/harelang" class="mention hashtag" rel="tag">#<span>harelang</span></a> <a href="https://fosstodon.org/tags/programming" class="mention hashtag" rel="tag">#<span>programming</span></a></p>
Jasper 🍉<p>It says:<br>`Argument type size is not assignable to parameter type c_int` (`c_int` is just `int`, i wanted to distinguish.)</p><p>Trying to make a minimal FCGI..</p><p>export @symbol("FCGX_PutStr") fn _FCGX_PutStr(<br> string: const *c::char,<br> n: c_int,<br> request: *FCGX_Request<br>) c_int;</p><p>fn FCGX_PutStr(s: str, request: nullable *FCGX_Stream) c_int = {<br> return _FCGX_PutStr(c::fromstr(s), len(s), request);<br>};</p><p><a href="https://mastodon.nl/tags/harelang" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>harelang</span></a></p>
Armin Preiml<p>postmarketOS is looking for and even want to pay someone to port QBE to arm32 in order to enable hare on this platform.</p><p><a href="https://postmarketos.org/blog/2025/03/04/pmOS-update-2025-02/" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">postmarketos.org/blog/2025/03/</span><span class="invisible">04/pmOS-update-2025-02/</span></a></p><p><a href="https://fosstodon.org/tags/harelang" class="mention hashtag" rel="tag">#<span>harelang</span></a></p>
andie :oh_no_bubble:<p>Played around with Hare lang with a fun little project to get a sense for it. Small language, some safety improvements over C, and supports cross compile builds(untested). </p><p>Syntax is pretty agreeable, save for semicolons after closing curly braces in things like `if` and `for` loops. Just why?? :akko_why: I can deal tho, will just take time.</p><p>Error reports are sane, though I miss zig/rust error vebosity. Docs are nicely written, though some sections seem to be missing, and a search feature would be nice for lookups.</p><p>Overall, I will try to use Hare again! Nice little language. <a href="https://tech.lgbt/tags/hare" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>hare</span></a> <a href="https://tech.lgbt/tags/harelang" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>harelang</span></a></p>
tomterl :emacs:<p>thp compiles against harec/hare main branch again.</p><p>Some constants moved from time::chrono to time::date, it seems.</p><p><a href="https://git.sr.ht/~tomterl/thp" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="">git.sr.ht/~tomterl/thp</span><span class="invisible"></span></a></p><p><a href="https://fosstodon.org/tags/thpd" class="mention hashtag" rel="tag">#<span>thpd</span></a> <a href="https://fosstodon.org/tags/harelang" class="mention hashtag" rel="tag">#<span>harelang</span></a> <a href="https://fosstodon.org/tags/bash" class="mention hashtag" rel="tag">#<span>bash</span></a> <a href="https://fosstodon.org/tags/zsh" class="mention hashtag" rel="tag">#<span>zsh</span></a></p>
ǝʌɐp<p>Catching up on <a href="https://fosstodon.org/tags/harelang" class="mention hashtag" rel="tag">#<span>harelang</span></a> news. I really love how clear the for-each by reference syntax is.</p>
tomterl :emacs:<p>thp compiles against hare main branch again.</p><p>All nomem errors from strings:: are ignored for now - if the memory is that scarce (we need very little) crashing isn&#39;t the worst :blobcatgooglyshrug: </p><p><a href="https://git.sr.ht/~tomterl/thp" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="">git.sr.ht/~tomterl/thp</span><span class="invisible"></span></a></p><p><a href="https://fosstodon.org/tags/thpd" class="mention hashtag" rel="tag">#<span>thpd</span></a> <a href="https://fosstodon.org/tags/harelang" class="mention hashtag" rel="tag">#<span>harelang</span></a> <a href="https://fosstodon.org/tags/bash" class="mention hashtag" rel="tag">#<span>bash</span></a> <a href="https://fosstodon.org/tags/zsh" class="mention hashtag" rel="tag">#<span>zsh</span></a></p>
tomterl :emacs:<p>thp compiles against hare main branch as of now, and most memory leaks are fixed.</p><p><a href="https://git.sr.ht/~tomterl/thp" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="">git.sr.ht/~tomterl/thp</span><span class="invisible"></span></a></p><p><a href="https://fosstodon.org/tags/thpd" class="mention hashtag" rel="tag">#<span>thpd</span></a> <a href="https://fosstodon.org/tags/harelang" class="mention hashtag" rel="tag">#<span>harelang</span></a> <a href="https://fosstodon.org/tags/bash" class="mention hashtag" rel="tag">#<span>bash</span></a> <a href="https://fosstodon.org/tags/zsh" class="mention hashtag" rel="tag">#<span>zsh</span></a></p>
tomterl :emacs:<p>Small progress for my shell-prompt project thp.</p><p>I refactored the server code slightly and fixed config reloading in the process, i.e. &#39;thp -r&#39; works correctly now.</p><p><a href="https://git.sr.ht/~tomterl/thp" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="">git.sr.ht/~tomterl/thp</span><span class="invisible"></span></a></p><p><a href="https://fosstodon.org/tags/thpd" class="mention hashtag" rel="tag">#<span>thpd</span></a> <a href="https://fosstodon.org/tags/harelang" class="mention hashtag" rel="tag">#<span>harelang</span></a> <a href="https://fosstodon.org/tags/bash" class="mention hashtag" rel="tag">#<span>bash</span></a> <a href="https://fosstodon.org/tags/zsh" class="mention hashtag" rel="tag">#<span>zsh</span></a></p>
uncomfy<p>these students think i can&#39;t spot that they didn&#39;t really learn harelang. </p><p>there is less training data around the language so they think the AI they use to write a tutorial is reliable. </p><p><a href="https://fosstodon.org/tags/harelang" class="mention hashtag" rel="tag">#<span>harelang</span></a> <a href="https://fosstodon.org/tags/ai" class="mention hashtag" rel="tag">#<span>ai</span></a> <a href="https://fosstodon.org/tags/llm" class="mention hashtag" rel="tag">#<span>llm</span></a></p>
Ⓑⓡⓔⓣⓣ<p>The <a href="https://goto.coiloptic.org/tags/harelang" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>harelang</span></a> mailing list is quite active recently, some breaking changes being proposed (have to scroll past the 'build failure' and 'build success' reports):<br><br><a href="https://lists.sr.ht/~sircmpwn/hare-dev?page=2" rel="nofollow noopener noreferrer" target="_blank">https://lists.sr.ht/~sircmpwn/hare-dev?page=2</a><br><br>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).<br><br>Looking forward to the 1.0 version of Hare in the distant future!</p>
news<p>New project: hare-html<br><br><a href="https://sr.ht/~sircmpwn/hare-html/" rel="nofollow noopener noreferrer" target="_blank">https://sr.ht/~sircmpwn/hare-html/</a><br><br>HTML support for <a href="https://devlog.drewdevault.com/tags/harelang" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>harelang</span></a></p>
Mallory 🏳️‍⚧️:freebsd_logo:<p><span class="h-card" translate="no"><a href="https://tldr.nettime.org/@tante" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>tante</span></a></span> Hare uses the MPL/GPL licenses but upstream refuses to support proprietary OSes. See the FAQ: <a href="https://harelang.org/documentation/faq.html#will-hare-support-windows-or-macos" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">harelang.org/documentation/faq</span><span class="invisible">.html#will-hare-support-windows-or-macos</span></a></p><p><a href="https://hachyderm.io/tags/HareLang" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>HareLang</span></a></p>
betamine<p>betamine is a Minecraft beta 1.7.3 client implementation I'm working on in <a href="https://devlog.drewdevault.com/tags/harelang" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>harelang</span></a>. Here's what it looks like!</p>
Levin<p>Some thoughts about Rust, Zig, and Hare, and programming languages in general: <a href="https://levin405.neocities.org/blog/2024-11-17-programming-languages/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">levin405.neocities.org/blog/20</span><span class="invisible">24-11-17-programming-languages/</span></a></p><p><a href="https://hachyderm.io/tags/rustlang" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rustlang</span></a> <a href="https://hachyderm.io/tags/ziglang" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ziglang</span></a> <a href="https://hachyderm.io/tags/harelang" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>harelang</span></a></p>
brett<span class="h-card"><a href="https://social.treehouse.systems/users/mgorny" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@mgorny@treehouse.systems</a></span> that's onecreason I like <a href="https://swarm.coiloptic.org/federated_outer_heaven?t=harelang" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#harelang</a> which uses the simple QBE compiler<br>
ǝʌɐp<p>been too long since I&#39;ve written some <a href="https://fosstodon.org/tags/harelang" class="mention hashtag" rel="tag">#<span>harelang</span></a></p>
Armin Preiml<p>I&#39;m working on x509 path verification for hare-tls. The testcases from <a href="https://github.com/C2SP/x509-limbo" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="">github.com/C2SP/x509-limbo</span><span class="invisible"></span></a> help a lot!</p><p>931 testcase to go, not counting all the false positives 😅 </p><p>Let&#39;s see how far I come with a one-shot path traversing. But I guess I&#39;ll need to do proper backtracking for a versatile x509 implementation.</p><p><a href="https://fosstodon.org/tags/harelang" class="mention hashtag" rel="tag">#<span>harelang</span></a></p>