Show newer

@greenfork
for (let i = 0z; i < len(greetings); i += 1)
ой...
:blobcatnotlikethis:

Я недавно начал копать в сторону нового языка #hare, пока все очень интересно

The more I look into Hare the more I'm convinced it honestly may be the language I've been looking for.

Easy to grasp syntax, namespaces, proper strings, no header files.. It's "boring" and I find that really good.

I think I am joining the #Hare club. #Zig and #Odin of course interest me too, but the first one I'll go with will be Hare when making something new from scratch.

In the end languages are tools and I just want C but with quality of life features. Hare seems to nail that.

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).

#harelang #fedora

From: @omenos
fosstodon.org/@omenos/11140426

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

#programming #hare

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: codeberg.org/illiliti/hare-dns

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!

io::stream is such a good interface. I really like streams. Did I write some streams today? I must write more streams!

#harelang

@drewdevault I've recently packaged one small Hare project for Alpine and made a little contribution to it. my main language currently is Rust. impressed with how that project just builds instantly, weighs this little, *and* goes this fast through my filesystem. 4 seconds build including tests?? if I wrote it in Rust, even clap alone wouldn't get compiled in that time.

Everytime I have to work with the gpg command, I'm so close to start writing a openpgp implementation in #harelang

Harriet *inside* a terminal thanks to sixel!

(I spent way too much time coding this)
(Had to use QOI because PNG decoder was broken)

@makeworld #hare devs meanwhile being like: Well… we support martian timezones so why not lunar.

Finally the rewrite of the hare-tls record layer is showing some success. I've hacked https support into hare-http to see how it works.

Next step is to clean up the code and an initial release for the brave to try.

Note that there is no certificate validation at all. This will be my next focus, besides refactoring the other parts.

#harelang

Немного низкоуровневой экзотики от Drew DeVault

С недавно прошедшей конференции FOSDEM 2023:

The Hare programming language: Hare enthusiasts meet-up

Hare is a systems programming language designed to be simple, stable, and robust. Hare uses a static type system, manual memory management, and a minimal runtime. It is well-suited to writing operating systems, system tools, compilers, networking software, and other low-level, high performance tasks.

Introducing Helios: A small, practical microkernel

Helios is a simple microkernel written in part to demonstrate the applicability of the Hare programming language to kernels. This talk briefly explains why Helios is interesting and is a teaser for a more in-depth talk in the microkernel room tomorrow.

Introducing Helios Micokernel: A small, practical microkernel

Helios is a simple microkernel written in part to demonstrate the applicability of the Hare programming language to kernels. This talk will introduce the design and rationale for Helios, address some details of its implementation, compare it with seL4, and elaborate on the broader plans for the system.

#hare #harelang #helios #microkernel #osdev #fosdem #fosdem2023

I want to write this tiny tool where Rust feels like an overkill. C was the first thing that came to mind, but then it struck me: this is a perfect scenario to use Hare!

Show older

Hare Propaganda 🐰's choices:

Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.