Pinned toot

going to settle on learning coding with #harelang and #ziglang from now on.

#hare does not support proprietary platforms. This is somewhat sad, because I use a Mac. On the other hand, who cares about things that will rot tomorrow. Also excited to see Plan 9 and Haiku in the list of planned supported platforms.


Anyway, back to the normal schedule. #Hare seems to be the new toy in town and it looks interesting:

The fact that there is already an x86 microkernel written in Hare just blows my mind

#osdev #kernel #hare

Simple UDP listener

use fmt;
use net::udp;
use net::ip;
use strings;

export fn main() void = {
const listener = udp::listen(ip::LOCAL_V4, 8000)!;

for (true) {
let buf: [1024]u8 = [0...];
let src: ip::addr = ip::ANY_V4;
let port: u16 = 0;

let s = udp::recvfrom(listener, &buf, &src, &port)!;

let buf = buf[..s];

fmt::printfln("{}:{} says {}", ip::string(src), port, strings::fromutf8(buf))!;

#hare #harelang

let's spread #hare across the fediverse! a new programming language that looks quite appealing to work with... i'll have to give it a look once I get a basic understanding of C down.

Never been really a fan of all the new post C languages but the fact that #hare aims to target #plan9 makes it very appealing for me to jump in and give it a try.

I created a list of projects written in Hare, submissions welcome! :)

Haven't tried Hare yet? Here's an introduction:

Show more

Hare Propaganda 🐰's choices:

Qoto Mastodon

QOTO: Question Others to Teach Ourselves. A STEM-oriented instance.

An inclusive free speech instance.
All cultures and opinions welcome.
Explicit hate speech and harassment strictly forbidden.
We federate with all servers: we don't block any servers.